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.

Danh mục
langchain-ai/rag-from-scratch
Dữ kiện có nguồn. Giá trị thiếu trong snapshot hiện là —, không bao giờ là 0.
Sao9.5klịch sử sao
Hạng#5919snapshot toàn cục
Fork2.3kbản ghi nguồn
Số ngày trending2lịch sử xu hướng
Snapshot chỉ có lịch sử sao đầy đủ của star-history/star-history. Lịch sử thiếu thì không vẽ.
