Class: AudioSubtitlesReader
Transcribe audio a transcript and read subtitles for the transcript as srt
or vtt
format.
Extends
AssemblyAIReader
Constructors
new AudioSubtitlesReader()
new AudioSubtitlesReader(
assemblyAIOptions
?):AudioSubtitlesReader
Creates a new AssemblyAI Reader.
Parameters
• 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
Source
packages/llamaindex/src/readers/AssemblyAIReader.ts:26
Properties
client
protected
client:AssemblyAI
Inherited from
AssemblyAIReader.client
Source
packages/llamaindex/src/readers/AssemblyAIReader.ts:19
Methods
getTranscriptId()
protected
getTranscriptId(params
):Promise
<string
>
Parameters
• params: string
| TranscribeParams
Returns
Promise
<string
>