Framework that helps you build, evaluate, and refine GenAI pipelines.
Project description
.ragfine — Perfect AI starts here.
Framework that helps you build, evaluate, and refine RAG component in generative AI pipelines with surgical precision.
🧠 What is .ragfine?
.ragfine is a modular framework that helps you build, evaluate, and refine RAG component.
It automatically analyzes retrieval quality, semantic coherence, prompt strategy, and response alignment — helping your AI reason more clearly.
✨ Features
- 🔍 Retrieval Diagnostics — detect irrelevant or missing chunks.
- 🧩 Embedding Alignment — optimize vector representations for semantic precision.
- 🧠 Prompt Refinement — evaluate and fine-tune query templates dynamically.
- 📈 Performance Tracking — continuous feedback on retrieval + generation quality.
🚀 Quick Start
pip install ragfine
ragfine analyze --config config.yaml
## Local Tests
```bash
poetry install --with dev
make install # install dev deps via Poetry
make test # run all tests
make coverage # with coverage report
make lint # static checks
make format # format code (black + isort)
make clean # remove caches
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
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 ragfine-1.0.3.tar.gz.
File metadata
- Download URL: ragfine-1.0.3.tar.gz
- Upload date:
- Size: 23.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.12 Darwin/24.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b17720e2eb0f2091a99f2034b4bb50a9049466c2ec1e5e21043151639dc11bb3
|
|
| MD5 |
577337cfc318ff66dbfe267bd69dc4a6
|
|
| BLAKE2b-256 |
5f129075881d678e55762254567be7656d3b556dbe09e5956910b604464718eb
|
File details
Details for the file ragfine-1.0.3-py3-none-any.whl.
File metadata
- Download URL: ragfine-1.0.3-py3-none-any.whl
- Upload date:
- Size: 35.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.12 Darwin/24.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7582b2d1f7a5f5dbe005660c27519ffcf290070f2ed65a82d5f36484a8a5d4d3
|
|
| MD5 |
527cd90781f1a6c6019af8b73f88c1d0
|
|
| BLAKE2b-256 |
d23bdb47f72098ad6c0d9aaa465fe1f89bd8bc95d3d872573a78b3655670c19c
|