Streaming output and events
Diese Übung ist Teil des Kurses
Building Agentic Workflows with LlamaIndex
Anleitung zur Übung
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.
Interaktive Übung
In dieser interaktiven Übung kannst du die Theorie in die Praxis umsetzen.
 Übung starten
Übung starten