Uses of Interface
org.springframework.ai.model.function.FunctionCallingOptions.Builder
-
Uses of FunctionCallingOptions.Builder in org.springframework.ai.model.function
Modifier and TypeMethodDescriptionFunctionCallingOptions.builder()
DefaultFunctionCallingOptionsBuilder.frequencyPenalty
(Double frequencyPenalty) FunctionCallingOptions.Builder.frequencyPenalty
(Double frequencyPenalty) The function name to be registered with the chat model.DefaultFunctionCallingOptionsBuilder.functionCallbacks
(List<FunctionCallback> functionCallbacks) DefaultFunctionCallingOptionsBuilder.functionCallbacks
(FunctionCallback... functionCallbacks) FunctionCallingOptions.Builder.functionCallbacks
(List<FunctionCallback> functionCallbacks) The list of Function Callbacks to be registered with the Chat model.FunctionCallingOptions.Builder.functionCallbacks
(FunctionCallback... functionCallbacks) The Function Callbacks to be registered with the Chat model.Set
of function names to be registered with the Chat model.DefaultFunctionCallingOptionsBuilder.presencePenalty
(Double presencePenalty) FunctionCallingOptions.Builder.presencePenalty
(Double presencePenalty) DefaultFunctionCallingOptionsBuilder.proxyToolCalls
(Boolean proxyToolCalls) FunctionCallingOptions.Builder.proxyToolCalls
(Boolean proxyToolCalls) Boolean flag to indicate if the proxy ToolCalls is enabled.DefaultFunctionCallingOptionsBuilder.stopSequences
(List<String> stop) FunctionCallingOptions.Builder.stopSequences
(List<String> stopSequences) DefaultFunctionCallingOptionsBuilder.temperature
(Double temperature) FunctionCallingOptions.Builder.temperature
(Double temperature) DefaultFunctionCallingOptionsBuilder.toolContext
(String key, Object value) DefaultFunctionCallingOptionsBuilder.toolContext
(Map<String, Object> context) FunctionCallingOptions.Builder.toolContext
(String key, Object value) Add a specific key/value pair to the tool context.FunctionCallingOptions.Builder.toolContext
(Map<String, Object> context) Add aMap
of context values into tool context.default FunctionCallingOptions.Builder
FunctionCallingOptions.Builder.withFrequencyPenalty
(Double frequencyPenalty) Deprecated, for removal: This API element is subject to removal in a future version.default FunctionCallingOptions.Builder
FunctionCallingOptions.Builder.withFunction
(String function) Deprecated, for removal: This API element is subject to removal in a future version.Usefunction(String)
instead.default FunctionCallingOptions.Builder
FunctionCallingOptions.Builder.withFunctionCallbacks
(List<FunctionCallback> functionCallbacks) Deprecated, for removal: This API element is subject to removal in a future version.UsefunctionCallbacks(List)
instead.default FunctionCallingOptions.Builder
FunctionCallingOptions.Builder.withFunctionCallbacks
(FunctionCallback... functionCallbacks) Deprecated, for removal: This API element is subject to removal in a future version.UsefunctionCallbacks(FunctionCallback...)
instead.default FunctionCallingOptions.Builder
FunctionCallingOptions.Builder.withFunctions
(Set<String> functions) Deprecated, for removal: This API element is subject to removal in a future version.Usefunctions(Set)
instead.default FunctionCallingOptions.Builder
FunctionCallingOptions.Builder.withMaxTokens
(Integer maxTokens) Deprecated, for removal: This API element is subject to removal in a future version.UsemaxTokens(Integer)
instead.default FunctionCallingOptions.Builder
Deprecated, for removal: This API element is subject to removal in a future version.Usemodel(String)
instead.default FunctionCallingOptions.Builder
FunctionCallingOptions.Builder.withPresencePenalty
(Double presencePenalty) Deprecated, for removal: This API element is subject to removal in a future version.UsepresencePenalty(Double)
instead.default FunctionCallingOptions.Builder
FunctionCallingOptions.Builder.withStopSequences
(List<String> stopSequences) Deprecated, for removal: This API element is subject to removal in a future version.UsestopSequences(List)
instead.default FunctionCallingOptions.Builder
FunctionCallingOptions.Builder.withTemperature
(Double temperature) Deprecated, for removal: This API element is subject to removal in a future version.Usetemperature(Double)
instead.
frequencyPenalty(Double)
instead.