Metadata-Version: 2.4
Name: rag-colls
Version: 0.2.0.1
Summary: rag-colls - Implement recent advanced RAG techniques
Project-URL: Homepage, https://github.com/hienhayho/rag-colls
Project-URL: Issues, https://github.com/hienhayho/rag-colls/issues
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: bm25s>=0.2.10
Requires-Dist: chromadb>=0.6.3
Requires-Dist: elasticsearch[async]>=8.17.2
Requires-Dist: gdown>=5.2.0
Requires-Dist: jax[cpu]>=0.5.3
Requires-Dist: litellm>=1.65.0
Requires-Dist: llama-index-embeddings-openai>=0.3.1
Requires-Dist: loguru>=0.7.3
Requires-Dist: platformdirs>=4.3.7
Requires-Dist: pymupdf>=1.25.4
Requires-Dist: rich>=13.9.4
Requires-Dist: tenacity>=9.0.0
Provides-Extra: dev
Requires-Dist: pre-commit>=4.2.0; extra == "dev"
Requires-Dist: pytest>=8.3.5; extra == "dev"
Dynamic: license-file

# rag-colls

**rag-colls** a.k.a **RAG Coll**ection**s**.

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

<div align="center">

![Downloads](https://img.shields.io/pypi/dm/rag_colls)  ![License](https://img.shields.io/badge/license-MIT-green)

</div>

## 🔧 Installation

You can easily install it from pypi:

```bash
pip install -U rag-colls
```

## 📚 Notebooks

We have provided some notebooks for example usage.

| RAG Tech | Code | Guide | Tech Description |
|:----------:|:----------:|:----------:|:----------:|
| BasicRAG | [BasicRAG](./rag_colls/rags/basic_rag) | [Colab](https://colab.research.google.com/drive/19hzGSQqx-LIsSbnNkV71ipRAIiFingvP)| Integrate with [`Chromadb`](rag_colls/databases/vector_databases/chromadb.py) |
| ContextualRAG |[ContextualRAG](rag_colls/rags/contextual_rag)| [Colab](https://colab.research.google.com/drive/1vT2Wl8FzYt25_4CMMg-2vcF4y17iTSjO) | Integrate with [`Chromadb`](rag_colls/databases/vector_databases/chromadb.py) and [`BM25s`](rag_colls/databases/bm25/bm25s.py) version |

## 🚀 Upcoming

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

| RAG Tech | Link |
|:----------:|:----------:|
| RAFT | [Blog](https://techcommunity.microsoft.com/blog/aiplatformblog/raft-a-new-way-to-teach-llms-to-be-better-at-rag/4084674), [Paper](https://arxiv.org/pdf/2403.10131)|
| RAG-RL |[Paper](https://arxiv.org/pdf/2503.12759)|

## 📖 Documentation

Will be updated soon ~

## 🎉 Quickstart

Please refer to [example](./examples) for more information.

## ✨ Contributors

<table>
<tr>
    <td align="center" style="word-wrap: break-word; width: 75.0; height: 75.0">
        <a href=https://github.com/hienhayho>
            <img src=https://avatars.githubusercontent.com/u/115549171?v=4 width="50;"  style="border-radius:50%;align-items:center;justify-content:center;overflow:hidden;padding-top:10px" alt=Ho Trong Hien/>
            <br />
            <sub style="font-size:10px"><b>Ho Trong Hien</b></sub>
        </a>
    </td>
</tr>
</table>

## ©️ LICENSE

`rag-colls` is under [MIT LICENSE.](./LICENSE)
