I built a very modular framework for RAG setup in some lines of code

Hey everyone,

I’ve been working on a lightweight Retrieval-Augmented Generation (RAG) framework designed to make it super easy to setup a RAG for newbies.

Why did I make this?
Most RAG frameworks are either too heavy, over-engineered, or locked into cloud providers. I wanted a minimal, open-source alternative you can be flexible.

Tech stack:

Python Ollama for local LLM/embedding ChromaDB for fast vector storage/retrieval

What I’d love feedback on:

General code structure Anything that feels confusing, overcomplicated, or could be made more pythonic

Repo:
👉 https://github.com/Bessouat40/RAGLight

Feel free to roast the code, nitpick the details, or just let me know if something is unclear! All constructive feedback very welcome, even if it’s harsh – I really want to improve.

Thanks in advance!

submitted by /u/Labess40 to r/Python
[link] [comments]


Commentaires

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *