Uses of Class
org.springframework.ai.chat.model.ToolContext
Package
Description
Chat client.
-
Uses of ToolContext in org.springframework.ai.chat.client
Modifier and TypeMethodDescription<I,
O> ChatClient.Builder DefaultChatClientBuilder.defaultFunction
(String name, String description, BiFunction<I, ToolContext, O> biFunction) Deprecated. -
Uses of ToolContext in org.springframework.ai.chat.model
Modifier and TypeMethodDescriptionprotected ToolResponseMessage
AbstractToolCallSupport.executeFunctions
(AssistantMessage assistantMessage, ToolContext toolContext) Deprecated. -
Uses of ToolContext in org.springframework.ai.model.function
Modifier and TypeMethodDescriptionFunctionInvokingFunctionCallback.apply
(I input, ToolContext context) Deprecated.default String
FunctionCallback.call
(String functionInput, ToolContext tooContext) Deprecated.Called when a model detects and triggers a function call.MethodInvokingFunctionCallback.call
(String functionInput, ToolContext toolContext) Deprecated.Modifier and TypeMethodDescription<I,
O> FunctionCallback.FunctionInvokingSpec<I, O> DefaultFunctionCallbackBuilder.function
(String name, BiFunction<I, ToolContext, O> biFunction) Deprecated.<I,
O> FunctionCallback.FunctionInvokingSpec<I, O> FunctionCallback.Builder.function
(String name, BiFunction<I, ToolContext, O> biFunction) Deprecated.Builds aBiFunction
invokingFunctionCallback
instance. -
Uses of ToolContext in org.springframework.ai.tool.function
Modifier and TypeMethodDescriptionFunctionToolCallback.call
(String toolInput, ToolContext toolContext) Modifier and TypeMethodDescriptionstatic <I,
O> FunctionToolCallback.Builder<I, O> FunctionToolCallback.builder
(String name, BiFunction<I, ToolContext, O> function) Build aFunctionToolCallback
from aBiFunction
.ModifierConstructorDescriptionFunctionToolCallback
(ToolDefinition toolDefinition, ToolMetadata toolMetadata, Type toolInputType, BiFunction<I, ToolContext, O> toolFunction, ToolCallResultConverter toolCallResultConverter) -
Uses of ToolContext in org.springframework.ai.tool.method
Modifier and TypeMethodDescriptionMethodToolCallback.call
(String toolInput, ToolContext toolContext)