Class OpenAiSdkEmbeddingProperties

java.lang.Object
org.springframework.ai.openaisdk.AbstractOpenAiSdkOptions
org.springframework.ai.model.openaisdk.autoconfigure.OpenAiSdkEmbeddingProperties

@ConfigurationProperties("spring.ai.openai-sdk.embedding") public class OpenAiSdkEmbeddingProperties extends org.springframework.ai.openaisdk.AbstractOpenAiSdkOptions
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.ai.document.MetadataMode
     
    org.springframework.ai.openaisdk.OpenAiSdkEmbeddingOptions
     
    void
    setMetadataMode(org.springframework.ai.document.MetadataMode metadataMode)
     

    Methods inherited from class org.springframework.ai.openaisdk.AbstractOpenAiSdkOptions

    getApiKey, getBaseUrl, getCredential, getCustomHeaders, getDeploymentName, getMaxRetries, getMicrosoftDeploymentName, getMicrosoftFoundryServiceVersion, getModel, getOrganizationId, getProxy, getTimeout, isGitHubModels, isMicrosoftFoundry, setApiKey, setBaseUrl, setCredential, setCustomHeaders, setDeploymentName, setGitHubModels, setMaxRetries, setMicrosoftDeploymentName, setMicrosoftFoundry, setMicrosoftFoundryServiceVersion, setModel, setOrganizationId, setProxy, setTimeout

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • CONFIG_PREFIX

      public static final String CONFIG_PREFIX
      See Also:
    • DEFAULT_EMBEDDING_MODEL

      public static final String DEFAULT_EMBEDDING_MODEL
  • Constructor Details

    • OpenAiSdkEmbeddingProperties

      public OpenAiSdkEmbeddingProperties()
  • Method Details

    • getOptions

      public org.springframework.ai.openaisdk.OpenAiSdkEmbeddingOptions getOptions()
    • getMetadataMode

      public org.springframework.ai.document.MetadataMode getMetadataMode()
    • setMetadataMode

      public void setMetadataMode(org.springframework.ai.document.MetadataMode metadataMode)