~/talk

Crafting your own RAG system: Leveraging 30+ LLMs for enhanced performance

Talkat Voxxed Days Brussels 2024 · 2024-05-21..05-22· [large-language-models, java]
slides:none on file

Step-by-step description of a Java RAG prototype that actually runs: uses LangChain for Java, Spring Boot and Angular to ingest web pages and REST JSON, splits text (visual debugger shows where split breaks answers), embeds chunks with multiple embedding models, implements a homegrown BM25 reranker to reduce context, stores vectors in PGVector and hits the PGVector 2,000-dim limit with some embeddings, compares 30+ local and cloud LLMs, measures accuracy and cost, publishes code and a VS Code/IntelliJ plugin.

AI-written summary · about

  1. 0:00Custom RAG systems intro
  2. 2:48Debugging chatbot failure
  3. 5:14RAG pipeline breakdown
  4. 10:09Query routing and web search
  5. 11:11Custom BM25 ranker
  6. 13:18Chat memory and token limits
  7. 15:06Testing LLM providers
  8. 16:11Ingesting JSON/REST data
  9. 17:58Text splitting strategies
  10. 23:36Splitting techniques
  11. 25:22Live demo prototype
  12. 26:25Embedding model selection
  13. 31:21Vector DB selection
  14. 33:08Embedding model internals
  15. 39:11RAG performance evaluation
  16. 41:56Key project lessons
  17. 42:41IntelliJ plugin for LLMs
  18. 45:10Mixing LLMs in practice
~/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.