Package dev.langchain4j.agentic.workflow
Interface ConditionalAgentService<T>
- All Superinterfaces:
WorkflowService<ConditionalAgentService<T>,
T>
- All Known Implementing Classes:
ConditionalAgentServiceImpl
-
Method Summary
Modifier and TypeMethodDescriptionsubAgent
(Predicate<AgenticScope> condition, AgentExecutor agentExecutor) subAgents
(Predicate<AgenticScope> condition, Object... agents) subAgents
(Predicate<AgenticScope> condition, List<AgentExecutor> agentExecutors) Methods inherited from interface dev.langchain4j.agentic.workflow.WorkflowService
beforeCall, build, errorHandler, output, outputName, subAgents, subAgents
-
Method Details
-
subAgents
-
subAgents
ConditionalAgentService<T> subAgents(Predicate<AgenticScope> condition, List<AgentExecutor> agentExecutors) -
subAgent
-