LLMs are trained on a large but fixed corpus of data, limiting their ability to reason about private or recent information. Fine-tuning is one way to mitigate this, but is often not well-suited for factual recall and can be costly.
Retrieval augmented generation (RAG) has emerged as a popular and powerful mechanism to expand an LLM's knowledge base, using documents retrieved from an external data source to ground the LLM generation via in-context learning.
These notebooks accompany a video playlist that builds up an understanding of RAG from scratch, starting with the basics of indexing, retrieval, and generation.
← 开源
langchain-ai
rag-from-scratch (在 GitHub 打开)
TutorialsAIE roadmapJupyter Notebook
增长势头
+324 小时新增 Star+0.0%
10.2k
Star
2.33k
Fork
+27
本周
4
贡献者
创建于 2024-01-31 · 更新于 2026-12-05 · 今日第 2477 名
主要开发者
README
排名相邻
同类项目