Uses of Class
org.springframework.ai.chat.model.ToolContext
Package
Description
-
Uses of ToolContext in org.springframework.ai.chat.client
Modifier and TypeMethodDescription<I,
O> ChatClient.Builder ChatClient.Builder.defaultFunction
(String name, String description, BiFunction<I, ToolContext, O> function) <I,
O> ChatClient.Builder DefaultChatClientBuilder.defaultFunction
(String name, String description, BiFunction<I, ToolContext, O> biFunction) ChatClient.ChatClientRequestSpec.function
(String name, String description, BiFunction<I, ToolContext, O> function) DefaultChatClient.DefaultChatClientRequestSpec.function
(String name, String description, BiFunction<I, ToolContext, O> biFunction) -
Uses of ToolContext in org.springframework.ai.chat.model
Modifier and TypeMethodDescriptionprotected ToolResponseMessage
AbstractToolCallSupport.executeFunctions
(AssistantMessage assistantMessage, ToolContext toolContext) -
Uses of ToolContext in org.springframework.ai.model.function
Modifier and TypeMethodDescriptionFunctionCallbackWrapper.apply
(I input, ToolContext context) default String
FunctionCallback.call
(String functionInput, ToolContext tooContext) Called when a model detects and triggers a function call.Modifier and TypeMethodDescriptionstatic <I,
O> FunctionCallbackWrapper.Builder<I, O> FunctionCallbackWrapper.builder
(BiFunction<I, ToolContext, O> biFunction)