langchain-ai/rag-from-scratch

▲ 13 stars today★ 9,596⑂ 2,258

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,596 stars and 2,258 forks with 46 open issues, and was last pushed on 2025-06-26 (repository created 2024-01-31).

Project Overview

AI Homed tracks it on the Today's Trending board, currently at rank #58 with 13 new stars today.

GitHub Repository Details

Repository langchain-ai/rag-from-scratch · default branch main · size 3333 KB · watchers 69 · source: GitHub REST API and repository README

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. rag_detail_v2 Video playlist

GitHub Stars & Activity

9,596Stars
2,258Forks
46Open issues
Jupyter NotebookLanguage

GitHub Popularity

GitHub stars9,596
Forks2,258
Open issues46
Primary languageJupyter Notebook
License-
Stars gained today13
Created2024-01-31
Last pushed2025-06-26

Trending History

Daily boardrank #58 · ▲ 13 stars

Related AI Projects

1

microsoft / ai-agents-for-beginners

Jupyter Notebook★ 78,820⑂ 25,813▲ 111 stars
→
2

microsoft / AI-For-Beginners

Jupyter Notebook★ 70,538⑂ 13,731▲ 71 stars
→
3

patchy631 / ai-engineering-hub

Jupyter Notebook★ 41,048⑂ 6,556▲ 767 stars
→
4

karpathy / nn-zero-to-hero

Jupyter Notebook★ 25,265⑂ 3,680▲ 46 stars
→
5

facebookresearch / audiocraft

Jupyter Notebook★ 23,815⑂ 2,714▲ 21 stars
→
6

anthropics / courses

Jupyter Notebook★ 22,971⑂ 2,534▲ 11 stars
→
7

NirDiamant / agents-towards-production

Jupyter Notebook★ 21,821⑂ 2,891▲ 10 stars
→
8

mrdbourke / pytorch-deep-learning

Jupyter Notebook★ 19,356⑂ 5,235▲ 15 stars
→

More AI Rankings