Hybrid RAG pipeline: semantic + keyword + RRF reranking
Project description
papa-rag
Hybrid RAG pipeline: semantic + keyword + RRF reranking.
Install
pip install papa-rag
Requires papa-lang and chromadb.
Quick Start
from papa_rag import RAGPipeline, RAGConfig
config = RAGConfig(top_k=5)
pipeline = RAGPipeline(config=config)
result = pipeline.retrieve("What is the capital of France?")
print(result.context)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
papa_rag-0.1.0.tar.gz
(3.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file papa_rag-0.1.0.tar.gz.
File metadata
- Download URL: papa_rag-0.1.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd8a2448ad0c225117c3d46ed32b5ef58bd5678c41400ce9e66fa4ea6f667b6c
|
|
| MD5 |
7a72880c2babd451814113e96e4dadb7
|
|
| BLAKE2b-256 |
dec0a15318fc209a5a3d3dfb94cdad2e9b0ab5d4bf51ccbbe3c0fed90cd0d850
|
File details
Details for the file papa_rag-0.1.0-py3-none-any.whl.
File metadata
- Download URL: papa_rag-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
503f68932eabe0535c8857c27d191ca37272ecd29f14ce69c454089839f6c867
|
|
| MD5 |
b4f05ed0931de1fc29bdbf197f67df52
|
|
| BLAKE2b-256 |
7d7e550ec3b81db47017e14a38e9078a5796c23b88ed94262f3849caa85ffe9d
|