Class CamelToolSpecification

java.lang.Object
org.apache.camel.component.langchain4j.chat.tool.CamelToolSpecification

@Deprecated(since="4.8.0") public class CamelToolSpecification extends Object
Deprecated.
Holds ToolSpecification needed by langchain4j and the associated Camel Consumer. In this way, a specific route can be invoked by a specific Tool
  • Constructor Details

    • CamelToolSpecification

      public CamelToolSpecification(dev.langchain4j.agent.tool.ToolSpecification toolSpecification, LangChain4jChatConsumer consumer)
      Deprecated.
  • Method Details

    • getToolSpecification

      public dev.langchain4j.agent.tool.ToolSpecification getToolSpecification()
      Deprecated.
    • setToolSpecification

      public void setToolSpecification(dev.langchain4j.agent.tool.ToolSpecification toolSpecification)
      Deprecated.
    • getConsumer

      public LangChain4jChatConsumer getConsumer()
      Deprecated.
    • setConsumer

      public void setConsumer(LangChain4jChatConsumer consumer)
      Deprecated.
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object