Skip to main content
Use GLiDE when an application must map supplied state to bounded outcomes and act on the returned probabilities. Choose the primitive from the classification shape:
  • Use Noul for a binary condition.
  • Use Choice when exactly one category should win.
  • Ask several independent questions when you need several judgments about the same state.

Classify into one category

This example assigns a support request to one issue category:
answer["choice"] is one of the criteria keys. answer["probabilities"] contains the full distribution, and answer["confidence"] is the margin between the two most likely categories.

Act on confidence

Tune the threshold on labeled examples from your application. Include an explicit other or review option when the listed categories are not exhaustive.

Binary classification

For a yes/no condition, use Noul and threshold the returned probability:
A Noul answer returns the probability of true; it does not return a boolean label. Use separate upper and lower thresholds when ambiguous cases should go to review.

Call GLiDE

See authentication, complete response shapes, multiple questions, limits, and errors.