File size: 753 Bytes
d982b89
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
  "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"
      ]
    }
  }
}