langchain-ai/rag-from-scratch

▲ 9 stars today★ 9,352⑂ 2,212

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 43 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 #57 with 9 new stars today.

GitHub Repository Details

Repository langchain-ai/rag-from-scratch · default branch main · size 3333 KB · watchers 75 · 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,352Stars
2,212Forks
43Open issues
Jupyter NotebookLanguage

GitHub Popularity

GitHub stars9,352
Forks2,212
Open issues43
Primary languageJupyter Notebook
License-
Stars gained today9
Created2024-01-31
Last pushed2025-06-26

Trending History

Daily boardrank #57 · ▲ 9 stars

Related AI Projects

1

microsoft / ML-For-Beginners

Jupyter Notebook★ 90,785⑂ 22,382▲ 47 stars
→
2

microsoft / AI-For-Beginners

Jupyter Notebook★ 68,771⑂ 13,292▲ 36 stars
→
3

patchy631 / ai-engineering-hub

Jupyter Notebook★ 37,844⑂ 6,230▲ 37 stars
→
4

microsoft / OmniParser

Jupyter Notebook★ 25,432⑂ 2,234▲ 12 stars
→
5

AI4Finance-Foundation / FinGPT

Jupyter Notebook★ 21,270⑂ 3,015
→
6

facebookresearch / sam2

Jupyter Notebook★ 19,904⑂ 2,548▲ 4 stars
→
7

DataTalksClub / machine-learning-zoomcamp

Jupyter Notebook★ 14,493⑂ 3,217▲ 17 stars
→
8

ed-donner / llm_engineering

Jupyter Notebook★ 7,442⑂ 7,258▲ 10 stars
→

More AI Rankings