Class OpenAiEmbeddingProperties.Options
java.lang.Object
org.springframework.ai.model.openai.autoconfigure.OpenAiEmbeddingProperties.Options
- Enclosing class:
- OpenAiEmbeddingProperties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable IntegerDeprecated, for removal: This API element is subject to removal in a future version.@Nullable OpenAiEmbeddingOptions.EncodingFormatDeprecated, 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 StringgetUser()Deprecated, for removal: This API element is subject to removal in a future version.voidsetDimensions(@Nullable Integer dimensions) voidsetEncodingFormat(@Nullable OpenAiEmbeddingOptions.EncodingFormat encodingFormat) voidvoid
-
Constructor Details
-
Options
public Options()
-
-
Method Details
-
getModel
@DeprecatedConfigurationProperty(replacement="spring.ai.openai.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
-
getUser
@DeprecatedConfigurationProperty(replacement="spring.ai.openai.embedding.user") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable String getUser()Deprecated, for removal: This API element is subject to removal in a future version. -
setUser
-
getEncodingFormat
@DeprecatedConfigurationProperty(replacement="spring.ai.openai.embedding.encoding-format") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable OpenAiEmbeddingOptions.EncodingFormat getEncodingFormat()Deprecated, for removal: This API element is subject to removal in a future version. -
setEncodingFormat
-
getDimensions
@DeprecatedConfigurationProperty(replacement="spring.ai.openai.embedding.dimensions") @Deprecated(since="2.0.0", forRemoval=true) public @Nullable Integer getDimensions()Deprecated, for removal: This API element is subject to removal in a future version. -
setDimensions
-