Class ZhiPuAiEmbeddingProperties

java.lang.Object
org.springframework.ai.autoconfigure.zhipuai.ZhiPuAiEmbeddingProperties

@ConfigurationProperties("spring.ai.zhipuai.embedding") public class ZhiPuAiEmbeddingProperties extends Object
Configuration properties for ZhiPuAI embedding model.
Author:
Geng Rong
  • Field Details

    • CONFIG_PREFIX

      public static final String CONFIG_PREFIX
      See Also:
    • DEFAULT_EMBEDDING_MODEL

      public static final String DEFAULT_EMBEDDING_MODEL
  • Constructor Details

    • ZhiPuAiEmbeddingProperties

      public ZhiPuAiEmbeddingProperties()
  • Method Details

    • getOptions

      public ZhiPuAiEmbeddingOptions getOptions()
    • setOptions

      public void setOptions(ZhiPuAiEmbeddingOptions options)
    • getMetadataMode

      public MetadataMode getMetadataMode()
    • setMetadataMode

      public void setMetadataMode(MetadataMode metadataMode)
    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public void setEnabled(boolean enabled)
    • getApiKey

      public String getApiKey()
    • setApiKey

      public void setApiKey(String apiKey)
    • getBaseUrl

      public String getBaseUrl()
    • setBaseUrl

      public void setBaseUrl(String baseUrl)