Skip to main content

🧠 MyRAGProject

Now with interactive setup!

  • On first use, you'll be prompted to choose your embedding model (HuggingFace or Gemini) and vector database (Qdrant or FAISS).
  • The setup wizard will create a .env file for your configuration and install only the dependencies you need.
  • Supports Gemini API key and Qdrant port via .env.

📦 Features

  • 🔍 Smart chunking of input documents
  • 🤖 Embedding generation via HuggingFace
  • 🧠 Vector storage using Qdrant
  • 💬 Ready for question-answering and search
  • 🚀 Modular and easy to extend

🗂️ Folder Structure

myragproject/ ├── main.py ├── data/ │ └── sample.txt ├── app/ │ ├── config.py │ └── ingest.py ├── raglib/ │ ├── chunking/ │ │ └── smart_chunker.py │ ├── embeddings/ │ │ └── huggingface.py │ └── vector_stores/ │ └── qdrant_store.py

yaml Copy Edit


🔧 Setup Instructions

1. Clone the repository

git clone https://github.com/your-username/myragproject.git
cd myragproject
2. Install dependencies
bash
Copy
Edit
pip install -r requirements.txt
Or manually install:

bash
Copy
Edit
pip install sentence-transformers qdrant-client requests
3. Start Qdrant (vector DB)
bash
Copy
Edit
docker run -p 6333:6333 -v qdrant_data:/qdrant/storage qdrant/qdrant
This ensures persistent vector storage.

4. Add your document
Place a .txt file inside the data/ folder, e.g.:

bash
Copy
Edit
data/sample.txt
🚀 Run the RAG Ingest Pipeline
bash
Copy
Edit
python main.py
It will:

Read the file

Split it into chunks

Generate embeddings

Store in Qdrant with payloads

📖 Example Output
bash
Copy
Edit
📄 Starting ingestion for: data/sample.txt
🧩 Created 4 chunks
🔢 Generated embeddings
✅ Stored 4 points in Qdrant.
✅ Embeddings stored successfully in Qdrant.
🔍 Coming Soon
❓ Ask questions and retrieve top relevant chunks

📚 Support for PDFs and multiple file types

🧪 FastAPI-based chatbot API

🧠 Tech Stack
Python 3.10+

HuggingFace (sentence-transformers)

Qdrant vector store

Docker (for Qdrant server)

🧩 Credits
Built with ❤️ by [Abhishek]

Inspired by modern RAG systems like LangChain, LlamaIndex

📄 License
MIT License

yaml
Copy
Edit

---

## ✅ To Use It Now

Just create a `README.md` file in your root folder and paste the above content.

---

Would you like me to generate:

- `requirements.txt` for you?
- Add FastAPI interface?
- Publish this to GitHub with a badge?

Let’s make this production-ready 🚀

Metadata

Release files for raglab-easygenius 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for raglab-easygenius 0.1.0
File Size Uploaded Provenance Actions
raglab_easygenius-0.1.0.tar.gz 5.5 kB Without provenance Details for raglab_easygenius-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for raglab-easygenius 0.1.0
File Interpreter ABI Platform Actions
raglab_easygenius-0.1.0-py3-none-any.whl Python 3 none any Details for raglab_easygenius-0.1.0-py3-none-any.whl

Total release size: 12.4 kB

Release files / raglab_easygenius-0.1.0.tar.gz

Download URL raglab_easygenius-0.1.0.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3ed21af27366636909d4c284ca2b798834aca26897ed22d12758d8200ffc304b
BLAKE2b-256 checksum
How to use checksums
329e6a6efb2b4f6304a63b2d50c5d36600b7514a36fb97d0eb3712be5d1bf95c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.0

Release files / raglab_easygenius-0.1.0-py3-none-any.whl

Download URL raglab_easygenius-0.1.0-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d69647d5cdb974537cc234cd09fa6c88dea3b339107a674073b5db6a5b4813f3
BLAKE2b-256 checksum
How to use checksums
7e44945991b8991739610f304acf8228d6225f30e4d4b1c933de742e72e0e1eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.0

Security for raglab-easygenius 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page