Class AgenticServices.DefaultDeclarativeDecisionAgentCreationContext<T>
java.lang.Object
dev.langchain4j.agentic.AgenticServices.DefaultDeclarativeDecisionAgentCreationContext<T>
- All Implemented Interfaces:
AgenticServices.DeclarativeAgentCreationContext<T>
- Enclosing class:
AgenticServices
public static final class AgenticServices.DefaultDeclarativeDecisionAgentCreationContext<T>
extends Object
implements AgenticServices.DeclarativeAgentCreationContext<T>
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultDeclarativeDecisionAgentCreationContext(Class<T> agentServiceClass, DecisionAgentBuilder<T> decisionAgentBuilder) -
Method Summary
Modifier and TypeMethodDescriptionAgentBuilder<T, ?> The builder of the AI agent being created, ornullwhen it is a decision agent.The builder of the decision agent being created, ornullwhen it is an AI agent.
-
Constructor Details
-
DefaultDeclarativeDecisionAgentCreationContext
public DefaultDeclarativeDecisionAgentCreationContext(Class<T> agentServiceClass, DecisionAgentBuilder<T> decisionAgentBuilder)
-
-
Method Details
-
agentServiceClass
- Specified by:
agentServiceClassin interfaceAgenticServices.DeclarativeAgentCreationContext<T>
-
agentBuilder
Description copied from interface:AgenticServices.DeclarativeAgentCreationContextThe builder of the AI agent being created, ornullwhen it is a decision agent.- Specified by:
agentBuilderin interfaceAgenticServices.DeclarativeAgentCreationContext<T>
-
decisionAgentBuilder
Description copied from interface:AgenticServices.DeclarativeAgentCreationContextThe builder of the decision agent being created, ornullwhen it is an AI agent.- Specified by:
decisionAgentBuilderin interfaceAgenticServices.DeclarativeAgentCreationContext<T>
-