jiffy / examples /diffusion-decisions.json
kidzik's picture
Release Jiffy v0.1.0 experimental inference adapter
90d3e4b verified
Raw
History Blame Contribute Delete
694 Bytes
{
"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"]
}
}
}