haiku.rag/evaluations
Yiorgis Gozadinos 17c2136b4e
vb
2026-02-06 12:48:16 +01:00
..
evaluations docs 2026-01-31 10:13:22 +02:00
LICENSE
pyproject.toml vb 2026-02-06 12:48:16 +01:00
README.md

Haiku RAG - Evaluations

Internal benchmarking and evaluation scripts for haiku.rag.

This package is not published to PyPI and is only used for development and testing purposes.

Overview

Contains evaluation scripts for benchmarking RAG performance using datasets like:

  • RepliQA
  • WiX

Usage

After installing the package, you can run evaluations using the evaluations command:

# Run evaluations with default settings
evaluations repliqa

# Use a custom config file
evaluations repliqa --config /path/to/haiku.rag.yaml

# Override the database path
evaluations repliqa --db /path/to/custom.lancedb

# Skip database population and run only benchmarks
evaluations repliqa --skip-db

# Limit the number of test cases
evaluations repliqa --limit 100

Database Storage

By default, evaluation databases are stored in the haiku.rag data directory:

  • Linux: ~/.local/share/haiku.rag/evaluations/dbs/
  • macOS: ~/Library/Application Support/haiku.rag/evaluations/dbs/
  • Windows: C:/Users/<USER>/AppData/Roaming/haiku.rag/evaluations/dbs/

You can override this with the --db option.