Class AzureOpenAiEmbeddingOptions.Builder
java.lang.Object
org.springframework.ai.azure.openai.AzureOpenAiEmbeddingOptions.Builder
- Enclosing class:
- AzureOpenAiEmbeddingOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
deploymentName
(String model) dimensions
(Integer dimensions) from
(com.azure.ai.openai.models.EmbeddingsOptions azureOptions) from
(AzureOpenAiEmbeddingOptions fromOptions) merge
(EmbeddingOptions from) withDeploymentName
(String model) Deprecated, for removal: This API element is subject to removal in a future version.withDimensions
(Integer dimensions) Deprecated, for removal: This API element is subject to removal in a future version.usedimensions(Integer)
instead.withInputType
(String inputType) Deprecated, for removal: This API element is subject to removal in a future version.useinputType(String)
instead.Deprecated, for removal: This API element is subject to removal in a future version.useuser(String)
instead.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
from
-
merge
-
from
public AzureOpenAiEmbeddingOptions.Builder from(com.azure.ai.openai.models.EmbeddingsOptions azureOptions) -
user
-
deploymentName
-
inputType
-
dimensions
-
withUser
@Deprecated(forRemoval=true, since="1.0.0-M5") public AzureOpenAiEmbeddingOptions.Builder withUser(String user) Deprecated, for removal: This API element is subject to removal in a future version.useuser(String)
instead. -
withDeploymentName
@Deprecated(forRemoval=true, since="1.0.0-M5") public AzureOpenAiEmbeddingOptions.Builder withDeploymentName(String model) Deprecated, for removal: This API element is subject to removal in a future version.usedeploymentName(String)
instead. -
withInputType
@Deprecated(forRemoval=true, since="1.0.0-M5") public AzureOpenAiEmbeddingOptions.Builder withInputType(String inputType) Deprecated, for removal: This API element is subject to removal in a future version.useinputType(String)
instead. -
withDimensions
@Deprecated(forRemoval=true, since="1.0.0-M5") public AzureOpenAiEmbeddingOptions.Builder withDimensions(Integer dimensions) Deprecated, for removal: This API element is subject to removal in a future version.usedimensions(Integer)
instead. -
build
-
deploymentName(String)
instead.