Skip to main content

Lightweight evaluation metrics for RAG (Hit@k, Recall@k, MRR, nDCG)

Project description

rag-eval-lite

Lightweight RAG evaluation metrics.

Install

pip install rag-eval-lite

Usage

from rag_eval import evaluate_dataset

results = evaluate_dataset(data, k=3)
print(results)

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

rag_eval_lite-0.1.0.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

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

rag_eval_lite-0.1.0-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file rag_eval_lite-0.1.0.tar.gz.

File metadata

  • Download URL: rag_eval_lite-0.1.0.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for rag_eval_lite-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0955b7ea3dde38f975f9c22d3e9b9e11874ef9c508289464a50ce5f0c56d30ee
MD5 2246f2383430e2dafe437c8c8c7dffa7
BLAKE2b-256 a8cfd143fcbe95329eaacef0db1d33fea0b5ac2bbb08df1fda15858928aebb1b

See more details on using hashes here.

File details

Details for the file rag_eval_lite-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: rag_eval_lite-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for rag_eval_lite-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f762ef79eb590dd098d039a93f81ad37c74dd7fe1ab26d1feef69f8c9a647044
MD5 45d8e7376764161397356c96cac46361
BLAKE2b-256 29544bcfe6dee90fdb4521fca3ed19d9d464497d919ac000b549c9ceae224714

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