Evaluator Plugin
Use this skill when the task is about Evaluator functionality on the plugin architecture. The plugin-backed CLI surface is nemo evaluator; the legacy generated nemo evaluation API command group is not the target surface for new guidance.
Current Surfaces
- a minimal
nemo.serviceshealth surface - an SDK-backed
nemo.jobsentry,evaluator.evaluate, for inline metric execution - a minimal CLI and SDK namespace
- plugin-owned docs and skills directories
CLI Commands
Prerequisite: activate the Python virtual environment before invoking the
nemoCLI:source .venv/bin/activate.
Check plugin status from the CLI:
nemo evaluator info
Inspect the registered job contract:
nemo evaluator evaluate explain
Run an inline exact-match metric:
nemo evaluator evaluate run --spec '{"metric":{"type":"exact-match","reference":"{{item.expected}}","candidate":"{{item.model_output}}"},"dataset":[{"expected":"blue","model_output":"Blue"},{"expected":"Jupiter","model_output":"Saturn"}],"params":{"parallelism":2}}'
Run an inline string-check metric:
nemo evaluator evaluate run --spec '{"metric":{"type":"string-check","operation":"contains","left_template":"{{item.answer}}","right_template":"NeMo"},"dataset":[{"answer":"NeMo Platform supports evaluator plugins."}]}'
For non-trivial specs, prefer --spec-file over inline shell JSON:
nemo evaluator evaluate run --spec-file evaluation-spec.json
Submit the same spec to a cluster:
nemo evaluator evaluate submit \
--spec-file evaluation-spec.json \
--workspace default \
--profile default
Use nemo evaluator evaluate explain as the source of truth for the current plugin job schema.
Evaluation Specs
The current job accepts inline SDK-backed evaluation specs. At a high level, specs describe:
metric: inline Evaluator SDK metric configuration or benchmark metricsdataset: inline rows to evaluateparams: optional Evaluator SDK execution parameterstarget: optional model or agent target for online evaluation
For LLM-judge setup notes, see LLM Judge Notes.
For evaluator API key auth, see Evaluator API Auth.
For local and cluster troubleshooting, see Evaluation Troubleshooting.
Call the SDK-backed status route through the platform SDK:
from nemo_platform import NeMoPlatform
client = NeMoPlatform(base_url="http://localhost:8000")
status = client.evaluator.plugin_status()
Next Decisions
Before replacing stubs, verify the target surface:
- service route adaptation
- job submission or compilation strategy
- packaging split between service and task dependencies