Uses of Class
dev.langchain4j.model.azure.AzureOpenAiStreamingChatModel.Builder
Packages that use AzureOpenAiStreamingChatModel.Builder
-
Uses of AzureOpenAiStreamingChatModel.Builder in dev.langchain4j.model.azure
Methods in dev.langchain4j.model.azure that return AzureOpenAiStreamingChatModel.BuilderModifier and TypeMethodDescriptionSets the Azure OpenAI API key.AzureOpenAiStreamingChatModel.builder()
AzureOpenAiStreamingChatModel.Builder.customHeaders
(Map<String, String> customHeaders) AzureOpenAiStreamingChatModel.Builder.dataSources
(List<com.azure.ai.openai.models.AzureChatExtensionConfiguration> dataSources) AzureOpenAiStreamingChatModel.Builder.deploymentName
(String deploymentName) Sets the deployment name in Azure OpenAI.Sets the Azure OpenAI endpoint.AzureOpenAiStreamingChatModel.Builder.enhancements
(com.azure.ai.openai.models.AzureChatEnhancementConfiguration enhancements) AzureOpenAiStreamingChatModel.Builder.frequencyPenalty
(Double frequencyPenalty) AzureOpenAiStreamingChatModel.Builder.listeners
(List<ChatModelListener> listeners) AzureOpenAiStreamingChatModel.Builder.logRequestsAndResponses
(boolean logRequestsAndResponses) AzureOpenAiStreamingChatModel.Builder.maxRetries
(Integer maxRetries) AzureOpenAiStreamingChatModel.Builder.nonAzureApiKey
(String nonAzureApiKey) Used to authenticate with the OpenAI service, instead of Azure OpenAI.AzureOpenAiStreamingChatModel.Builder.openAIAsyncClient
(com.azure.ai.openai.OpenAIAsyncClient openAIAsyncClient) Sets the Azure OpenAI client.AzureOpenAiStreamingChatModel.Builder.openAIClient
(com.azure.ai.openai.OpenAIClient openAIClient) Deprecated, for removal: This API element is subject to removal in a future version.AzureOpenAiStreamingChatModel.Builder.presencePenalty
(Double presencePenalty) AzureOpenAiStreamingChatModel.Builder.proxyOptions
(com.azure.core.http.ProxyOptions proxyOptions) AzureOpenAiStreamingChatModel.Builder.responseFormat
(com.azure.ai.openai.models.ChatCompletionsResponseFormat chatCompletionsResponseFormat) Deprecated, for removal: This API element is subject to removal in a future version.For JSON output, you can replace `.responseFormat(new ChatCompletionsJsonResponseFormat())` with a `JsonSchema` in the `ResponseFormat`.AzureOpenAiStreamingChatModel.Builder.responseFormat
(ResponseFormat responseFormat) AzureOpenAiStreamingChatModel.Builder.serviceVersion
(String serviceVersion) Sets the Azure OpenAI API service version.AzureOpenAiStreamingChatModel.Builder.strictJsonSchema
(Boolean strictJsonSchema) AzureOpenAiStreamingChatModel.Builder.supportedCapabilities
(Set<Capability> capabilities) AzureOpenAiStreamingChatModel.Builder.temperature
(Double temperature) AzureOpenAiStreamingChatModel.Builder.tokenCredential
(com.azure.core.credential.TokenCredential tokenCredential) Used to authenticate to Azure OpenAI with Azure Active Directory credentials.AzureOpenAiStreamingChatModel.Builder.useAsyncClient
(boolean useAsyncClient) Deprecated, for removal: This API element is subject to removal in a future version.If you want to continue using sync client, useAzureOpenAiChatModel
instead.AzureOpenAiStreamingChatModel.Builder.userAgentSuffix
(String userAgentSuffix)
openAIAsyncClient(OpenAIAsyncClient)
instead, if you require response streaming.