~/talk

LLMs and GenAI: A Guide to Building Your Own RAG Model for Document Interaction

links:none on file
slides:none on file

Code walks through a concrete RAG pipeline implemented in Python + LangChain: PDF-to-text extraction, recursive char splitter chunking with overlap, small English embedding model, storing vectors in Qdrant vector DB, and retrieval by cosine similarity before passing top-K context to Llama 3 (demo) or OpenAI models (GPT‑4/4o/3.5). Production notes cover multiprocessing for large ingests, OCR/diagram parsing, showing source PDF pages for validation, and tradeoffs between few‑shot and retrieval approaches.

AI-written summary · about

  1. 0:00Introduction
  2. 1:00Overview
  3. 1:40What is RAG
  4. 2:45Architecture
  5. 4:20Coding
  6. 8:45Generation
  7. 9:50Demo
  8. 12:55Questions
~/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.