Uses of Class
dev.langchain4j.model.azure.AzureOpenAiImageModel.Builder
Packages that use AzureOpenAiImageModel.Builder
-
Uses of AzureOpenAiImageModel.Builder in dev.langchain4j.model.azure
Methods in dev.langchain4j.model.azure that return AzureOpenAiImageModel.BuilderModifier and TypeMethodDescriptionSets the Azure OpenAI API key.AzureOpenAiImageModel.builder()
AzureOpenAiImageModel.Builder.customHeaders
(Map<String, String> customHeaders) AzureOpenAiImageModel.Builder.deploymentName
(String deploymentName) Sets the deployment name in Azure OpenAI.Sets the Azure OpenAI endpoint.AzureOpenAiImageModel.Builder.logRequestsAndResponses
(Boolean logRequestsAndResponses) AzureOpenAiImageModel.Builder.maxRetries
(Integer maxRetries) AzureOpenAiImageModel.Builder.nonAzureApiKey
(String nonAzureApiKey) Used to authenticate with the OpenAI service, instead of Azure OpenAI.AzureOpenAiImageModel.Builder.openAIClient
(com.azure.ai.openai.OpenAIClient openAIClient) AzureOpenAiImageModel.Builder.proxyOptions
(com.azure.core.http.ProxyOptions proxyOptions) AzureOpenAiImageModel.Builder.quality
(com.azure.ai.openai.models.ImageGenerationQuality imageGenerationQuality) Sets the quality of the image, using the ImageGenerationQuality enum.Sets the quality of the image.AzureOpenAiImageModel.Builder.responseFormat
(com.azure.ai.openai.models.ImageGenerationResponseFormat imageGenerationResponseFormat) Sets the response format of the image, using the ImageGenerationResponseFormat enum.AzureOpenAiImageModel.Builder.responseFormat
(String responseFormat) Sets the response format of the image.AzureOpenAiImageModel.Builder.serviceVersion
(String serviceVersion) Sets the Azure OpenAI API service version.AzureOpenAiImageModel.Builder.size
(com.azure.ai.openai.models.ImageSize imageSize) Sets the size of the image, using the ImageSize enum.Sets the size of the image.AzureOpenAiImageModel.Builder.style
(com.azure.ai.openai.models.ImageGenerationStyle imageGenerationStyle) Sets the style of the image, using the ImageGenerationStyle enum.Sets the style of the image.AzureOpenAiImageModel.Builder.tokenCredential
(com.azure.core.credential.TokenCredential tokenCredential) Used to authenticate to Azure OpenAI with Azure Active Directory credentials.Sets the user of the image.AzureOpenAiImageModel.Builder.userAgentSuffix
(String userAgentSuffix)