langchain-ai/rag-from-scratch
About langchain-ai/rag-from-scratch
langchain-ai/rag-from-scratch is an open-source project on GitHub, mainly written in Jupyter Notebook. It currently holds 9,352 stars and 2,212 forks with 0 open issues, and was last pushed on an unknown date (repository created unknown).
Project Overview
AI Homed tracks it on the Today's Trending board, currently at rank #51 with 13 new stars today.
GitHub Repository Details
README
RAG From Scratch
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.
Video playlist