Class OllamaEmbeddingProperties.Options
java.lang.Object
org.springframework.ai.model.ollama.autoconfigure.OllamaEmbeddingProperties.Options
- Enclosing class:
- OllamaEmbeddingProperties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable StringDeprecated, for removal: This API element is subject to removal in a future version.@Nullable StringgetModel()Deprecated, for removal: This API element is subject to removal in a future version.@Nullable BooleanDeprecated, for removal: This API element is subject to removal in a future version.voidsetKeepAlive(@Nullable String keepAlive) voidvoidsetTruncate(@Nullable Boolean truncate)
-
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
-
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
-
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
-