Skip to main content

RAGvidence

Diagnose and compare RAG retrieval techniques on your own data.

RAGvidence helps you decide which retrieval technique to use in your RAG project. Run experiments on local files, inspect what each technique retrieves, and compare the evidence without building every experiment yourself. You can also import results from your own retriever as a baseline.

The CLI is fully free and open source under Apache-2.0.

Install

Install uv, then run:

uv tool install --python 3.12 "ragvidence==0.2.0"
ragvi --version
ragvi verify

Python 3.12 is required; uv can install it for you. The command is available from any folder. See the installation guide for upgrades, Windows/macOS/Linux setup, optional PDF/model support and source builds.

Run on your own data

Ask a question about a file:

ragvi bm25 ./manual.txt --query "How do I reset the device?"

Run several questions against a folder and select your reports:

ragvi bm25 ./docs --questions ./questions.txt --format html --format json --format markdown

The questions file contains one question per nonblank line. Without question flags, the terminal offers question entry; use --no-input for source-only diagnostics without prompts. Your source files stay unchanged.

The CLI prints a summary and report paths. Open the HTML report in your browser; it is self-contained and works offline. Reports go under ragvi-reports/ by default. Use --output DIRECTORY to choose another location.

Supported inputs: UTF-8 TXT and Markdown, visible-text HTML, document JSON/JSONL, CSV and text-bearing PDF with the pdf extra. Folders may mix these formats. See input schemas and limits.

Compare techniques

ragvi techniques
ragvi compare-data ./docs --questions ./questions.txt --techniques bm25,parent-child

Comparisons use the same frozen inputs and questions. Inspect the returned passages, context size, timings and stage traces. Add reviewed references to measure whether the retrieved context contains the evidence each question needs:

ragvi compare-data ./docs --reviewed ./reviewed.json --techniques bm25,parent-child
What you provide What you learn
Sources Extraction, structure and chunk diagnostics
Sources and questions Which passages each technique retrieves
Sources and reviewed evidence spans Evidence sufficiency, coverage, rank metrics, gains and regressions

Questions alone do not establish relevance. Reviewed references are optional, but required for scored quality comparisons. Results apply to the data and questions you tested. RAGvidence helps you choose; it does not change your RAG system or judge generated answers and citations.

Choose your next experiment

BM25 runs offline without a model or API key. The catalog also includes dense search, hybrid RRF, cross-encoder reranking, parent-child retrieval, heading/context enrichment, multi-query retrieval, metadata filters, MMR, query rewriting and exact extractive compression. Splitting, overlap, embedding settings and context budgets can be compared through shared configuration.

Want to explore without preparing data? Run ragvi tutorial for a small fictional reviewed comparison and HTML report.

Models and sharing

Optional FastEmbed embeddings/rerankers run locally after a first model download. User-owned Ollama models and OpenAI-compatible endpoints are supported for selected operations. You supply the model/server or API access. See provider setup.

Remote endpoints receive the text needed for the operation. Reports can contain full passages, questions and transformation prompts/outputs. Review them before sharing. See privacy and providers.

Contribute and get help

Report an issue, contribute, improve the docs or star the repository. For problems, start with troubleshooting and support.

See what's new in 0.2.0, security and third-party notices.

Copyright © 2026 Medo-ID. Third-party components and models retain their own licenses.

Metadata

Release files for ragvidence 0.2.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 ragvidence 0.2.0
File Size Uploaded Provenance
ragvidence-0.2.0.tar.gz 384.8 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ragvidence 0.2.0
File Interpreter ABI Platform
ragvidence-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 672.1 kB

Release files / ragvidence-0.2.0.tar.gz

Download URL ragvidence-0.2.0.tar.gz
Size 384.8 kB
Tags Source
SHA-256 checksum
How to use checksums
654a3ea0b1429ea72618501f205a97efb33965ff94775fe2f628f1ded008be0b
BLAKE2b-256 checksum
How to use checksums
56db8df183fb1bc505b70ceda9d0b07e1f1a5f080d0ab39064c06561403d1895
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 17, 2026.

Transparency log

Release files / ragvidence-0.2.0-py3-none-any.whl

Download URL ragvidence-0.2.0-py3-none-any.whl
Size 287.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ef300e798bc7cad72a560dc2a6c6c9819737bdbac9241f7ebf2a593a5f2c54e9
BLAKE2b-256 checksum
How to use checksums
54874e200487338c1e289e9982e82276b2e15f759a6eb401755776efb6b3bf9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 17, 2026.

Transparency log

Security for ragvidence 0.2.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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ragvidence-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 17, 2026.

Transparency log

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.

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