Skip to main content

Judge and evaluate your chunk quality with Judie, the Owl! Quick, easy, and effective!

Project description

🦉 Judie Logo

🦉 judie ✨

Judge and evaluate your chunk quality with Judie, the Owl! Quick, easy, and effective!

Chunking is a crucial step for RAG systems and LLM workflows. Most of the time, chunk quality is rarely evaluated even though it can have a significant impact on the performance of the system. Judie makes it super easy to evaluate your chunks!

📦 Installation

Installation is super easy! Just run the following command in your terminal:

pip install judie

🧑‍⚖️ Usage

Judie works together with chonkie to evaluate your chunks. It supports all the chunkers that chonkie supports, and as long as any chunker can be wrapped in a chonkie.BaseChunker wrapper, Judie will support it.

Here's a simple example of how to use Judie:

from judie import Evaluator 
from chonkie import RecursiveChunker

chunker = RecursiveChunker(chunk_size=1000, chunk_overlap=200)

# Load your dataset
dataset = ["...", "..."]

# Initialize the evaluator
evaluator = Evaluator(chunker=chunker,
                      dataset=dataset, 
                      embedding_model=embedding_model)

# Evaluate your chunks
metrics = evaluator.evaluate()

# Print the metrics
print(metrics['Recall@10'])

🧩 Available Benchmarks

Benchmark Description
🧸 Gacha 🧸 Gacha is a corpus of 100 most popular textbooks from Gutenberg Corpus and numerous NIAH-style questions for evaluating chunking algorithms!

📚 Citation

If you use Judie in your work, please cite it as follows:

@software{judie2025,
  author = {Bhavnick Minhas and Shreyash Nigam},
  title = {🦉 Judie: Evaluating chunk quality with LLM Judges},
  url = {https://github.com/chonkie-inc/judie},
  version = {0.1.0},
  year = {2025},
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

judie-0.0.2.tar.gz (17.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

judie-0.0.2-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

Details for the file judie-0.0.2.tar.gz.

File metadata

  • Download URL: judie-0.0.2.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for judie-0.0.2.tar.gz
Algorithm Hash digest
SHA256 3bef2c591dacb322cc512ebde044e7fb557453d70035dccddd878685e72ba828
MD5 a6ce2970d18443d795f550491bb60a36
BLAKE2b-256 a6766393e0dcb6e678a021db2389254c15e67a442267a3b8762cbd818d34dbf5

See more details on using hashes here.

File details

Details for the file judie-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: judie-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 18.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for judie-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4515deea84ddd8302b7eb9eb482f02da0d455da5605c151b01ee681708986c23
MD5 a1e026502a6990022a7d8f9150cefbe2
BLAKE2b-256 65c9b1261e03571464ff0c7cd05cca9ee043b8d8cc1d22e4180847d97381cb12

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page