AI Hints
Home›LangChain Tutorial›Inside Chains and Practice
LangChain · Lesson 27 of 120

Chains Quiz

Test yourself.

⏱ 2 min read▶ Video at 28:42🎓 Free
Watch this lesson in the LangChain courseWatch on YouTube ↗Full LangChain course

Let's review prompts and chains. Pause after each question, and answer before I do.

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

Question 1

Which symbol connects runnables into a chain? The pipe.

Quick check
Connects runnables:

Question 2

Which parser returns just the text of a reply? String output parser.

Quick check
Just the text:

Question 3

Which runs several runnables on the same input at once? Runnable parallel.

Quick check
Several at once:

Question 4

Which slot in a template holds a list of messages, like history? Messages placeholder.

Quick check
A slot for history:

Summary

Great work. Next, a new section on structured output, starting with why it matters.

Key takeaways
  • The pipe
  • StrOutputParser
  • RunnableParallel
Next up: Why Structured Output — text vs data