-
Sets the Azure OpenAI API key.
AzureOpenAiStreamingChatModel.builder()
AzureOpenAiStreamingChatModel.Builder.dataSources(List<com.azure.ai.openai.models.AzureChatExtensionConfiguration> dataSources)
Sets the deployment name in Azure OpenAI.
Sets the Azure OpenAI endpoint.
AzureOpenAiStreamingChatModel.Builder.enhancements(com.azure.ai.openai.models.AzureChatEnhancementConfiguration enhancements)
AzureOpenAiStreamingChatModel.Builder.n(Integer n)
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.proxyOptions(com.azure.core.http.ProxyOptions proxyOptions)
AzureOpenAiStreamingChatModel.Builder.responseFormat(com.azure.ai.openai.models.ChatCompletionsResponseFormat responseFormat)
AzureOpenAiStreamingChatModel.Builder.seed(Long seed)
Sets the Azure OpenAI API service version.
AzureOpenAiStreamingChatModel.Builder.tokenCredential(com.azure.core.credential.TokenCredential tokenCredential)
Used to authenticate to Azure OpenAI with Azure Active Directory credentials.
AzureOpenAiStreamingChatModel.Builder.topP(Double topP)
AzureOpenAiStreamingChatModel.Builder.useAsyncClient(boolean useAsyncClient)
Deprecated, for removal: This API element is subject to removal in a future version.
AzureOpenAiStreamingChatModel.Builder.user(String user)
openAIAsyncClient(OpenAIAsyncClient)
instead, if you require response streaming.