EvalPort example notebook: importing/exporting Vertex AI Gen AI Evaluation datasets #3055
adhabnr-ux
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi team,
I maintain EvalPort, an open JSON Schema spec (Apache 2.0) for portable LLM evaluation datasets (test suites + result sets), with Python/TypeScript SDKs that validate against the schemas.
I went through a couple of the notebooks under
gemini/evaluation/(evaluate_with_your_python_code.ipynb,evaluating_observability_datasets.ipynb) to see how the Vertex AI Gen AI Evaluation SDK represents datasets. It's a clean pandas-based shape:That maps cleanly onto an EvalPort
EvalSuite/ResultSetpair —prompt→test_cases[].input,reference→test_cases[].expected_output, and the returnedsummary_metrics→ResultSet.results[].grader_results. A short notebook could show both directions, e.g.:Since this repo is a samples/cookbook collection rather than the SDK itself, the ask here is modest: would an example notebook (something like
gemini/evaluation/evalport_import_export.ipynb) showing this round-trip be a welcome addition? Happy to draft one followingnotebook_template.ipynbandscripts/format.shif so — no pressure either way.Spec: https://github.com/adhabnr-ux/evalport/blob/main/SPEC.md
Python SDK:
pip install evalport-sdkAll reactions