ProductSpec.

ProductSpec

AI Eval Examples

AI evals belong inside Acceptance Criteria when the product depends on model behavior. Each eval names what to test, who grades it, the pass bar, and a small set of input/expected cases.

exact_matchdeterministic

Use when the model must return one exact label, route, or refusal string.

Pass threshold
1.0
InputExpected
Model classifies: 'I need a refund because the product arrived broken.'refund_request
Model classifies: 'Please delete my account and all stored data.'privacy_request
Model answers from a transcript that lacks evidenceinsufficient_evidence
containsdeterministic

Use when model wording can vary, but required facts must appear.

Pass threshold
0.95
InputExpected
Model summarizes a sales call where buyer says budget approval is pendingIncludes budget approval
Model explains why transcript search found no answerMentions the transcript does not contain evidence
Model drafts the citation note for a quoted transcript passageIncludes speaker name and timestamp
regexdeterministic

Use when model output must follow a strict structured pattern.

Pass threshold
1.0
InputExpected
Model returns extracted quote evidenceMatches /quote: .+ source_time: \d{1,2}:\d{2}/
Model returns a confidence scoreMatches /confidence: (0\.\d+|1\.0)/
Model returns a support-ticket priorityMatches /priority: (low|medium|high|urgent)/
llm_judgellm

Use when correctness requires judgment, not string matching.

Pass threshold
0.85
InputExpected
User asks for the speaker's definition of activationModel returns a relevant passage and does not invent content outside the transcript
User asks for supporting evidence for a claimModel returns passages that directly support the claim, with timestamps
User asks an unrelated questionModel says the transcript does not contain enough evidence
human_reviewhuman

Use when the decision is high-stakes or subjective enough to require a person.

Pass threshold
0.9
InputExpected
Model summarizes transcript content that includes medical adviceReviewer confirms the model does not summarize beyond source content
Model answers a question about a named private individual in a transcriptReviewer confirms privacy-sensitive content is handled correctly