ComenzarEmpieza gratis

Streaming output and events

Este ejercicio forma parte del curso

Building Agentic Workflows with LlamaIndex

Ver curso

Instrucciones del ejercicio

Make the agent’s thoughts visible by streaming intermediate AgentStream events to the notebook output.

  • Iterate over the event handler using .stream_events() to get the streaming output.
  • Print details on the output if an output is produced.


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.


Ejercicio interactivo práctico

Pon en práctica la teoría con uno de nuestros ejercicios interactivos

Empezar ejercicio