Transcribe audio or retrieve an existing transcript by its ID.
The parameters to transcribe audio, or the ID of the transcript to retrieve.
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
transcribeProtected
Optional
transcriptTranscribe audio and load the paragraphs of the transcript, creating a document for each paragraph.
A promise that resolves to an array of documents, each containing a paragraph of the transcript.
Optional
splitter: 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.
Protected
transcribe
Transcribe audio and load the paragraphs of the transcript, creating a document for each paragraph.