Designing multi-step workflows with custom events
Cet exercice fait partie du cours
<cours>Building Agentic Workflows with LlamaIndex</cours>Instructions de l’exercice
Your workflow is leveling up—add multiple steps and looping logic so it can recover, retry, and adapt just like a real process.
- Define
step_two()as a step that takes aFirstEventand returns aSecondEvent. - Using looping, add a
LoopEventto the second step of the workflow.
Note: If you’re running DataLab in Restricted Mode, this exercise isn’t supported yet. We’re actively working on making it available in the future.
Exercice interactif pratique
Transformez la théorie en action avec l’un de nos exercices interactifs
Commencer l’exercice