Console ↗

Routing by probability

Use different cutoffs for actions with different consequences. Keep the probability for the specific event you intend to act on.

Triage citations

A disputed quote can be unsupported, contradicted, or accurate. Use the probability assigned to contradiction to decide when to flag it for review.

Request

{
  "model": "ngila-judge",
  "state": {
    "claim": "The museum opens on Monday.",
    "source": "Open Tuesday to Sunday, 10 am to 6 pm."
  },
  "questions": {
    "support": {
      "type": "choice",
      "instructions": "How does the source relate to the claim?",
      "criteria": {
        "Supports": "",
        "Contradicts": "",
        "Insufficient information": ""
      }
    }
  }
}

Apply the result

Set different cutoffs for actions with different costs, such as opening a review or blocking publication. In this fragment, a is the answers object.

p = a["support"]["probabilities"]["Contradicts"]
if p >= contradiction_threshold:
    flag_citation()

Worked example