AI Hints
Home›LangGraph Tutorial›Time Travel
LangGraph · Lesson 48 of 120

Persistence Quiz

Test yourself.

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

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

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

Question 1

What names a conversation for the checkpointer? The thread ID, in the config.

Quick check
Names a conversation:

Question 2

Which method shows a thread's saved values? Get state.

Quick check
Saved values:

Question 3

How do you replay from a past checkpoint? Invoke with none, and that checkpoint's config.

Quick check
Replay from the past:

Question 4

What does update state on a past checkpoint create? A fork.

Quick check
update_state on the past:

Summary

Well done. Next, a new section on streaming, starting with streaming values.

Key takeaways
  • thread_id
  • get_state
  • Replay and fork
Next up: Streaming Values — the whole state