~/talk

The Levels of RAG 🦜

Talkat PyData Eindhoven 2024 Β· on Thursday, 2024-07-11Β· [large-language-models, ai-assisted-development]
slides:none on file

Builds a toy RAG over the conference schedule using LangChain, LangSmith and a vector DB, shows chunking and recursive splitters, adds hybrid search with BM25/TF‑IDF and Milvus via reciprocal rank fusion, and handles PDFs with PDF loaders plus table extraction (TableTransformers) β€” sometimes getting correct answers and sometimes wrong (payload error 8,300 vs 4,200 kg) because tables parsed poorly. Multimodal with GPT‑4o works but is expensive β€” $71 for 142k prompt tokens β€” and hybrid + chunking materially fixes many failures.

AI-written summary Β· about

  1. 0:00Intro
  2. 0:53About Jeroen
  3. 1:14Why Care About RAG
  4. 2:15Why Use RAG
  5. 5:17How Does RAG Work
  6. 6:04Basic RAG
  7. 8:13Answer Generation
  8. 8:59Demo
  9. 10:41Monitoring platforms
  10. 12:59Chunking
  11. 14:13AB Testing
  12. 15:36Level 1 Problem
  13. 16:39Level 2 Problem
  14. 18:23Hybrid Search
  15. 18:51Pi Data Schedule
  16. 20:17Advanced Data Formats
  17. 22:24Debugging
  18. 22:59Table Transformers
  19. 24:11Multimodal
  20. 25:57Conclusion
  21. 27:54Questions
~/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.