Uses of Class
dev.langchain4j.model.azure.AzureOpenAiEmbeddingModel.Builder
-
Uses of AzureOpenAiEmbeddingModel.Builder in dev.langchain4j.model.azure
Modifier and TypeMethodDescriptionSets the Azure OpenAI API key.AzureOpenAiEmbeddingModel.builder()
AzureOpenAiEmbeddingModel.Builder.customHeaders
(Map<String, String> customHeaders) AzureOpenAiEmbeddingModel.Builder.deploymentName
(String deploymentName) Sets the deployment name in Azure OpenAI.AzureOpenAiEmbeddingModel.Builder.dimensions
(Integer dimensions) Sets the Azure OpenAI endpoint.AzureOpenAiEmbeddingModel.Builder.logRequestsAndResponses
(boolean logRequestsAndResponses) AzureOpenAiEmbeddingModel.Builder.maxRetries
(Integer maxRetries) AzureOpenAiEmbeddingModel.Builder.nonAzureApiKey
(String nonAzureApiKey) Used to authenticate with the OpenAI service, instead of Azure OpenAI.AzureOpenAiEmbeddingModel.Builder.openAIClient
(com.azure.ai.openai.OpenAIClient openAIClient) Sets the Azure OpenAI client.AzureOpenAiEmbeddingModel.Builder.proxyOptions
(com.azure.core.http.ProxyOptions proxyOptions) AzureOpenAiEmbeddingModel.Builder.serviceVersion
(String serviceVersion) Sets the Azure OpenAI API service version.AzureOpenAiEmbeddingModel.Builder.tokenCredential
(com.azure.core.credential.TokenCredential tokenCredential) Used to authenticate to Azure OpenAI with Azure Active Directory credentials.AzureOpenAiEmbeddingModel.Builder.userAgentSuffix
(String userAgentSuffix)