LangChain Essentials — Final Exam

13 questions · pass mark 80% · 20 minute limit. The timer auto-submits at zero.

Time remaining: 20:00
  1. Question 1easy

    What is the single unifying abstraction that most LangChain components implement?

  2. Question 2easy

    In LCEL, what does `prompt | model | parser` build?

  3. Question 3medium

    Why do .stream and .batch work on a composed LCEL chain without extra code?

  4. Question 4medium

    What does a plain dict like {"context": retriever, "question": RunnablePassthrough()} become in LCEL?

  5. Question 5medium

    What is RunnablePassthrough used for?

  6. Question 6medium

    What does RunnableWithMessageHistory add to a chain?

  7. Question 7hard

    Why is InMemoryChatMessageHistory unsuitable for production?

  8. Question 8medium

    In a LangChain @tool function, what becomes the tool's description that the model uses to route?

  9. 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.

  10. Question 10hard

    What is the most durable thing to learn about LangChain, given its fast-moving API?

  11. Question 11medium

    For a single one-shot prompt (no runtime decisions), what should you use in LangChain?

  12. Question 12medium

    What is the name of the interface (one word) that prompts, models, parsers, chains, and agents all implement in LangChain?

  13. Question 13hard

    What acronym names LangChain's expression language for composing Runnables with the pipe operator?

0 / 13 answered