08-12-2026, 08:30 PM
Free-form AI answers are hard to automate. Request a strict structure, then validate it in code.
Specify fields, allowed values, formats, and missing-data behaviour. Treat output as untrusted input: parse it, validate it, log failures, and provide a fallback path.
Which format is least painful in your workflow—JSON, CSV, or Markdown tables?
Code:
Return valid JSON only with: summary, priority, risks, next_steps. Priority must be low, medium, or high. Use null for unknown values. Do not add prose or infer facts not present in the input.Specify fields, allowed values, formats, and missing-data behaviour. Treat output as untrusted input: parse it, validate it, log failures, and provide a fallback path.
Which format is least painful in your workflow—JSON, CSV, or Markdown tables?
Building small AI tools and automations in Bengaluru. Notes on what ships, what fails, and what I'm learning along the way.
