A tool for evaluating RAG pipelines
Project description
ragulate
A tool for evaluating RAG pipelines
Installation
pip install ragulate
Usage
usage: ragulate [-h] {download,ingest,query,compare} ...
RAGu-late CLI tool.
options:
-h, --help show this help message and exit
commands:
download Download a dataset
ingest Run an ingest pipeline
query Run an query pipeline
compare Compare results from 2 (or more) recipes
Download Dataset Example
ragulate download -k llama BraintrustCodaHelpDesk
Ingest Example
These commands should work:
ragulate ingest -n chunk_size_500_k_2 -s experiment_chunk_size_and_k.py -m ingest \
--var-name chunk_size --var-value 500 --var-name k --var-value 2 --dataset BraintrustCodaHelpDesk
ragulate ingest -n chunk_size_1000_k_2 -s experiment_chunk_size_and_k.py -m ingest \
--var-name chunk_size --var-value 1000 --var-name k --var-value 2 --dataset BraintrustCodaHelpDesk
Query Exmaple
These commands should work:
ragulate query -n chunk_size_500_k_2 -s experiment_chunk_size_and_k.py -m query_pipeline \
--var-name chunk_size --var-value 500 --var-name k --var-value 2 --dataset BraintrustCodaHelpDesk
ragulate query -n chunk_size_1000_k_2 -s experiment_chunk_size_and_k.py -m query_pipeline \
--var-name chunk_size --var-value 1000 --var-name k --var-value 2 --dataset BraintrustCodaHelpDesk
ragulate query -n chunk_size_500_k_5 -s experiment_chunk_size_and_k.py -m query_pipeline \
--var-name chunk_size --var-value 500 --var-name k --var-value 5 --dataset BraintrustCodaHelpDesk
ragulate query -n chunk_size_1000_k_5 -s experiment_chunk_size_and_k.py -m query_pipeline \
--var-name chunk_size --var-value 1000 --var-name k --var-value 5 --dataset BraintrustCodaHelpDesk
Compare Recipes Example
This command should work:
ragulate compare -r chunk_size_500_k_2 -r chunk_size_1000_k_2 -r chunk_size_500_k_5 -r chunk_size_1000_k_5
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
ragulate-0.0.7.tar.gz
(13.0 kB
view details)
Built Distribution
File details
Details for the file ragulate-0.0.7.tar.gz
.
File metadata
- Download URL: ragulate-0.0.7.tar.gz
- Upload date:
- Size: 13.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.14 Linux/6.5.0-1021-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e87b977c0cf22f6af671eb9f048fa12ca6d03b403068e208e3aafabf0a4de455 |
|
MD5 | 51a3dc6d2ebe22802934629ecacf3332 |
|
BLAKE2b-256 | 573409d3e0865efa65968352f4b34b7094c57de46425f606fe3040a4f459ce5d |
File details
Details for the file ragulate-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: ragulate-0.0.7-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.14 Linux/6.5.0-1021-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b1202fd742ca4cdd277fb24be8d6dcb8c07974c9acd52003f2d541e4da3d772 |
|
MD5 | f706f76ab4645e8ef3aa0d06c23e2ace |
|
BLAKE2b-256 | cb939b3c805b7236a5df53a040216cff4943de6a19a8f72be491af8954ffa5cb |