Describes the capabilities of the STT provider.

Remarks

At present, the framework only supports providers that have a streaming endpoint.

interface STTCapabilities {
    alignedTranscript?: false | "word" | "chunk";
    chatContext?: boolean;
    diarization?: boolean;
    interimResults: boolean;
    keyterms?: boolean;
    manualFlush?: boolean;
    streaming: boolean;
}

Properties

alignedTranscript?: false | "word" | "chunk"

Whether this STT supports aligned transcripts with word/chunk timestamps.

  • 'word': Provider returns word-level timestamps
  • 'chunk': Provider returns chunk-level timestamps (e.g., sentence/phrase boundaries)
  • false: Provider does not support aligned transcripts
chatContext?: boolean

Whether the STT can natively consume conversation context (see STT._pushConversationItem)

diarization?: boolean

Whether this STT supports speaker diarization.

interimResults: boolean
keyterms?: boolean

Whether the STT supports keyterm prompting

manualFlush?: boolean

Whether the STT supports flushing the stream to finalize a segment.

When enabled, manual turn commits request a flush. With a turn detector, automatic flushing occurs immediately for positive or unavailable end-of-turn predictions, or halfway through the maximum endpointing delay for negative ones. Without a turn detector, VAD end of speech requests the flush. Text-based end-of-turn detection uses final transcripts only, so flushing precedes its first prediction if no final transcript is available. Disable this for custom STT nodes that buffer audio and manage flushing themselves.

streaming: boolean