ClassifierOption interface {#classifieroption_interface}

A single candidate option for binary, categorical, or ordinal questions.

Signature:

export declare interface ClassifierOption 

Properties

Property Modifiers Type Description
label string Short identifier or level label (e.g. "billing", "1", "true").
description string Optional natural language description of the option criteria.
imageBytes Uint8Array Optional encoded image bytes (PNG, JPEG, WebP, or TGA) for multimodal options.
audioSamples Float32Array Optional mono 16kHz PCM audio samples in [-1.0, 1.0] for multimodal options.

ClassifierOption.label {#classifieroptionlabel}

Short identifier or level label (e.g. "billing", "1", "true").

Signature:

label: string;

ClassifierOption.description {#classifieroptiondescription}

Optional natural language description of the option criteria.

Signature:

description?: string;

ClassifierOption.imageBytes {#classifieroptionimagebytes}

Optional encoded image bytes (PNG, JPEG, WebP, or TGA) for multimodal options.

Signature:

imageBytes?: Uint8Array;

ClassifierOption.audioSamples {#classifieroptionaudiosamples}

Optional mono 16kHz PCM audio samples in [-1.0, 1.0] for multimodal options.

Signature:

audioSamples?: Float32Array;