Uses of Interface
org.springframework.ai.model.tool.ToolCallingChatOptions.Builder
Packages that use ToolCallingChatOptions.Builder
-
Uses of ToolCallingChatOptions.Builder in org.springframework.ai.model.tool
Classes in org.springframework.ai.model.tool that implement ToolCallingChatOptions.BuilderModifier and TypeClassDescriptionstatic class
Default implementation ofToolCallingChatOptions.Builder
.Methods in org.springframework.ai.model.tool that return ToolCallingChatOptions.BuilderModifier and TypeMethodDescriptionToolCallingChatOptions.builder()
A builder to create a newToolCallingChatOptions
instance.DefaultToolCallingChatOptions.Builder.frequencyPenalty
(Double frequencyPenalty) ToolCallingChatOptions.Builder.frequencyPenalty
(Double frequencyPenalty) DefaultToolCallingChatOptions.Builder.internalToolExecutionEnabled
(Boolean internalToolExecutionEnabled) ToolCallingChatOptions.Builder.internalToolExecutionEnabled
(Boolean internalToolExecutionEnabled) Whether theChatModel
is responsible for executing the tools requested by the model or if the tools should be executed directly by the caller.DefaultToolCallingChatOptions.Builder.presencePenalty
(Double presencePenalty) ToolCallingChatOptions.Builder.presencePenalty
(Double presencePenalty) 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> toolCallbacks) ToolCallbacks to be registered with the ChatModel.ToolCallingChatOptions.Builder.toolCallbacks
(ToolCallback... toolCallbacks) ToolCallbacks to be registered with the ChatModel.DefaultToolCallingChatOptions.Builder.toolContext
(String key, Object value) DefaultToolCallingChatOptions.Builder.toolContext
(Map<String, Object> context) ToolCallingChatOptions.Builder.toolContext
(String key, Object value) Add a specific key/value pair to the tool context.ToolCallingChatOptions.Builder.toolContext
(Map<String, Object> context) Add aMap
of context values into tool context.Names of the tools to register with the ChatModel.Names of the tools to register with the ChatModel.