Class ToolCallAdvisor
java.lang.Object
org.springframework.ai.chat.client.advisor.ToolCallingAdvisor
org.springframework.ai.chat.client.advisor.ToolCallAdvisor
- All Implemented Interfaces:
Advisor,CallAdvisor,StreamAdvisor,ToolAdvisor,org.springframework.core.Ordered
Deprecated, for removal: This API element is subject to removal in a future version.
- Author:
- Christian Tzolov
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classToolCallAdvisor.Builder<T extends ToolCallAdvisor.Builder<T>>Deprecated, for removal: This API element is subject to removal in a future version.since 2.0.0 in favor ofToolCallingAdvisor.Builder. -
Field Summary
Fields inherited from class org.springframework.ai.chat.client.advisor.ToolCallingAdvisor
DEFAULT_ORDER, DEFAULT_TOOL_EXECUTION_ELIGIBILITY_CHECKER, toolCallingManagerFields inherited from interface org.springframework.ai.chat.client.advisor.api.Advisor
DEFAULT_CHAT_MEMORY_PRECEDENCE_ORDERFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedToolCallAdvisor(org.springframework.ai.model.tool.ToolCallingManager toolCallingManager, org.springframework.ai.model.tool.ToolExecutionEligibilityChecker toolExecutionEligibilityChecker, int advisorOrder, boolean conversationHistoryEnabled) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionstatic ToolCallAdvisor.Builder<?>builder()Deprecated, for removal: This API element is subject to removal in a future version.since 2.0.0 in favor ofToolCallingAdvisor.builder().Methods inherited from class org.springframework.ai.chat.client.advisor.ToolCallingAdvisor
adviseCall, adviseStream, doAfterCall, doAfterStream, doBeforeCall, doBeforeStream, doFinalizeLoop, doFinalizeLoopStream, doGetNextInstructionsForToolCall, doGetNextInstructionsForToolCallStream, doInitializeLoop, doInitializeLoopStream, getName, getOrder
-
Constructor Details
-
ToolCallAdvisor
protected ToolCallAdvisor(org.springframework.ai.model.tool.ToolCallingManager toolCallingManager, org.springframework.ai.model.tool.ToolExecutionEligibilityChecker toolExecutionEligibilityChecker, int advisorOrder, boolean conversationHistoryEnabled) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
builder
Deprecated, for removal: This API element is subject to removal in a future version.since 2.0.0 in favor ofToolCallingAdvisor.builder().
-
ToolCallingAdvisor. This is kept for backward compatibility and will be removed in a future release.