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
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
audio | readonly | Uint8Array | Raw audio bytes as received from the channel. | packages/core/src/contracts/stt.ts:15 |
languageHint? | readonly | string | Optional BCP-47 language hint, e.g. 'ru'. | packages/core/src/contracts/stt.ts:19 |
mimeType | readonly | string | MIME type of audio, e.g. 'audio/ogg'. | packages/core/src/contracts/stt.ts:17 |
signal? | readonly | AbortSignal | - | packages/core/src/contracts/stt.ts:20 |