Bud Decision Studio documentation

Bud Decision Studio runs open decision models on your own computer. You describe a situation, ask questions about it, and get calibrated probabilities back, with every decision kept in a history you can review. Start in the app, or call it from your code.

POST/v1/studio/decisions
curl -s http://127.0.0.1:8420/v1/studio/decisions -d '{  "state": {    "ticket": "We were billed twice for March. Refund the duplicate today or we cancel.",    "plan": "enterprise"  },  "questions": {    "department": {      "type": "choice",      "instructions": "Which team should handle this ticket?",      "criteria": {"billing": "invoices, payments, refunds",                   "technical": "bugs and outages",                   "sales": "pricing and upgrades"}    },    "churn_risk": {      "type": "noul",      "instructions": "Does the customer threaten to cancel?"    }  }}'
Response200 OK
{  "id": "dec_01M3TDKH7M3GAHDWDK87SV6NYB",  "object": "decision",  "status": "completed",  "model": "laya",  "answers": {    "department": {      "type": "choice",      "choice": "billing",      "probabilities": {"billing": 0.9815, "technical": 0.0094, "sales": 0.0091},      "certainty": 0.9815,      "act": true    },    "churn_risk": {      "type": "noul",      "noul": 0.8696,      "probabilities": {"false": 0.1304, "true": 0.8696},      "certainty": 0.8696,      "act": false    }  },  "act": false,  "needs_review": ["churn_risk"],  "store": "full"}