Console ↗

Speculative fan-out

Prepare independent questions together when they use the same evidence. Read the answers in code, then discard branches that do not apply.

Ticket triage

A billing ticket may report a duplicate charge, request a refund, or do both. Ask both questions in one call and keep each signal available to the dispatcher.

Request

{
  "model": "ngila-judge",
  "state": "My card was charged twice. Please refund one charge.",
  "questions": {
    "duplicate": {
      "type": "noul",
      "instructions": "Does the customer report a duplicate charge?"
    },
    "refund": {
      "type": "noul",
      "instructions": "Is the customer asking for a refund?"
    }
  }
}

Apply the result

A duplicate charge can open an investigation even when the customer hasn’t requested a refund. In this fragment, a is the answers object.

if a["duplicate"]["noul"] >= 0.9:
    queue_for_billing_review()

Worked example