~/talk

From naive to advanced RAG: the complete guide

Talkat Devoxx Belgium 2024 · 2024-10-07..10-11· [large-language-models, search]
slides:none on file

Shows a concrete RAG pipeline built with LangChain4j and production deployments on Astra/Cassandra using a G‑Vector index; demonstrates specific fixes: semantic chunking (sliding‑window and parent/child), hypothetical question embedding to improve recall, query compression, metadata filtering, and reranking (BM25 + reciprocal rank fusion). Uses Gemini/Vertex and smaller embedding models (768/1536 dims), handles billion‑row stores, and runs agentic function‑calling for multistep queries. Provides GitHub examples, evaluation with recall/precision/F1 (and MRR/nDCG), and shows the Apollo 11 and Berlin demos.

AI-written summary · about

  1. 0:00Introduction to RAG
  2. 3:17Understanding LLMs
  3. 8:46Prompt engineering basics
  4. 13:07LLM generation parameters
  5. 16:40RAG limitations and solutions
  6. 23:22LangChain4j overview
  7. 32:31Naive RAG architecture
  8. 37:14Ingestion and parsing
  9. 47:59Vectors and similarities
  10. 58:45Advanced chunking techniques
  11. 1:10:16Contextual retrieval
  12. 1:28:54Semantic chunking
  13. 1:33:36Embedding models and metrics
  14. 1:45:56Vector databases
  15. 2:00:42Query transformation
  16. 2:10:02Advanced retrieval techniques
  17. 2:23:50Evaluation and agents
  18. 2:32:56Agentic RAG implementation
  19. 2:38:40Conclusion and resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.