Reference · Glossary
Output validation
Last updated
Checking model responses against **schema, regex, or policy rules** before showing or storing them.
When to use
APIs returning JSON, customer-facing text with PII rules, financial summaries.
When not to
Internal brainstorming with human review on every line anyway.
Example
Reject JSON missing required `citations` array before rendering RAG answer.