{ "state": { "message": "Please review the attached invoice before payment. The amount is 120 USD." }, "questions": { "document_type": { "type": "choice", "instructions": "What document type is mentioned in `message`?", "criteria": { "invoice": "An invoice requesting payment", "contract": "A legal agreement", "resume": "A job application resume" } }, "mentions_payment": { "type": "noul", "instructions": "Does `message` mention payment?" }, "urgency": { "type": "score", "instructions": "How urgent is `message`?", "criteria": [ "No urgency stated", "Moderate urgency", "Immediate action required" ] } } }