EvalSampleAudioObject
Example Usage
typescript
import { EvalSampleAudioObject } from "@meetkai/mka1/models/components";
let value: EvalSampleAudioObject = {
object: "eval.sample.audio",
audio: "<value>",
sampleIndex: 256441,
taskId: "<id>",
model: "F-150",
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
object | "eval.sample.audio" | ✔️ | N/A |
audio | string | ✔️ | Playable clip reference: a base64 data: URI or an http(s) URL. |
sampleIndex | number | ✔️ | Echoes the requested sample index so the client has a complete cache key without tracking it. |
taskId | string | ✔️ | The task the clip was resolved from (the clip differs across tasks). |
model | string | ✔️ | The model row the clip was read from. The clip is identical across models within a task. |