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