di37/rag-from-scratch

Demo done in a jupyter notebook to show how Retrieval Augmented Generation (RAG) can be done without using any frameworks.

15
/ 100
Experimental

Implements core RAG components—document chunking, vector embeddings, similarity search, and LLM integration—using only standard Python libraries without external ML frameworks. The notebook demonstrates the complete retrieval pipeline from raw documents through semantic matching to prompt augmentation, making the underlying mechanics transparent rather than abstracted away.

No commits in the last 6 months.

Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 6 / 25
Maturity 9 / 25
Community 0 / 25

How are scores calculated?

Stars

16

Forks

Language

Jupyter Notebook

License

Apache-2.0

Last pushed

Aug 19, 2024

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/embeddings/di37/rag-from-scratch"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.