~/talk

Build RAG from Scratch

slides:none on file

Live-coded a working RAG pipeline that starts with a 2,938-dim bag-of-words vector built from ~100 scraped talk titles and descriptions, compares queries using cosine similarity, then replaces the crude vectors with real embeddings (OpenAI text-embedding-3-small 1536-dim) and a vector index in Astra DB vector index. The prototype plugs those results into Gemini 1.5 Flash (and can swap in a 7B LLM), boosts the correct-match score from ~0.24 to ~0.83, and demonstrably answers event-specific queries.

AI-written summary · about

  1. 0:00Introduction
  2. 3:20LLMs need augmentation
  3. 5:06What is RAG
  4. 7:56Natural language search
  5. 9:02Vector embeddings example
  6. 16:24Cosine similarity
  7. 27:47Bag-of-words limits
  8. 30:18Embeddings and vector DBs
  9. 33:53Why vector databases are essential
  10. 37:48RAG demo with vector DB
  11. 40:38Chunking text
  12. 43:27Storing data and models
  13. 45:16Advanced models like DeepSeek
  14. 48:25Retrieval is key
  15. 49:28ColBERT and Graph RAG
  16. 51:16Vector search beyond LLMs
  17. 51:58RAG future and context
~/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.