~/talk

Document Q&A using LangChain

Talkat DSC MENA 2024 · 2024-04-18..04-20· [ai-assisted-development]
links:none on file
slides:none on file

A working RAG pipeline that loads web or PDF content, chunks it, creates Hugging Face embeddings, stores them in Chroma DB, and uses LangChain retriever/RetrievalQA to answer document questions; demo uses a free 7B model from Hugging Face, produces 496 saved embeddings, and returns correct answers (Egypt visa types, city list) with k=3 similarity search and adjustable temperature and chunk size (500 → 1000 changed results). Notebook and API-key handling are provided and the workflow runs end-to-end.

AI-written summary · about

  1. 0:00Introduction
  2. 1:06Agenda and LangChain overview
  3. 8:23Document Q&A with RAG
  4. 11:35RAG use cases and benefits
  5. 15:30RAG vs fine-tuning
  6. 20:39RAG architecture explained
  7. 30:01Demo setup in Jupyter
  8. 31:05Importing libraries and API
  9. 33:13Configuring LLM and temperature
  10. 36:06Loading web content
  11. 38:12Splitting documents into chunks
  12. 40:20Creating embeddings
  13. 41:24Storing embeddings in Chroma DB
  14. 42:28First question: Egyptian visas
  15. 46:50Similarity search for answers
  16. 47:56Retrieval QA chain
  17. 53:16Testing second question: cities
  18. 59:15Adjusting chunk size
  19. 1:02:38Q&A
  20. 1:02:58Fine-tuning vs RAG
  21. 1:03:20Embedding vs tokenization
  22. 1:05:35Ready-made vs custom apps
  23. 1:06:53Private Q&A chatbot
  24. 1:09:05Session wrap-up and resources
~/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.