Skip to content
Français

NoulQuestion

import type { NoulQuestion } from "@elie-laloum/outpost";
  • typeRequired
    "noul"
    noul discriminator. Return a probability for the yes outcome.
  • instructionsRequired
    string
    Nonempty natural-language instructions for this question.
  • criteriaOptional
    { readonly true: string; readonly false: string; } | undefined
    Optional nonempty descriptions of both true and false outcomes.
export interface NoulQuestion {
  readonly type: "noul";
  readonly instructions: string;
  readonly criteria?: {
    readonly true: string;
    readonly false: string;
  };
}