Class LegacyToolCallingManager
java.lang.Object
org.springframework.ai.model.tool.LegacyToolCallingManager
- All Implemented Interfaces:
ToolCallingManager
Deprecated.
Implementation of
ToolCallingManager
supporting the migration from
AbstractToolCallSupport
to ToolCallingManager
and ensuring AI
compatibility for all the ChatModel implementations.- Since:
- 1.0.0
- Author:
- Thomas Vitale
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionLegacyToolCallingManager
(FunctionCallbackResolver functionCallbackResolver, List<FunctionCallback> functionCallbacks) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Deprecated.Create a defaultToolCallingManager
builder.executeToolCalls
(Prompt prompt, ChatResponse chatResponse) Deprecated.Execute the tool calls requested by the model.resolveToolDefinitions
(ToolCallingChatOptions chatOptions) Deprecated.Resolve the tool definitions from the model's tool calling options.
-
Constructor Details
-
LegacyToolCallingManager
public LegacyToolCallingManager(@Nullable FunctionCallbackResolver functionCallbackResolver, List<FunctionCallback> functionCallbacks) Deprecated.
-
-
Method Details
-
resolveToolDefinitions
Deprecated.Description copied from interface:ToolCallingManager
Resolve the tool definitions from the model's tool calling options.- Specified by:
resolveToolDefinitions
in interfaceToolCallingManager
-
executeToolCalls
Deprecated.Description copied from interface:ToolCallingManager
Execute the tool calls requested by the model.- Specified by:
executeToolCalls
in interfaceToolCallingManager
-
builder
Deprecated.Description copied from interface:ToolCallingManager
Create a defaultToolCallingManager
builder.
-
AbstractToolCallSupport
. It will be removed in the next milestone.