Compound Flow Attributes
Version ⚡
Metadata
Input Configuration
Workflow Configuration
Each Compound Flow must define a workflow consisting of multiple processing stages. There are two types of workflow stages:Elemental Stage Configuration
Custom Stage Configuration
Dependency Configuration
Execution Behavior
- Stages without depends_on can execute in parallel
- Stages with depends_on will wait for specified stages to complete
- Multiple stages can depend on the same previous stage
Output Configuration
Basic Flow Structure
Implementation Structure 🛠️
Compound Flows can either define custom processing logic within their workflow or integrate existing Elemental Flows, providing maximum flexibility for solving complex challenges. The workflow allows for:- Advanced Decision Making with conditional processing paths 🧠
- Custom Processing stages with direct model and prompt configurations ⚙️
- Integration of existing Elemental Flows for reusability 🔄
- Parallel execution of independent stages ⚡
- Sequential execution through depends_on configurations 🔗
- Flexible input/output mapping between stages 🔀

