Creates a new AudioSubtitleLoader.
The parameters to create the transcript.
The format of the subtitles, either srt or vtt.
Optional assemblyAIOptions: AssemblyAIOptionsThe options to configure the AssemblyAI loader.
Configure the assemblyAIOptions.apiKey with your AssemblyAI API key, or configure it as the ASSEMBLYAI_API_KEY environment variable.
Creates a new AudioSubtitleLoader.
The ID of the transcript to retrieve.
The format of the subtitles, either srt or vtt.
Optional assemblyAIOptions: AssemblyAIOptionsThe options to configure the AssemblyAI loader.
Configure the assemblyAIOptions.apiKey with your AssemblyAI API key, or configure it as the ASSEMBLYAI_API_KEY environment variable.
Protected clientProtected Optional CreateProtected Optional transcriptLoads the documents and splits them using a specified text splitter.
A Promise that resolves with an array of Document instances, each split according to the provided TextSplitter.
Protected getGenerated using TypeDoc
Creates a transcript and loads subtitles for the transcript as
srtorvttformat.Example