Skip to main content

rag-colls

rag-colls

rag-colls a.k.a RAG Collections.

Simple and easy to use, production-ready advanced RAG techniques.

Downloads License

GitHub CI GitHub CI

Latest News

📑 Table of Contents

📖 Documentation

Please visit documentation to get latest update.

🔧 Installation

  • You can easily install it from pypi:
pip install -U rag-colls
  • Docker - 🐳:
# Clone the repository
git clone https://github.com/hienhayho/rag-colls.git
cd rag-colls/

# Choose python version and setup OPENAI_API_KEY
export PYTHON_VERSION="3.11"
export OPENAI_API_KEY="your-openai-api-key-here"

# Docker build
DOCKER_BUILDKIT=1 docker build \
                -f docker/Dockerfile \
                --build-arg OPENAI_API_KEY="$OPENAI_API_KEY" \
                --build-arg PYTHON_VERSION="$PYTHON_VERSION" \
                -t rag-colls:$PYTHON_VERSION .

docker run -it --name rag_colls --shm-size=2G rag-colls:$PYTHON_VERSION

📚 Notebooks

We have provided some notebooks for example usage.

RAG Tech Code Guide Tech Description
BasicRAG BasicRAG Colab Integrate with Chromadb
ContextualRAG ContextualRAG Colab Integrate with Chromadb and BM25s version
RAFT RAFT Colab Boost RAG with SFT

🚀 Upcoming

We are currently working on these projects and will be updated soon.

RAG Tech Link
Graph-RAG Blog, Paper
RAG-RL Paper

🎉 Quickstart

Please refer to example for more information.

💻 Develop Guidance

Please refer to DEVELOP.md for more information.

💎 Acknowledgement

This project is supported by UIT AIClub.

©️ LICENSE

rag-colls is under MIT LICENSE.

Metadata

Release files for rag-colls 0.2.0.20

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

Source distribution (sdist)

Source distribution for rag-colls 0.2.0.20
File Size Uploaded Provenance Actions
rag_colls-0.2.0.20.tar.gz 155.0 kB Without provenance Details for rag_colls-0.2.0.20.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rag-colls 0.2.0.20
File Interpreter ABI Platform Actions
rag_colls-0.2.0.20-py3-none-any.whl Python 3 none any Details for rag_colls-0.2.0.20-py3-none-any.whl

Total release size: 398.3 kB

Release files / rag_colls-0.2.0.20.tar.gz

Download URL rag_colls-0.2.0.20.tar.gz
Size 155.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3aa7ef2718522d44b64c1fc68e9e1efd6305232a12f889c534835c656bcb38a9
BLAKE2b-256 checksum
How to use checksums
d7944058016b220f4d5ced39669ecddd510657ce16e75be6424207412d9fa685
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.10

Release files / rag_colls-0.2.0.20-py3-none-any.whl

Download URL rag_colls-0.2.0.20-py3-none-any.whl
Size 243.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dc71fa0b765cff947011514b4c0a417db0ddba930b1811401ce7b330a7b7a058
BLAKE2b-256 checksum
How to use checksums
cf693871ffc739b58cdb20c54abb0356dad9285e2036114f60b7c5d51aabce6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.10

Security for rag-colls 0.2.0.20

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.

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