<br />

Question configuration for a Boolean Predicate evaluation.

**Signature:**

    export declare interface BooleanQuestion 

## Properties

| Property | Modifiers | Type | Description |
|---|---|---|---|
| [condition](https://developers.google.com/edge/api/mediapipe/js/tasks-decision.booleanquestion#booleanquestioncondition) |   | string | The natural language boolean condition to evaluate. |
| [threshold](https://developers.google.com/edge/api/mediapipe/js/tasks-decision.booleanquestion#booleanquestionthreshold) |   | number | Probability threshold for true. Defaults to 0.5. |
| [temperature](https://developers.google.com/edge/api/mediapipe/js/tasks-decision.booleanquestion#booleanquestiontemperature) |   | number | Softmax temperature override (\> 0.0). When unset or \<= 0, the model's calibrated temperature is used. |
| [normalizePrior](https://developers.google.com/edge/api/mediapipe/js/tasks-decision.booleanquestion#booleanquestionnormalizeprior) |   | boolean | Subtracts the memoized empty-context ("\[None\]") prior distribution in log-probability space to eliminate positional or label bias. |
| [options](https://developers.google.com/edge/api/mediapipe/js/tasks-decision.booleanquestion#booleanquestionoptions) |   | ClassifierOption\[\] | Optional custom false/true option descriptions (defaults to Laya's "false: no, the statement does not hold" and "true: yes, the statement holds"). |
| [context](https://developers.google.com/edge/api/mediapipe/js/tasks-decision.booleanquestion#booleanquestioncontext) |   | string | Optional domain or schema context prepended to the condition. |
| [imageBytes](https://developers.google.com/edge/api/mediapipe/js/tasks-decision.booleanquestion#booleanquestionimagebytes) |   | Uint8Array | Optional raw encoded image bytes (PNG, JPEG, WebP, or TGA) for the context. |
| [audioSamples](https://developers.google.com/edge/api/mediapipe/js/tasks-decision.booleanquestion#booleanquestionaudiosamples) |   | Float32Array | Optional mono 16kHz PCM audio samples in \[-1.0, 1.0\] for the context. |

## BooleanQuestion.condition {#booleanquestioncondition}

The natural language boolean condition to evaluate.

**Signature:**

    condition: string;

## BooleanQuestion.threshold {#booleanquestionthreshold}

Probability threshold for true. Defaults to 0.5.

**Signature:**

    threshold?: number;

## BooleanQuestion.temperature {#booleanquestiontemperature}

Softmax temperature override (\> 0.0). When unset or \<= 0, the model's calibrated temperature is used.

**Signature:**

    temperature?: number;

## BooleanQuestion.normalizePrior {#booleanquestionnormalizeprior}

Subtracts the memoized empty-context ("\[None\]") prior distribution in log-probability space to eliminate positional or label bias.

**Signature:**

    normalizePrior?: boolean;

## BooleanQuestion.options {#booleanquestionoptions}

Optional custom false/true option descriptions (defaults to Laya's "false: no, the statement does not hold" and "true: yes, the statement holds").

**Signature:**

    options?: ClassifierOption[];

## BooleanQuestion.context {#booleanquestioncontext}

Optional domain or schema context prepended to the condition.

**Signature:**

    context?: string;

## BooleanQuestion.imageBytes {#booleanquestionimagebytes}

Optional raw encoded image bytes (PNG, JPEG, WebP, or TGA) for the context.

**Signature:**

    imageBytes?: Uint8Array;

## BooleanQuestion.audioSamples {#booleanquestionaudiosamples}

Optional mono 16kHz PCM audio samples in \[-1.0, 1.0\] for the context.

**Signature:**

    audioSamples?: Float32Array;