Class OpenAiEmbeddingProperties.Options

java.lang.Object
org.springframework.ai.model.openai.autoconfigure.OpenAiEmbeddingProperties.Options
Enclosing class:
OpenAiEmbeddingProperties

public class OpenAiEmbeddingProperties.Options extends Object
  • 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

      public void setModel(@Nullable String model)
    • 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

      public void setUser(@Nullable String user)
    • 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

      public void setEncodingFormat(@Nullable OpenAiEmbeddingOptions.EncodingFormat encodingFormat)
    • 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

      public void setDimensions(@Nullable Integer dimensions)