Class DefaultChatClient.DefaultToolSpec
java.lang.Object
org.springframework.ai.chat.client.DefaultChatClient.DefaultToolSpec
- All Implemented Interfaces:
ChatClient.ToolSpec
- Enclosing class:
- DefaultChatClient
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadvisor(ToolAdvisor toolAdvisor) callbacks(org.springframework.ai.tool.ToolCallback... toolCallbacks) callbacks(org.springframework.ai.tool.ToolCallbackProvider... toolCallbackProvider) @Nullable ToolAdvisorList<org.springframework.ai.tool.ToolCallbackProvider>List<org.springframework.ai.tool.ToolCallback>
-
Constructor Details
-
DefaultToolSpec
public DefaultToolSpec()
-
-
Method Details
-
getContext
-
getToolCallbacks
-
getToolCallbackProviders
-
getAdvisor
-
context
- Specified by:
contextin interfaceChatClient.ToolSpec
-
context
- Specified by:
contextin interfaceChatClient.ToolSpec
-
instances
- Specified by:
instancesin interfaceChatClient.ToolSpec
-
instances
- Specified by:
instancesin interfaceChatClient.ToolSpec
-
callbacks
- Specified by:
callbacksin interfaceChatClient.ToolSpec
-
callbacks
- Specified by:
callbacksin interfaceChatClient.ToolSpec
-
callbacks
public ChatClient.ToolSpec callbacks(org.springframework.ai.tool.ToolCallbackProvider... toolCallbackProvider) - Specified by:
callbacksin interfaceChatClient.ToolSpec
-
advisor
- Specified by:
advisorin interfaceChatClient.ToolSpec
-