Class AzureOpenAiEmbeddingOptions
java.lang.Object
org.springframework.ai.azure.openai.AzureOpenAiEmbeddingOptions
- All Implemented Interfaces:
EmbeddingOptions
,ModelOptions
The configuration information for the embedding requests.
- Since:
- 0.8.0
- Author:
- Christian Tzolov, Thomas Vitale
-
Nested Class Summary
-
Field Summary
Fields inherited from interface org.springframework.ai.embedding.EmbeddingOptions
EMPTY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
getModel()
getUser()
void
setDeploymentName
(String deploymentName) void
setDimensions
(Integer dimensions) void
setInputType
(String inputType) void
void
com.azure.ai.openai.models.EmbeddingsOptions
toAzureOptions
(List<String> instructions)
-
Constructor Details
-
AzureOpenAiEmbeddingOptions
public AzureOpenAiEmbeddingOptions()
-
-
Method Details
-
builder
-
getModel
- Specified by:
getModel
in interfaceEmbeddingOptions
-
setModel
-
getUser
-
setUser
-
getDeploymentName
-
setDeploymentName
-
getInputType
-
setInputType
-
getDimensions
- Specified by:
getDimensions
in interfaceEmbeddingOptions
-
setDimensions
-
toAzureOptions
-