An instance of a speech-to-text adapter.

Remarks

This class is abstract, and as such cannot be used directly. Instead, use a provider plugin that exports its own child STT class, which inherits this class's methods.

Hierarchy (view full)

Constructors

Properties

label: string = 'deepgram.STT'

Accessors

  • get capabilities(): STTCapabilities
  • Returns this STT's capabilities

    Returns STTCapabilities

Methods

  • Receives an audio buffer and returns transcription in the form of a SpeechEvent

    Parameters

    Returns Promise<SpeechEvent>