Class SpringBeanToolCallbackResolver

java.lang.Object
org.springframework.ai.tool.resolution.SpringBeanToolCallbackResolver
All Implemented Interfaces:
ToolCallbackResolver

@Deprecated(since="2.0.0", forRemoval=true) public class SpringBeanToolCallbackResolver extends Object implements ToolCallbackResolver
Deprecated, for removal: This API element is subject to removal in a future version.
since 2.0.0 in favor of using ToolCallback beans directly and retrieving them via a FunctionToolCallback.
A Spring ApplicationContext-based implementation that provides a way to retrieve a bean from the Spring context and wrap it into a ToolCallback.
Since:
1.0.0
Author:
Christian Tzolov, Christopher Smith, Sebastien Deleuze, Thomas Vitale
  • Constructor Details

    • SpringBeanToolCallbackResolver

      public SpringBeanToolCallbackResolver(org.springframework.context.support.GenericApplicationContext applicationContext, @Nullable SchemaType schemaType)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details