Class QianFanEmbeddingProperties
java.lang.Object
org.springframework.ai.autoconfigure.qianfan.QianFanEmbeddingProperties
@ConfigurationProperties("spring.ai.qianfan.embedding")
public class QianFanEmbeddingProperties
extends Object
Configuration properties for QianFan 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
(QianFanEmbeddingOptions options) void
setSecretKey
(String secretKey)
-
Field Details
-
CONFIG_PREFIX
- See Also:
-
-
Constructor Details
-
QianFanEmbeddingProperties
public QianFanEmbeddingProperties()
-
-
Method Details
-
getOptions
-
setOptions
-
getMetadataMode
-
setMetadataMode
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getApiKey
-
setApiKey
-
getSecretKey
-
setSecretKey
-
getBaseUrl
-
setBaseUrl
-