Skip to main content

Genkit Evaluators Plugin

Final release line. genkit-evaluators is removed in genkit 1.0 and requires genkit<1.

Provides three built-in rule-based evaluators:

  • regex – Tests output against a regex pattern (reference = regex string)
  • deep_equal – Tests equality of output against reference
  • jsonata – Evaluates a JSONata expression (reference) against output; pass if result is truthy

No LLM or API keys required.

Building with a coding agent? Install the Genkit Python skill first.

npx skills add genkit-ai/skills --skill developing-genkit-python

It teaches your agent the current Genkit Python APIs and common gotchas. Source, manual install and skills for other languages: genkit-ai/skills.

Installation

uv add genkit-evaluators

Usage

from genkit import Genkit
from genkit.evaluator import BaseDataPoint
from genkit_evaluators import register_genkit_evaluators

ai = Genkit()
register_genkit_evaluators(ai)

results = await ai.evaluate(
    evaluator='genkitEval/regex',
    dataset=[
        BaseDataPoint(input='sample', output='banana', reference='ba?a?a'),
        BaseDataPoint(input='sample', output='apple', reference='ba?a?a'),
    ],
)
for row in results:
    print(row.test_case_id, row.evaluation[0].score)

Or from the CLI:

genkit eval:run datasets/example.json --evaluators=genkitEval/regex

Evaluators

  • genkitEval/regex – Reference is a regex string. Output (stringified if needed) must match.
  • genkitEval/deep_equal – Reference is the expected value. Output must equal reference.
  • genkitEval/jsonata – Reference is a JSONata expression. Evaluated against output; pass if truthy.

Metadata

Release files for genkit-evaluators 0.13.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 genkit-evaluators 0.13.0
File Size Uploaded Provenance Actions
genkit_evaluators-0.13.0.tar.gz 8.2 kB With provenance Details for genkit_evaluators-0.13.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for genkit-evaluators 0.13.0
File Interpreter ABI Platform Actions
genkit_evaluators-0.13.0-py3-none-any.whl Python 3 none any Details for genkit_evaluators-0.13.0-py3-none-any.whl

Total release size: 16.9 kB

Release files / genkit_evaluators-0.13.0.tar.gz

Download URL genkit_evaluators-0.13.0.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c8d9ec676014e16f2ab44dd84828ebf8da608f1aa47356cbff117492c800050f
BLAKE2b-256 checksum
How to use checksums
efdc1796e12f746fdefb4401aa8c6f388638a9bb26519c7280ab303496a740bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

Release files / genkit_evaluators-0.13.0-py3-none-any.whl

Download URL genkit_evaluators-0.13.0-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9e1eaef45eff07e9a2bc73b0d627cd0f57026ec6f33be0293ccca1f1c9c4b022
BLAKE2b-256 checksum
How to use checksums
3f19daf90423a84683a43594de8e02e9987c0713fa897a3ba5bb3daa8e508f36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

Security for genkit-evaluators 0.13.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for genkit_evaluators-0.13.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

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.13.0 This release

2 release files Full 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