LangChain Essentials — Practice quiz
Untimed. Answers are graded when you submit, with explanations and spaced-repetition scheduling.
- Question 1easy
What is the single unifying abstraction that most LangChain components implement?
- Question 2easy
In LCEL, what does `prompt | model | parser` build?
- Question 3medium
Why do .stream and .batch work on a composed LCEL chain without extra code?
- Question 4medium
What does a plain dict like {"context": retriever, "question": RunnablePassthrough()} become in LCEL?
- Question 5medium
What is RunnablePassthrough used for?
- Question 6medium
What does RunnableWithMessageHistory add to a chain?
- Question 7hard
Why is InMemoryChatMessageHistory unsuitable for production?
- Question 8medium
In a LangChain @tool function, what becomes the tool's description that the model uses to route?
- Question 9hard
What does an AgentExecutor handle for you that you wrote by hand in earlier topics? (Select all that apply)
Select all that apply.
- Question 10hard
What is the most durable thing to learn about LangChain, given its fast-moving API?
- Question 11medium
For a single one-shot prompt (no runtime decisions), what should you use in LangChain?
- Question 12medium
What is the name of the interface (one word) that prompts, models, parsers, chains, and agents all implement in LangChain?
- Question 13hard
What acronym names LangChain's expression language for composing Runnables with the pipe operator?