rag-eval-kit-avan
A lightweight Python wrapper for evaluating RAG (Retrieval-Augmented Generation) pipelines using Ragas.
If you've built a RAG system with LangChain, LlamaIndex, or plain Python, you know that "it works" is not enough. You need to measure Faithfulness, Answer Relevancy, Context Precision, and Context Recall. This package wraps those Ragas metrics into a single function call.
Installation
pip install rag-eval-kit-avan
Usage
from rag_eval_kit import evaluate_rag
questions = ["What is RAG?", "What is a vector database?"]
answers = [
"RAG stands for Retrieval-Augmented Generation.",
"A vector database stores embeddings for similarity search.",
]
contexts = [
["RAG is a technique that combines retrieval with generation..."],
["Vector databases like FAISS and ChromaDB store high-dimensional vectors..."],
]
ground_truths = [
"RAG stands for Retrieval-Augmented Generation.",
"A vector database stores embeddings and supports similarity search.",
]
results = evaluate_rag(questions, answers, contexts, ground_truths)
print(results)
Why This Exists
Most RAG tutorials stop at "here's how to build a chain." Nobody tells you how to prove your RAG pipeline is actually working. This package makes it a one-liner.
Built as part of an Eval-First RAG System project.
License
MIT
Metadata
Release files for rag-eval-kit-avan 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rag_eval_kit_avan-0.1.0.tar.gz | 3.2 kB | Without provenance | Details for rag_eval_kit_avan-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rag_eval_kit_avan-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for rag_eval_kit_avan-0.1.0-py3-none-any.whl |
Total release size: 6.9 kB
Release files / rag_eval_kit_avan-0.1.0.tar.gz
| Download URL | rag_eval_kit_avan-0.1.0.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8246df2a21d9e1a914efbcde05b884484d09f4037122a6b79986b82dfde8f9bd
|
|
BLAKE2b-256 checksum How to use checksums |
e337b094c00df366364fa676b5285e89af09e4f46111f84d97b1f5be9293923b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.6
|
Release files / rag_eval_kit_avan-0.1.0-py3-none-any.whl
| Download URL | rag_eval_kit_avan-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1c36a0de2bb9563d89d41b0c957581b0f763c9a7123bf2bf3d208d221624e814
|
|
BLAKE2b-256 checksum How to use checksums |
244f8e4dcd29374df51fa37c04599d470ea708330c6849eb5f2f2002933d1730
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.6
|
Security for rag-eval-kit-avan 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.