Uses of Class
dev.langchain4j.model.azure.AzureOpenAiAudioTranscriptionModel.Builder
Packages that use AzureOpenAiAudioTranscriptionModel.Builder
-
Uses of AzureOpenAiAudioTranscriptionModel.Builder in dev.langchain4j.model.azure
Methods in dev.langchain4j.model.azure that return AzureOpenAiAudioTranscriptionModel.BuilderModifier and TypeMethodDescriptionSets the Azure OpenAI API key.AzureOpenAiAudioTranscriptionModel.builder()
Creates a new builder for AzureOpenAiAudioTranscriptionModel.AzureOpenAiAudioTranscriptionModel.Builder.customHeaders
(Map<String, String> customHeaders) AzureOpenAiAudioTranscriptionModel.Builder.deploymentName
(String deploymentName) Sets the deployment name in Azure OpenAI.Sets the Azure OpenAI endpoint.AzureOpenAiAudioTranscriptionModel.Builder.httpClientProvider
(com.azure.core.http.HttpClientProvider httpClientProvider) Sets theHttpClientProvider
to use for creating the HTTP client to communicate with the OpenAI api.AzureOpenAiAudioTranscriptionModel.Builder.logRequestsAndResponses
(Boolean logRequestsAndResponses) AzureOpenAiAudioTranscriptionModel.Builder.maxRetries
(Integer maxRetries) AzureOpenAiAudioTranscriptionModel.Builder.nonAzureApiKey
(String nonAzureApiKey) Used to authenticate with the OpenAI service, instead of Azure OpenAI.AzureOpenAiAudioTranscriptionModel.Builder.openAIClient
(com.azure.ai.openai.OpenAIClient openAIClient) AzureOpenAiAudioTranscriptionModel.Builder.proxyOptions
(com.azure.core.http.ProxyOptions proxyOptions) AzureOpenAiAudioTranscriptionModel.Builder.responseFormat
(com.azure.ai.openai.models.AudioTranscriptionFormat format) Sets the response format for the transcription.AzureOpenAiAudioTranscriptionModel.Builder.retryOptions
(com.azure.core.http.policy.RetryOptions retryOptions) AzureOpenAiAudioTranscriptionModel.Builder.serviceVersion
(String serviceVersion) Sets the Azure OpenAI API service version.AzureOpenAiAudioTranscriptionModel.Builder.tokenCredential
(com.azure.core.credential.TokenCredential tokenCredential) Used to authenticate to Azure OpenAI with Azure Active Directory credentials.AzureOpenAiAudioTranscriptionModel.Builder.userAgentSuffix
(String userAgentSuffix) Constructors in dev.langchain4j.model.azure with parameters of type AzureOpenAiAudioTranscriptionModel.BuilderModifierConstructorDescriptionCreates a new AzureOpenAiAudioTranscriptionModel using the provided builder.