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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
void
setBaseUrl
(String baseUrl) void
setEnabled
(boolean enabled) void
setMetadataMode
(MetadataMode metadataMode) void
setOptions
(ZhiPuAiEmbeddingOptions options)
-
Field Details
-
CONFIG_PREFIX
- See Also:
-
DEFAULT_EMBEDDING_MODEL
-
-
Constructor Details
-
ZhiPuAiEmbeddingProperties
public ZhiPuAiEmbeddingProperties()
-
-
Method Details
-
getOptions
-
setOptions
-
getMetadataMode
-
setMetadataMode
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getApiKey
-
setApiKey
-
getBaseUrl
-
setBaseUrl
-