Class CamelToolSpecification
java.lang.Object
org.apache.camel.component.langchain4j.tools.spec.CamelToolSpecification
Holds ToolSpecification needed by langchain4j and the associated Camel Consumer. In this way, a specific route can be
invoked by a specific Tool
-
Constructor Summary
ConstructorsConstructorDescriptionCamelToolSpecification(dev.langchain4j.agent.tool.ToolSpecification toolSpecification, LangChain4jToolsConsumer consumer) -
Method Summary
Modifier and TypeMethodDescriptionbooleandev.langchain4j.agent.tool.ToolSpecificationinthashCode()voidsetConsumer(LangChain4jToolsConsumer consumer) voidsetToolSpecification(dev.langchain4j.agent.tool.ToolSpecification toolSpecification) toString()
-
Constructor Details
-
CamelToolSpecification
public CamelToolSpecification(dev.langchain4j.agent.tool.ToolSpecification toolSpecification, LangChain4jToolsConsumer consumer)
-
-
Method Details
-
getToolSpecification
public dev.langchain4j.agent.tool.ToolSpecification getToolSpecification() -
setToolSpecification
public void setToolSpecification(dev.langchain4j.agent.tool.ToolSpecification toolSpecification) -
getConsumer
-
setConsumer
-
equals
-
hashCode
public int hashCode() -
toString
-