RAG Frameworks — LangChain & LlamaIndex — Practice quiz

Untimed. Answers are graded when you submit, with explanations and spaced-repetition scheduling.

  1. Question 1easy

    Fundamentally, what does a RAG framework like LangChain or LlamaIndex provide over a hand-rolled pipeline?

  2. Question 2easy

    LlamaIndex is best characterized as:

  3. Question 3easy

    In LangChain's LCEL, what does the `|` operator mean in `retriever | prompt | llm`?

  4. Question 4medium

    What is LangChain's primary strength relative to LlamaIndex?

  5. Question 5medium

    In the abstraction mapping, your hand-rolled `recursive_split` corresponds to which framework concept?

  6. Question 6medium

    When is hand-rolling a RAG pipeline a reasonable choice? (Select all that apply)

    Select all that apply.

  7. Question 7medium

    What does LlamaIndex's `VectorStoreIndex.from_documents(docs)` do in one call?

  8. Question 8hard

    Why wrap a framework behind your own thin `retrieve()`/`answer()` interface?

  9. Question 9hard

    You migrate a working pipeline to a framework. What makes that swap SAFE?

  10. Question 10medium

    Can LangChain and LlamaIndex be used together?

  11. Question 11medium

    An ingestion-heavy app must pull from Notion, Slack, Google Drive, and SQL into one index. Which factor most favors adopting LlamaIndex?

  12. Question 12hard

    Which caution is MOST specific to using these frameworks?

  13. Question 13medium

    What is the name (acronym) of LangChain's expression language that composes components with the `|` operator?

  14. Question 14hard

    Complete the rule of thumb: start hand-rolled for learning and simple cases; adopt a framework when the glue code you're writing is exactly what the framework already ____.

0 / 14 answered