Class OpenAiEmbeddingProperties.Options

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

public class OpenAiEmbeddingProperties.Options extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable Integer
    Deprecated, for removal: This API element is subject to removal in a future version.
    @Nullable org.springframework.ai.openai.OpenAiEmbeddingOptions.EncodingFormat
    Deprecated, for removal: This API element is subject to removal in a future version.
    @Nullable String
    Deprecated, for removal: This API element is subject to removal in a future version.
    @Nullable String
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    setDimensions(@Nullable Integer dimensions)
     
    void
    setEncodingFormat(@Nullable org.springframework.ai.openai.OpenAiEmbeddingOptions.EncodingFormat encodingFormat)
     
    void
    setModel(@Nullable String model)
     
    void
    setUser(@Nullable String user)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 org.springframework.ai.openai.OpenAiEmbeddingOptions.EncodingFormat getEncodingFormat()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setEncodingFormat

      public void setEncodingFormat(@Nullable org.springframework.ai.openai.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)