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) OpenAiChatOptions.Builder.withFrequencyPenalty
(Double frequencyPenalty) Deprecated, for removal: This API element is subject to removal in a future version.OpenAiChatOptions.Builder.withFunction
(String functionName) Deprecated, for removal: This API element is subject to removal in a future version.usefunction(String)
instead.OpenAiChatOptions.Builder.withFunctionCallbacks
(List<FunctionCallback> functionCallbacks) Deprecated, for removal: This API element is subject to removal in a future version.usefunctionCallbacks(List)
instead.OpenAiChatOptions.Builder.withFunctions
(Set<String> functionNames) Deprecated, for removal: This API element is subject to removal in a future version.usefunctions(Set)
instead.OpenAiChatOptions.Builder.withHttpHeaders
(Map<String, String> httpHeaders) Deprecated, for removal: This API element is subject to removal in a future version.usehttpHeaders(Map)
instead.OpenAiChatOptions.Builder.withLogitBias
(Map<String, Integer> logitBias) Deprecated, for removal: This API element is subject to removal in a future version.uselogitBias(Map)
instead.OpenAiChatOptions.Builder.withLogprobs
(Boolean logprobs) Deprecated, for removal: This API element is subject to removal in a future version.uselogprobs(Boolean)
instead.OpenAiChatOptions.Builder.withMaxCompletionTokens
(Integer maxCompletionTokens) Deprecated, for removal: This API element is subject to removal in a future version.usemaxCompletionTokens(Integer)
instead.OpenAiChatOptions.Builder.withMaxTokens
(Integer maxTokens) Deprecated, for removal: This API element is subject to removal in a future version.usemaxTokens(Integer)
instead.Deprecated, for removal: This API element is subject to removal in a future version.usemodel(String)
instead.OpenAiChatOptions.Builder.withModel
(OpenAiApi.ChatModel openAiChatModel) Deprecated, for removal: This API element is subject to removal in a future version.usemodel(OpenAiApi.ChatModel)
instead.Deprecated, for removal: This API element is subject to removal in a future version.useN(Integer)
instead.OpenAiChatOptions.Builder.withOutputAudio
(OpenAiApi.ChatCompletionRequest.AudioParameters audio) Deprecated, for removal: This API element is subject to removal in a future version.useoutputAudio(AudioParameters)
instead.OpenAiChatOptions.Builder.withOutputModalities
(List<String> modalities) Deprecated, for removal: This API element is subject to removal in a future version.useoutputModalities(List)
instead.OpenAiChatOptions.Builder.withParallelToolCalls
(Boolean parallelToolCalls) Deprecated, for removal: This API element is subject to removal in a future version.useparallelToolCalls(Boolean)
instead.OpenAiChatOptions.Builder.withPresencePenalty
(Double presencePenalty) Deprecated, for removal: This API element is subject to removal in a future version.usepresencePenalty(Double)
instead.OpenAiChatOptions.Builder.withProxyToolCalls
(Boolean proxyToolCalls) Deprecated, for removal: This API element is subject to removal in a future version.useproxyToolCalls(Boolean)
instead.OpenAiChatOptions.Builder.withResponseFormat
(ResponseFormat responseFormat) Deprecated, for removal: This API element is subject to removal in a future version.useresponseFormat(ResponseFormat)
instead.Deprecated, for removal: This API element is subject to removal in a future version.useseed(Integer)
instead.Deprecated, for removal: This API element is subject to removal in a future version.usestop(List)
instead.OpenAiChatOptions.Builder.withStreamUsage
(boolean enableStreamUsage) Deprecated, for removal: This API element is subject to removal in a future version.usestreamUsage(boolean)
instead.OpenAiChatOptions.Builder.withTemperature
(Double temperature) Deprecated, for removal: This API element is subject to removal in a future version.usetemperature(Double)
instead.OpenAiChatOptions.Builder.withToolChoice
(Object toolChoice) Deprecated, for removal: This API element is subject to removal in a future version.usetoolChoice(Object)
instead.OpenAiChatOptions.Builder.withToolContext
(Map<String, Object> toolContext) Deprecated, for removal: This API element is subject to removal in a future version.usetoolContext(Map)
instead.OpenAiChatOptions.Builder.withTools
(List<OpenAiApi.FunctionTool> tools) Deprecated, for removal: This API element is subject to removal in a future version.usetools(List)
instead.OpenAiChatOptions.Builder.withTopLogprobs
(Integer topLogprobs) Deprecated, for removal: This API element is subject to removal in a future version.usetopLogprobs(Integer)
instead.Deprecated, for removal: This API element is subject to removal in a future version.usetopP(Double)
instead.Deprecated, for removal: This API element is subject to removal in a future version.useuser(String)
instead.
frequencyPenalty(Double)
instead.