Skip to content
Forward Deployed

Forward Deployed
Retrieval Quality & RAG Applications: sections and modules
T6.6

Framework Fluency: LlamaIndex

Map LangChain concepts to LlamaIndex (Document/Node, Retriever, QueryEngine, NodePostprocessor).

Lessons
6 lessons
By
Sourav Banerjee
Prerequisites
None
6 lessons

Practise and Check

Deliverable
Port one of your T6 pipelines (hybrid + rerank) to LlamaIndex and confirm the metrics match.
Assessment
Answer the five Interview questions without notes, then run the lab.
Interview probe
You port Larkspur's hybrid retriever to LlamaIndex: a FAISS `IndexFlatL2` vector store and BM25, fused with `QueryFusionRetriever(mode="relative_score")`. The fused top result is now the least relevant handbook passage. What happened?
Common mistakes
  • Porting a character chunk size to SentenceSplitter, which counts tokens
  • Feeding IndexFlatL2 distances into a fusion that assumes higher is better
  • Dropping cross-encoder nodes below 0, as if logits were probabilities

Your Progress

How confident are you with this module?

1 means "I could not explain it yet"; 5 means "I could teach it". Rate again any time.

 

Saved in this browser when you leave the box.