<br />

Question configuration for an Ordinal Score evaluation.

**Signature:**

```typescript
export declare interface ScoreQuestion 
```

## Properties

| Property | Modifiers | Type | Description |
|---|---|---|---|
| [rubric](https://developers.google.com/edge/api/mediapipe/js/tasks-decision.scorequestion.md.txt#scorequestionrubric) |   | string\[\] | List of ordered rubric grade descriptors from lowest to highest. |
| [options](https://developers.google.com/edge/api/mediapipe/js/tasks-decision.scorequestion.md.txt#scorequestionoptions) |   | ClassifierOption\[\] | Ordered list of rubric levels with `{ label, description }`. When all `label` values parse as finite numbers (e.g. "1".."5"), `expectedScore` is computed directly over those numeric level values. |
| [temperature](https://developers.google.com/edge/api/mediapipe/js/tasks-decision.scorequestion.md.txt#scorequestiontemperature) |   | number | Softmax temperature override (\> 0.0). When unset or \<= 0, the model's calibrated temperature is used. |
| [instructions](https://developers.google.com/edge/api/mediapipe/js/tasks-decision.scorequestion.md.txt#scorequestioninstructions) |   | string | Optional task instruction prompt for the model. |
| [context](https://developers.google.com/edge/api/mediapipe/js/tasks-decision.scorequestion.md.txt#scorequestioncontext) |   | string | Optional domain or schema context prepended to instructions. |
| [imageBytes](https://developers.google.com/edge/api/mediapipe/js/tasks-decision.scorequestion.md.txt#scorequestionimagebytes) |   | 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.scorequestion.md.txt#scorequestionaudiosamples) |   | Float32Array | Optional mono 16kHz PCM audio samples in \[-1.0, 1.0\] for the context. |

## ScoreQuestion.rubric

List of ordered rubric grade descriptors from lowest to highest.

**Signature:**

```typescript
rubric?: string[];
```

## ScoreQuestion.options

Ordered list of rubric levels with `{ label, description }`. When all `label` values parse as finite numbers (e.g. "1".."5"), `expectedScore` is computed directly over those numeric level values.

**Signature:**

```typescript
options?: ClassifierOption[];
```

## ScoreQuestion.temperature

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

**Signature:**

```typescript
temperature?: number;
```

## ScoreQuestion.instructions

Optional task instruction prompt for the model.

**Signature:**

```typescript
instructions?: string;
```

## ScoreQuestion.context

Optional domain or schema context prepended to instructions.

**Signature:**

```typescript
context?: string;
```

## ScoreQuestion.imageBytes

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

**Signature:**

```typescript
imageBytes?: Uint8Array;
```

## ScoreQuestion.audioSamples

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

**Signature:**

```typescript
audioSamples?: Float32Array;
```