compare_outputs
Detect semantic drift by comparing two LLM outputs. Catch silent model regressions in CI by checking a candidate against a baseline.
Instructions
Compare two LLM outputs for semantic similarity (regression detection).
Useful for catching silent model regressions: run this in CI against a known-good baseline output to detect drift when you change prompts or models.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"baseline": "<baseline>",
"candidate": "<candidate>"
},
"name": "compare_outputs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| baseline | Yes | The reference/previous LLM output. | |
| candidate | Yes | The new LLM output to compare against baseline. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||