ScoringMode enum

Candidate option scoring strategy for DecisionMaker.

Signature:

export declare enum ScoringMode {
  SCORING_AUTO = 0,
  SCORING_SINGLE_TOKEN = 1,
  SCORING_FULL_OPTION = 2,
}

Enumeration Members

Member Value Description
SCORING_AUTO 0 Automatically selects single-token logit lookup when all options have distinct initial tokens, or full-option length-normalized log-probability otherwise.
SCORING_FULL_OPTION 2 Scores the full multi-token sequence of each candidate option using length-normalized log-probabilities.
SCORING_SINGLE_TOKEN 1 Scores each candidate option using a single forward pass over the first token's logit distribution.