Transcribe audio or retrieve an existing transcript by its ID.
The parameters to transcribe audio, or the ID of the transcript to retrieve.
OptionalassemblyAIOptions: 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.
ProtectedclientProtected OptionaltranscribeProtected OptionaltranscriptTranscribe audio and load the transcript as a document using AssemblyAI.
A promise that resolves to a single document containing the transcript text as the page content, and the transcript object as the metadata.
Optionalsplitter: BaseDocumentTransformer<DocumentInterface<Record<string, any>>[], DocumentInterface<Record<string, any>>[]>A Promise that resolves with an array of Document instances, each split according to the provided TextSplitter.
Protectedtranscribe
Transcribe audio and load the transcript as a document using AssemblyAI.