You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
5.`workflow_aggregator_ranked.py` (generate N candidates — score & rank)
11
-
6.`workflow_rag_ingest_parallel.py` (parallelized version of `workflow_rag_ingest.py`)
12
11
7.`workflow_multi_selection_edge_group.py`
13
12
8.`workflow_agents_concurrent.py`
14
13
9.`workflow_concurrent_custom_aggregator.py`
@@ -63,16 +62,6 @@ This plan is organized by proposed example file. For each file: (1) source examp
63
62
- Aggregator (Agent or Executor) scores each proposal on criteria (creativity, memorability, brand fit) and yields a ranked list.
64
63
- Teaching point: aggregation can be evaluative — the fan-in step judges via LLM, not just collects. Pattern applies to "generate N candidates, pick the best."
- Docs: Edges and parallelism concepts (`add_fan_out_edges`, `add_fan_in_edges`)
71
-
-**Workflow accomplishes**
72
-
- Parallelizes embedding generation by fan-out over chunk batches and fan-in aggregation of embedded chunks.
73
-
- Keeps the same business goal as the current ingest demo (RAG ingestion) while changing the execution model.
74
-
- Provides a direct comparison against `workflow_agents_concurrent.py` to show domain-level parallelism (specialist perspectives) vs data-level parallelism (batch processing).
- Docs: Edges and parallelism concepts (`add_fan_out_edges`, `add_fan_in_edges`)
138
+
-**Workflow accomplishes**
139
+
- Parallelizes embedding generation by fan-out over chunk batches and fan-in aggregation of embedded chunks.
140
+
- Keeps the same business goal as the current ingest demo (RAG ingestion) while changing the execution model.
141
+
- Provides a direct comparison against `workflow_agents_concurrent.py` to show domain-level parallelism (specialist perspectives) vs data-level parallelism (batch processing).
142
+
143
+
144
144
## Scope Boundaries
145
145
- Include only built-in workflow builder content for Session 5.
146
146
- Exclude HITL-focused demos (next session).
@@ -150,7 +150,7 @@ This plan is organized by proposed example file. For each file: (1) source examp
150
150
## Verification Plan
151
151
1. Smoke run each new script with standard provider env pattern used by current examples.
152
152
2. Verify each script’s terminal output demonstrates the intended teaching point above.
153
-
3. Run an explicit A/B comparison between `workflow_agents_concurrent.py` and `workflow_rag_ingest_parallel.py` and capture whether the audience sees a clear difference in orchestration pattern (specialist-agent parallelism vs data-pipeline parallelism).
154
153
4. Rehearse in talk order with one fallback per segment (if a demo fails, which demo replaces it).
154
+
155
155
## Open Questions for MAF Team
156
156
-**When is `output_executors` needed/recommended?** By default, `WorkflowBuilder` surfaces all outputs from all executors as events. If you only want outputs from certain executors, use `output_executors`. In our fan-out/fan-in demos, without `output_executors=[<aggregator>]`, the intermediate `Agent` nodes' `AgentResponse` objects leak into `get_outputs()` alongside the aggregator's output. We added `output_executors` to every fan-out/fan-in demo. Worth a slide callout — possibly on the same slide as the aggregation patterns table.
0 commit comments