Scorers
LLM-backed scorers in Stratix — model + prompt, when to use them, when to use a judge instead.
Last updated
Was this helpful?
Was this helpful?
Rate the OUTPUT on a 1–5 scale for factual accuracy against the EXPECTED answer.
5 = every claim correct.
3 = mostly correct with one minor error.
1 = materially wrong.
Return only the integer.
EXPECTED: {{expected}}
OUTPUT: {{output}}Does OUTPUT contain a citation that exists in CONTEXT?
Return "yes" or "no" only.
CONTEXT: {{context}}
OUTPUT: {{output}}Evaluate OUTPUT and return a JSON object:
{
"score": <0–1>,
"violations": [...],
"rationale": "..."
}
INPUT: {{input}}
OUTPUT: {{output}}