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
(Float frequencyPenalty) OpenAiChatOptions.Builder.withFunction
(String functionName) OpenAiChatOptions.Builder.withFunctionCallbacks
(List<FunctionCallback> functionCallbacks) OpenAiChatOptions.Builder.withFunctions
(Set<String> functionNames) OpenAiChatOptions.Builder.withLogitBias
(Map<String, Integer> logitBias) OpenAiChatOptions.Builder.withMaxTokens
(Integer maxTokens) OpenAiChatOptions.Builder.withPresencePenalty
(Float presencePenalty) OpenAiChatOptions.Builder.withResponseFormat
(OpenAiApi.ChatCompletionRequest.ResponseFormat responseFormat) OpenAiChatOptions.Builder.withTemperature
(Float temperature) OpenAiChatOptions.Builder.withToolChoice
(String toolChoice) OpenAiChatOptions.Builder.withTools
(List<OpenAiApi.FunctionTool> tools)