Class SpringToolCallbackAdapterKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static ToolCallback toSpringToolCallback(Tool $self) Extension function to convert an Embabel Tool to a Spring AI ToolCallback.
      final static List<ToolCallback> toSpringToolCallbacks(List<Tool> $self) Extension function to convert a list of Embabel Tools to Spring AI ToolCallbacks.
      final static Tool toEmbabelTool(ToolCallback $self) Extension function to wrap a Spring AI ToolCallback as an Embabel Tool.
      final static List<Tool> toEmbabelTools(List<ToolCallback> $self) Extension function to wrap a list of Spring AI ToolCallbacks as Embabel Tools.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • toSpringToolCallback

         final static ToolCallback toSpringToolCallback(Tool $self)

        Extension function to convert an Embabel Tool to a Spring AI ToolCallback.

      • toSpringToolCallbacks

         final static List<ToolCallback> toSpringToolCallbacks(List<Tool> $self)

        Extension function to convert a list of Embabel Tools to Spring AI ToolCallbacks.

      • toEmbabelTool

         final static Tool toEmbabelTool(ToolCallback $self)

        Extension function to wrap a Spring AI ToolCallback as an Embabel Tool.

      • toEmbabelTools

         final static List<Tool> toEmbabelTools(List<ToolCallback> $self)

        Extension function to wrap a list of Spring AI ToolCallbacks as Embabel Tools.