Skip to content

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

PropertyModifierTypeDescriptionDefined in
confidence?readonlynumberEngine confidence in [0, 1], when reported.packages/core/src/contracts/stt.ts:37
durationMs?readonlynumberSource audio duration, when known.packages/core/src/contracts/stt.ts:39
language?readonlystringDetected BCP-47 language, when the engine reports one.packages/core/src/contracts/stt.ts:35
textreadonlystring-packages/core/src/contracts/stt.ts:33
trustClassreadonly"channel-inbound"Provenance pin - see the interface docs.packages/core/src/contracts/stt.ts:41