Skip to main content

groq-eval-score

A Python package to evaluate the relevance of LLM outputs using the Groq API.
It compares input, expected output, and actual output, returning a score between 0.0 and 1.0.

Installation

pip install groq-eval-score

Usage

from groq_eval import GroqEvaluator

Initialize evaluator

evaluator = GroqEvaluator(api_key="YOUR_API_KEY")

Evaluate relevance

score = evaluator.evaluate( input_text="capital of france", expected_output="paris", actual_output="The capital of France is Paris." )

print("Relevance Score:", score) # Example: 1.0

Features

  • Returns a relevance score between 0.0 and 1.0
  • Easy class-based interface
  • Uses Groq API for fast and efficient evaluation

Metadata

Release files for groq-eval-score 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for groq-eval-score 0.2.0
File Size Uploaded Provenance
groq_eval_score-0.2.0.tar.gz 3.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for groq-eval-score 0.2.0
File Interpreter ABI Platform
groq_eval_score-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.4 kB

Release files / groq_eval_score-0.2.0.tar.gz

Download URL groq_eval_score-0.2.0.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
1f43c50bc3bbc4c01a7adbbda4bd97569c2ffef591c39b47dcfac888241de8c5
BLAKE2b-256 checksum
How to use checksums
0f10520260a5efd81d2d95ae916558b516dbced9e4754930f5ca9f5a50d3102e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / groq_eval_score-0.2.0-py3-none-any.whl

Download URL groq_eval_score-0.2.0-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0c746ba97b5df323b889cf56fabfba61d3c0dd8a01a8fce9b9792657dc73683a
BLAKE2b-256 checksum
How to use checksums
7b9f11ee31764fd7cb91a9a376790680b1f821bcefa1ac9296ce412d3f5ece32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Security for groq-eval-score 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page