Cited Extract
AI · Open sourceScreenshots of the live product.
Turns documents into typed JSON. Define the fields, paste a contract or drop in a PDF, and every value comes back with a citation to the exact sentence it came from.
- Problem
- Language models fill gaps with confident guesses, which is unacceptable for contracts.
- Solution
- A value survives only if it passes its declared type and its quote is found verbatim in the source. Anything else comes back null, enforced in code rather than in the prompt.
- My role
- Built end to end
- Stack
- Next.js/
- TypeScript/
- OpenAI structured outputs/
- Zod/
- Supabase
- Document + field schema
- OpenAI structured output
- Zod type check
- Key part: Quote found verbatim?
- Typed JSON with citations
No verbatim match → the value is null, never a guess
