Uses of Class
org.springframework.ai.openai.OpenAiChatOptions.Builder
-
Uses of OpenAiChatOptions.Builder in org.springframework.ai.openai
Modifier and TypeMethodDescriptionstatic OpenAiChatOptions.Builder
OpenAiChatOptions.builder()
OpenAiChatOptions.Builder.withFrequencyPenalty
(Double frequencyPenalty) OpenAiChatOptions.Builder.withFunction
(String functionName) OpenAiChatOptions.Builder.withFunctionCallbacks
(List<FunctionCallback> functionCallbacks) OpenAiChatOptions.Builder.withFunctions
(Set<String> functionNames) OpenAiChatOptions.Builder.withHttpHeaders
(Map<String, String> httpHeaders) OpenAiChatOptions.Builder.withLogitBias
(Map<String, Integer> logitBias) OpenAiChatOptions.Builder.withLogprobs
(Boolean logprobs) OpenAiChatOptions.Builder.withMaxCompletionTokens
(Integer maxCompletionTokens) OpenAiChatOptions.Builder.withMaxTokens
(Integer maxTokens) OpenAiChatOptions.Builder.withModel
(OpenAiApi.ChatModel openAiChatModel) OpenAiChatOptions.Builder.withParallelToolCalls
(Boolean parallelToolCalls) OpenAiChatOptions.Builder.withPresencePenalty
(Double presencePenalty) OpenAiChatOptions.Builder.withProxyToolCalls
(Boolean proxyToolCalls) OpenAiChatOptions.Builder.withResponseFormat
(OpenAiApi.ChatCompletionRequest.ResponseFormat responseFormat) OpenAiChatOptions.Builder.withStreamUsage
(boolean enableStreamUsage) OpenAiChatOptions.Builder.withTemperature
(Double temperature) OpenAiChatOptions.Builder.withToolChoice
(String toolChoice) OpenAiChatOptions.Builder.withToolContext
(Map<String, Object> toolContext) OpenAiChatOptions.Builder.withTools
(List<OpenAiApi.FunctionTool> tools) OpenAiChatOptions.Builder.withTopLogprobs
(Integer topLogprobs)