Class: AudioTranscriptSentencesReader
Transcribe audio and return a document for each sentence.
Hierarchy
-
AssemblyAIReader
↳
AudioTranscriptSentencesReader
Constructors
constructor
• new AudioTranscriptSentencesReader(assemblyAIOptions?
): AudioTranscriptSentencesReader
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
AudioTranscriptSentencesReader
Inherited from
AssemblyAIReader.constructor
Defined in
packages/core/src/readers/AssemblyAIReader.ts:26
Properties
client
• Protected
client: AssemblyAI
Inherited from
AssemblyAIReader.client
Defined in
packages/core/src/readers/AssemblyAIReader.ts:19
Methods
getTranscriptId
▸ getTranscriptId(params
): Promise
<string
>
Parameters
Name | Type |
---|---|
params | string | TranscribeParams |