Class OllamaEmbeddingProperties.Options

java.lang.Object
org.springframework.ai.model.ollama.autoconfigure.OllamaEmbeddingProperties.Options
Enclosing class:
OllamaEmbeddingProperties

public class OllamaEmbeddingProperties.Options extends Object
  • Constructor Details

    • Options

      public Options()
  • Method Details

    • getModel

      @DeprecatedConfigurationProperty(replacement="spring.ai.ollama.embedding.model") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable String getModel()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setModel

      public void setModel(@Nullable String model)
    • getTruncate

      @DeprecatedConfigurationProperty(replacement="spring.ai.ollama.embedding.truncate") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable Boolean getTruncate()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setTruncate

      public void setTruncate(@Nullable Boolean truncate)
    • getKeepAlive

      @DeprecatedConfigurationProperty(replacement="spring.ai.ollama.embedding.keep-alive") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable String getKeepAlive()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setKeepAlive

      public void setKeepAlive(@Nullable String keepAlive)