sequential_workflow.py
For more information on how to use custom functions, refer to the
Workflow with custom function step page.
- Sequence of Functions and Agents - Complete workflow with functions and agents
StepInput and StepOutput provide standardized interfaces for data flow between steps.
If you use a custom function as an executor for a step, make sure its input and output types are compatible with StepInput and StepOutput so it integrates with the workflow system.Take a look at the schemas for StepInput and StepOutput.