Class AzureOpenAiChatOptions.Builder
java.lang.Object
org.springframework.ai.azure.openai.AzureOpenAiChatOptions.Builder
- Enclosing class:
- AzureOpenAiChatOptions
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
withDeploymentName
(String deploymentName) withEnhancements
(com.azure.ai.openai.models.AzureChatEnhancementConfiguration enhancements) withFrequencyPenalty
(Double frequencyPenalty) withFunction
(String functionName) withFunctionCallbacks
(List<FunctionCallback> functionCallbacks) withFunctions
(Set<String> functionNames) withLogitBias
(Map<String, Integer> logitBias) withLogprobs
(Boolean logprobs) withMaxTokens
(Integer maxTokens) withPresencePenalty
(Double presencePenalty) withProxyToolCalls
(Boolean proxyToolCalls) withResponseFormat
(AzureOpenAiResponseFormat responseFormat) withTemperature
(Double temperature) withToolContext
(Map<String, Object> toolContext) withTopLogprobs
(Integer topLogprobs)
-
Field Details
-
options
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
withDeploymentName
-
withFrequencyPenalty
-
withLogitBias
-
withMaxTokens
-
withN
-
withPresencePenalty
-
withStop
-
withTemperature
-
withTopP
-
withUser
-
withFunctionCallbacks
public AzureOpenAiChatOptions.Builder withFunctionCallbacks(List<FunctionCallback> functionCallbacks) -
withFunctions
-
withFunction
-
withResponseFormat
-
withProxyToolCalls
-
withSeed
-
withLogprobs
-
withTopLogprobs
-
withEnhancements
public AzureOpenAiChatOptions.Builder withEnhancements(com.azure.ai.openai.models.AzureChatEnhancementConfiguration enhancements) -
withToolContext
-
build
-