Aan de slagGa gratis aan de slag

Streaming output and events

Deze oefening maakt deel uit van de cursus

Building Agentic Workflows with LlamaIndex

Cursus bekijken

Oefeninstructies

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.


Praktische interactieve oefening

Zet theorie om in actie met een van onze interactieve oefeningen.

Begin met trainen