Sefism is free for learners. We are here to help you grow, one step at a time.Join for free
Sefism.

Cheat sheet · Specialise

LangChain and LlamaIndex cheat sheet (LlamaIndex)

Opens with credits

A quick-revision book on LLM applications with LlamaIndex in Python: RAG from loading to evaluation, Documents and Nodes, indexes, query and chat engines, postprocessors, plus Workflows and agents that call tools.

Curated by Tauseef Fayyaz8 chapters62 concepts84 glossary terms

Chapters

8 chapters · 62 concepts

  1. 1RAG and agents: the big pictureWhat retrieval-augmented generation and agents are, the two phases of a RAG system, and when a framework earns its place.7 concepts
  2. 2Loading and chunkingTurning PDFs, web pages and other sources into clean text with metadata, then into chunks sized for retrieval.8 concepts
  3. Embeddings and vector storesHow text becomes vectors, where those vectors live, and how filtering and hybrid search make lookups precise.7 conceptsOpens with credits
  4. Retrieval and rerankingGetting the right few chunks in front of the model: retrievers, reranking, query rewriting and how context is packed.7 conceptsOpens with credits
  5. Agents, tools and memoryLetting the model act: defining tools, the loop that runs them, memory across turns, and the limits that keep agents safe.8 conceptsOpens with credits
  6. Evaluation and observabilityMeasuring retrieval and answers against a test set, tracing every call, and keeping quality from quietly regressing.8 conceptsOpens with credits
  7. LlamaIndex coreSettings, Documents and Nodes, ingestion pipelines, indexes, and the query and chat engines built on them.9 conceptsOpens with credits
  8. Workflows and agents in LlamaIndexEvent-driven Workflows for custom pipelines, and the agent classes built on them for tool use and multi-agent systems.8 conceptsOpens with credits
  9. 9Glossary, A to ZEvery concept in the sheet and the smaller terms it uses, in one list.84 terms

About this sheet

RAG pipelines, retrieval quality, agents, tools, memory and evaluation in Python, with LangChain and LangGraph or LlamaIndex.

Picked from the other libraries by shared topics.

Work with me

Stuck on something specific?

Writing only gets you so far. If you want an answer to your situation rather than the general case, book a session and we will work through it together. Sessions are free for approved Sefism members, and a few slots open each week.

  • 1:1 Mentorship
  • Fresh Graduate Mentorship
  • Career Guidance

Brand deals, promos and partnerships: tauseeffayyaz@gmail.com