Graphorin API reference v0.8.0
Graphorin API reference / @graphorin/core / / SttTranscript
Interface: SttTranscript
Defined in: packages/core/src/contracts/stt.ts:32
A finished transcription. trustClass is pinned to 'channel-inbound' by the type: a transcript of a voice note is message-borne channel content and MUST inherit the channel trust boundary (sanitization + taint), no matter which engine produced it.
Stable
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
confidence? | readonly | number | Engine confidence in [0, 1], when reported. | packages/core/src/contracts/stt.ts:37 |
durationMs? | readonly | number | Source audio duration, when known. | packages/core/src/contracts/stt.ts:39 |
language? | readonly | string | Detected BCP-47 language, when the engine reports one. | packages/core/src/contracts/stt.ts:35 |
text | readonly | string | - | packages/core/src/contracts/stt.ts:33 |
trustClass | readonly | "channel-inbound" | Provenance pin - see the interface docs. | packages/core/src/contracts/stt.ts:41 |