File size: 694 Bytes
90d3e4b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
  "state": "Invoice INV-1042. Vendor: Northwind. Total: USD 125.00. Status: unpaid. Payment is due today.",
  "questions": {
    "paid": {
      "type": "noul",
      "instructions": "Has this invoice already been paid?",
      "criteria": {"false": "Unpaid", "true": "Paid"}
    },
    "currency": {
      "type": "choice",
      "instructions": "Which currency is explicitly stated?",
      "criteria": {"usd": "US dollars (USD)", "eur": "Euros (EUR)", "unknown": "Not stated"}
    },
    "amount_band": {
      "type": "score",
      "instructions": "Which ordered band contains the stated numeric total?",
      "criteria": ["Below 100", "100 through 999.99", "1000 or more"]
    }
  }
}