MediaPipeTasksDecision Framework Reference

Structures

The following declarations are available globally.

  • Configuration for evaluating a natural-language boolean predicate.

    Declaration

    Swift

    struct BooleanQuestion: Sendable, Equatable
  • Calibrated result of evaluating a BooleanQuestion.

    Declaration

    Swift

    struct BooleanResult: Sendable, Equatable
  • Configuration for evaluating a mutually exclusive categorical choice menu.

    Declaration

    Swift

    struct ChoiceQuestion: Sendable, Equatable
  • Calibrated result of evaluating a ChoiceQuestion.

    Declaration

    Swift

    struct ChoiceResult: Sendable, Equatable
  • Configuration options for initializing a DecisionMaker task instance.

    Declaration

    Swift

    struct DecisionMakerOptions: Sendable, Equatable
  • Configuration for evaluating an ordered rubric of levels and computing a continuous expected score.

    Declaration

    Swift

    struct ScoreQuestion: Sendable, Equatable
  • Calibrated result of evaluating a ScoreQuestion.

    Declaration

    Swift

    struct ScoreResult: Sendable, Equatable