Skip to content

Graphorin API reference v0.8.0


Graphorin API reference / @graphorin/core / / SttTranscriptionRequest

Interface: SttTranscriptionRequest

Defined in: packages/core/src/contracts/stt.ts:13

Speech-to-text seam. The canonical adapter name is SttAdapter; this single definition is consumed by the channel gateway (@graphorin/channels, voice notes) and by any future voice pipeline, so the two can never diverge on the contract.

The framework ships NO implementations - engines (whisper.cpp, faster-whisper, cloud APIs) live in application repositories or opt-in packages.

Stable

Properties

PropertyModifierTypeDescriptionDefined in
audioreadonlyUint8ArrayRaw audio bytes as received from the channel.packages/core/src/contracts/stt.ts:15
languageHint?readonlystringOptional BCP-47 language hint, e.g. 'ru'.packages/core/src/contracts/stt.ts:19
mimeTypereadonlystringMIME type of audio, e.g. 'audio/ogg'.packages/core/src/contracts/stt.ts:17
signal?readonlyAbortSignal-packages/core/src/contracts/stt.ts:20