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.frequencyPenalty
(Double frequencyPenalty) OpenAiChatOptions.Builder.functionCallbacks
(List<FunctionCallback> functionCallbacks) OpenAiChatOptions.Builder.httpHeaders
(Map<String, String> httpHeaders) OpenAiChatOptions.Builder.maxCompletionTokens
(Integer maxCompletionTokens) OpenAiChatOptions.Builder.model
(OpenAiApi.ChatModel openAiChatModel) OpenAiChatOptions.Builder.outputAudio
(OpenAiApi.ChatCompletionRequest.AudioParameters audio) OpenAiChatOptions.Builder.outputModalities
(List<String> modalities) OpenAiChatOptions.Builder.parallelToolCalls
(Boolean parallelToolCalls) OpenAiChatOptions.Builder.presencePenalty
(Double presencePenalty) OpenAiChatOptions.Builder.proxyToolCalls
(Boolean proxyToolCalls) OpenAiChatOptions.Builder.responseFormat
(ResponseFormat responseFormat) OpenAiChatOptions.Builder.streamUsage
(boolean enableStreamUsage) OpenAiChatOptions.Builder.temperature
(Double temperature) OpenAiChatOptions.Builder.toolChoice
(Object toolChoice) OpenAiChatOptions.Builder.toolContext
(Map<String, Object> toolContext) OpenAiChatOptions.Builder.tools
(List<OpenAiApi.FunctionTool> tools) OpenAiChatOptions.Builder.topLogprobs
(Integer topLogprobs)