You can use the AssemblyAI readers from LlamaIndex.TS to transcribe audio files inside your LlamaIndex applications.
ASSEMBLYAI_API_KEY
environment variable or the apiKey
options parameter.
AudioTranscriptParagraphsReader
or AudioTranscriptSentencesReader
to split the transcript into paragraphs or sentences.audio
parameter can be a URL, a local file path, a file buffer, or a stream.audio
can also be a video file. See the list of supported file types in the FAQ doc.apiKey
option, the loader will use the ASSEMBLYAI_API_KEY
environment variable.audio
. Find the full list of request parameters in the AssemblyAI API docs.AudioSubtitlesReader
to get srt
or vtt
subtitles as a document.