Uses of Interface
org.springframework.ai.model.tool.ToolCallingChatOptions.Builder
-
Uses of ToolCallingChatOptions.Builder in org.springframework.ai.model.tool
Modifier and TypeClassDescriptionstatic class
Default implementation ofToolCallingChatOptions.Builder
.Modifier and TypeMethodDescriptionToolCallingChatOptions.builder()
A builder to create a newToolCallingChatOptions
instance.DefaultToolCallingChatOptions.Builder.frequencyPenalty
(Double frequencyPenalty) ToolCallingChatOptions.Builder.frequencyPenalty
(Double frequencyPenalty) Deprecated.Deprecated.DefaultToolCallingChatOptions.Builder.functionCallbacks
(List<FunctionCallback> functionCallbacks) Deprecated.DefaultToolCallingChatOptions.Builder.functionCallbacks
(FunctionCallback... functionCallbacks) Deprecated.ToolCallingChatOptions.Builder.functionCallbacks
(List<FunctionCallback> functionCallbacks) Deprecated.ToolCallingChatOptions.Builder.functionCallbacks
(FunctionCallback... functionCallbacks) Deprecated.Deprecated.Deprecated.DefaultToolCallingChatOptions.Builder.presencePenalty
(Double presencePenalty) ToolCallingChatOptions.Builder.presencePenalty
(Double presencePenalty) DefaultToolCallingChatOptions.Builder.proxyToolCalls
(Boolean proxyToolCalls) Deprecated.ToolCallingChatOptions.Builder.proxyToolCalls
(Boolean proxyToolCalls) Deprecated.DefaultToolCallingChatOptions.Builder.stopSequences
(List<String> stopSequences) ToolCallingChatOptions.Builder.stopSequences
(List<String> stopSequences) DefaultToolCallingChatOptions.Builder.temperature
(Double temperature) ToolCallingChatOptions.Builder.temperature
(Double temperature) DefaultToolCallingChatOptions.Builder.toolCallbacks
(List<ToolCallback> toolCallbacks) DefaultToolCallingChatOptions.Builder.toolCallbacks
(ToolCallback... toolCallbacks) ToolCallingChatOptions.Builder.toolCallbacks
(List<ToolCallback> functionCallbacks) ToolCallbacks to be registered with the ChatModel.ToolCallingChatOptions.Builder.toolCallbacks
(ToolCallback... functionCallbacks) ToolCallbacks to be registered with the ChatModel.DefaultToolCallingChatOptions.Builder.toolCallReturnDirect
(Boolean toolCallReturnDirect) ToolCallingChatOptions.Builder.toolCallReturnDirect
(Boolean toolCallReturnDirect) Whether the result of each tool call should be returned directly or passed back to the model.DefaultToolCallingChatOptions.Builder.toolContext
(String key, Object value) DefaultToolCallingChatOptions.Builder.toolContext
(Map<String, Object> context) ToolCallingChatOptions.Builder.toolContext
(String key, Object value) ToolCallingChatOptions.Builder.toolContext
(Map<String, Object> context) Names of the tools to register with the ChatModel.Names of the tools to register with the ChatModel.