01Schema-validated extraction over summaries
- Decision
- Ask the LLM for a typed JSON object and validate it, retrying on failure, instead of storing a prose summary.
- Alternatives
- A paragraph summary per call, or keyword rules over the transcript.
- Why
- Typed fields can be filtered, aggregated and checked; a paragraph can only be read. Validation turns a malformed answer into a retry instead of bad data.
- Cost of being wrong
- The schema has to be designed up front and versioned; changing it means reprocessing old calls.