Class OpenAiEmbeddingProperties
java.lang.Object
org.springframework.ai.autoconfigure.openai.OpenAiEmbeddingProperties
@ConfigurationProperties("spring.ai.openai.embedding")
public class OpenAiEmbeddingProperties
extends Object
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
void
setBaseUrl
(String baseUrl) void
setEnabled
(boolean enabled) void
setMetadataMode
(MetadataMode metadataMode) void
setOptions
(OpenAiEmbeddingOptions options)
-
Field Details
-
CONFIG_PREFIX
- See Also:
-
DEFAULT_EMBEDDING_MODEL
- See Also:
-
-
Constructor Details
-
OpenAiEmbeddingProperties
public OpenAiEmbeddingProperties()
-
-
Method Details
-
getOptions
-
setOptions
-
getMetadataMode
-
setMetadataMode
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getApiKey
-
setApiKey
-
getBaseUrl
-
setBaseUrl
-