get_evaluator
Fetch an evaluator with all versions and metrics, or request a specific version to inspect its Python source code. Use it to retrieve evaluator details for debugging or reuse.
Instructions
Fetches one Evaluator, or one of its versions with the Python source.
Without version_id it returns the Evaluator with every version, newest first, each with
the Metrics it declares but no source. With version_id it returns that version including
its python_code; pass latest_version.evaluator_version_id to read the current source.
:param evaluator_id: The Evaluator's id.
:param version_id: A version's id, to read that version's source.
:returns: The Evaluator or the version, or an error message.
The output is automatically stored and can be referenced in other functions.
Returns a formatted preview with an object ID (e.g., @obj_123).
Use the object store tools in combination with the object ID to view nested properties of the object.
Use the returned object ID to pass this result to other functions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version_id | No | ||
| evaluator_id | Yes |