Package dev.langchain4j.agentic.workflow
Interface WorkflowService<T,W>
- All Known Subinterfaces:
ConditionalAgentService<T>
,LoopAgentService<T>
,ParallelAgentService<T>
,SequentialAgentService<T>
- All Known Implementing Classes:
ConditionalAgentServiceImpl
,LoopAgentServiceImpl
,ParallelAgentServiceImpl
,SequentialAgentServiceImpl
public interface WorkflowService<T,W>
-
Method Summary
Modifier and TypeMethodDescriptionbeforeCall
(Consumer<AgenticScope> beforeCall) build()
errorHandler
(Function<ErrorContext, ErrorRecoveryResult> errorHandler) output
(Function<AgenticScope, Object> output) outputName
(String outputName) subAgents
(List<AgentExecutor> agentExecutors)
-
Method Details
-
build
W build() -
subAgents
-
subAgents
-
beforeCall
-
outputName
-
output
-
errorHandler
-