LangChain · Lesson 27 of 120
Chains Quiz
Test yourself.
⏱ 2 min read▶ Video at 28:42🎓 Free
Let's review prompts and chains. Pause after each question, and answer before I do.
From the video: Chains Quiz- Chains quiz
- Pause and think
- Then check
Which symbol connects runnables into a chain? The pipe.
Quick check
Connects runnables:
Which parser returns just the text of a reply? String output parser.
Quick check
Just the text:
Which runs several runnables on the same input at once? Runnable parallel.
Quick check
Several at once:
Which slot in a template holds a list of messages, like history? Messages placeholder.
Quick check
A slot for history:
Great work. Next, a new section on structured output, starting with why it matters.
Key takeaways- The pipe
- StrOutputParser
- RunnableParallel