AI Hints
Home›LangGraph Tutorial›Custom and Mixed Streams
LangGraph · Lesson 54 of 120

Streaming Quiz

Test yourself.

⏱ 2 min read▶ Video at 57:05🎓 Free
Watch this lesson in the LangGraph courseWatch on YouTube ↗Full LangGraph course

Let's check the streaming section. Pause after each question, and answer before I do.

Streaming Quiz
From the video: Streaming Quiz
  • Streaming quiz
  • Pause and think
  • Then check

Question 1

Which mode gives each node's name and change? Updates.

Quick check
Node name and change:

Question 2

Which mode streams the model's tokens? Messages.

Quick check
Model tokens:

Question 3

How does a node send its own progress data? With get stream writer.

Quick check
Own progress data:

Question 4

You pass two modes as a list. What does each item look like? A pair of mode and data.

Quick check
With a list of modes:

Summary

Well done. Next, a new section, pausing graphs for a human.

Key takeaways
  • updates, messages
  • get_stream_writer
  • (mode, data)
Next up: Human in the Loop — why pause