~/talk

Set Up an Open Source RAG in 30 Minutes

TalkinFrenchat Devoxx France 2024 · 2024-04-17..04-19· [large-language-models, ai-assisted-development]
slides:none on file

Shows building a complete open-source RAG pipeline in minutes using LangChain for prompt construction and inference orchestration, OpenSearch 2.8 connectors to link an external LLM endpoint, and Agents 2.13 to coordinate retrieval then prompting. The demo stores 384‑dim embeddings with cosine similarity, vectorizes queries, retrieves documents and sends them plus context to a Mistral-based model endpoint (noting CPU inference is slow), and returns a numeric answer (a population delta ≈ 30,300) with a cost comparison to GPT-4 (~$0.09/1k tokens).

AI-written summary · about

  1. 0:00Introduction
  2. 0:44LLM limits
  3. 4:34RAG principle
  4. 7:42Why open-source RAG
  5. 9:07RAG architecture with OpenSearch
  6. 12:02Step-by-step demo
  7. 21:23Conclusion & Q&A
~/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.