Structured output
The ask: enforce schemas on LLM output, validate, retry on parse errors, log failures.
In the fleet
- Draft-gate judges reply in JSON. Malformed replies are parsed, shape-checked, range-checked, and retried once before the judge is discarded.
- The video judge runs a repair chain on almost-JSON (bad escapes, trailing commas) before giving up, then asserts exactly five score keys.
- A contract gate on the article handoff raises on any missing or malformed field before the pipeline spends a cent.
- Eval scorers check field, type and range on every scenario run; parse failures are logged with the reason.
Lives in
Draft-gate panelTasveer video engineFleet eval harnessCaveat: validation is hand-rolled, not Pydantic. The prose-level output contract is prompt-enforced, and only the pro model tier honours it.