~/talk

RAG: from dumb implementation to serious results

Talkat Devoxx Belgium 2024 · 2024-10-07..10-11· [ai-assisted-development]
slides:none on file

Practical RAG with LangChain4j and Gemini shows concrete fixes: implement sliding-window and recursive chunking, generate hypothetical questions or contextual summaries at ingest, use the same embedding model + in‑memory or AADB vector store, add metadata filtering and a reranker to reorder results. Demo exposes gotchas — a Berlin query returns conflicting population snippets (3.85M vs 3.75M), small local embeddings score 0.16 vs 0.72 for better models, and 30 raw hits miss combined answers — so agentic RAG plus reranking and lifecycle updates are required even with 2 million tokens context models.

AI-written summary · about

  1. 0:00Introduction to RAG
  2. 3:45RAG architecture overview
  3. 11:39Implementing basic RAG
  4. 18:33Advanced ingestion techniques
  5. 21:03Retrieval optimization
  6. 39:52Refining search results
  7. 48:08Agentic RAG implementation
  8. 52:50Evaluation and conclusion
~/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.