Interface LangChain4jAgentEndpointBuilderFactory.LangChain4jAgentEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
LangChain4jAgentEndpointBuilderFactory
public static interface LangChain4jAgentEndpointBuilderFactory.LangChain4jAgentEndpointBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint for the LangChain4j Agent component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()The agent to use for the component.agent(org.apache.camel.component.langchain4j.agent.api.Agent agent) The agent to use for the component.agentFactory(String agentFactory) The agent factory to use for creating agents if no Agent is provided.agentFactory(org.apache.camel.component.langchain4j.agent.api.AgentFactory agentFactory) The agent factory to use for creating agents if no Agent is provided.Tags for discovering and calling Camel route tools.Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUriMethods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
-
Method Details
-
advanced
-
agent
default LangChain4jAgentEndpointBuilderFactory.LangChain4jAgentEndpointBuilder agent(org.apache.camel.component.langchain4j.agent.api.Agent agent) The agent to use for the component. The option is a:org.apache.camel.component.langchain4j.agent.api.Agenttype. Group: producer- Parameters:
agent- the value to set- Returns:
- the dsl builder
-
agent
The agent to use for the component. The option will be converted to aorg.apache.camel.component.langchain4j.agent.api.Agenttype. Group: producer- Parameters:
agent- the value to set- Returns:
- the dsl builder
-
agentFactory
default LangChain4jAgentEndpointBuilderFactory.LangChain4jAgentEndpointBuilder agentFactory(org.apache.camel.component.langchain4j.agent.api.AgentFactory agentFactory) The agent factory to use for creating agents if no Agent is provided. The option is a:org.apache.camel.component.langchain4j.agent.api.AgentFactorytype. Group: producer- Parameters:
agentFactory- the value to set- Returns:
- the dsl builder
-
agentFactory
default LangChain4jAgentEndpointBuilderFactory.LangChain4jAgentEndpointBuilder agentFactory(String agentFactory) The agent factory to use for creating agents if no Agent is provided. The option will be converted to aorg.apache.camel.component.langchain4j.agent.api.AgentFactorytype. Group: producer- Parameters:
agentFactory- the value to set- Returns:
- the dsl builder
-
tags
Tags for discovering and calling Camel route tools. The option is a:java.lang.Stringtype. Group: producer- Parameters:
tags- the value to set- Returns:
- the dsl builder
-