IniziaInizia gratis

Designing multi-step workflows with custom events

Questo esercizio fa parte del corso

Building Agentic Workflows with LlamaIndex

Visualizza il corso

Istruzioni dell'esercizio

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 a FirstEvent and returns a SecondEvent.
  • Using looping, add a LoopEvent to 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.


Esercizio pratico interattivo

Passa dalla teoria alla pratica con uno dei nostri esercizi interattivi

Inizia esercizio