Class LangChain4jAgentConfiguration
java.lang.Object
org.apache.camel.component.langchain4j.agent.LangChain4jAgentConfiguration
- All Implemented Interfaces:
Cloneable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()org.apache.camel.component.langchain4j.agent.api.AgentgetAgent()The agent providing the serviceorg.apache.camel.component.langchain4j.agent.api.AgentFactoryAn agent factory creating the agentsgetTags()Tags for discovering and calling Camel route toolsvoidsetAgent(org.apache.camel.component.langchain4j.agent.api.Agent agent) voidsetAgentFactory(org.apache.camel.component.langchain4j.agent.api.AgentFactory agentFactory) void
-
Constructor Details
-
LangChain4jAgentConfiguration
public LangChain4jAgentConfiguration()
-
-
Method Details
-
getTags
Tags for discovering and calling Camel route tools- Returns:
- the tags
-
setTags
-
copy
-
getAgent
public org.apache.camel.component.langchain4j.agent.api.Agent getAgent()The agent providing the service- Returns:
- the instance of the agent providing the service
-
setAgent
public void setAgent(org.apache.camel.component.langchain4j.agent.api.Agent agent) -
getAgentFactory
public org.apache.camel.component.langchain4j.agent.api.AgentFactory getAgentFactory()An agent factory creating the agents- Returns:
- the instance of the agent factory in use
-
setAgentFactory
public void setAgentFactory(org.apache.camel.component.langchain4j.agent.api.AgentFactory agentFactory)
-