Class: AudioTranscriptReader
Transcribe audio and read the transcript as a document using AssemblyAI.
Hierarchy
-
AssemblyAIReader
↳
AudioTranscriptReader
Constructors
constructor
• new AudioTranscriptReader(assemblyAIOptions?
): AudioTranscriptReader
Creates a new AssemblyAI Reader.
Parameters
Name | Type | Description |
---|---|---|
assemblyAIOptions? | Partial <BaseServiceParams > | The options to configure the AssemblyAI Reader. Configure the assemblyAIOptions.apiKey with your AssemblyAI API key, or configure it as the ASSEMBLYAI_API_KEY environment variable. |
Returns
Inherited from
AssemblyAIReader.constructor
Defined in
packages/core/src/readers/AssemblyAIReader.ts:25
Properties
client
• Protected
client: AssemblyAI
Inherited from
AssemblyAIReader.client
Defined in
packages/core/src/readers/AssemblyAIReader.ts:18
Methods
getTranscriptId
▸ getTranscriptId(params
): Promise
<string
>
Parameters
Name | Type |
---|---|
params | string | TranscribeParams |
Returns
Promise
<string
>