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
setEmbeddingsPath
(String embeddingsPath) void
setEnabled
(boolean enabled) void
setMetadataMode
(MetadataMode metadataMode) void
setOptions
(OpenAiEmbeddingOptions options) void
setOrganizationId
(String organizationId) void
setProjectId
(String projectId)
-
Field Details
-
CONFIG_PREFIX
- See Also:
-
DEFAULT_EMBEDDING_MODEL
- See Also:
-
DEFAULT_EMBEDDINGS_PATH
- See Also:
-
-
Constructor Details
-
OpenAiEmbeddingProperties
public OpenAiEmbeddingProperties()
-
-
Method Details
-
getOptions
-
setOptions
-
getMetadataMode
-
setMetadataMode
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getEmbeddingsPath
-
setEmbeddingsPath
-
getApiKey
-
setApiKey
-
getBaseUrl
-
setBaseUrl
-
getProjectId
-
setProjectId
-
getOrganizationId
-
setOrganizationId
-