Summary
Feedback that we should add a functional API for defining workflows, in addition to the current graph-based API.
Context
Currently workflows are defined using builder patterns:
workflow = (
WorkflowBuilder()
.register_executor(...)
.add_edge(...)
.build()
)
A functional API could look like:
workflow = Workflow(
executors={...},
edges=[...],
)
Action Items
Summary
Feedback that we should add a functional API for defining workflows, in addition to the current graph-based API.
Context
Currently workflows are defined using builder patterns:
A functional API could look like:
Action Items