• Import from "@langchain/community/document_loaders/web/assemblyai" instead. This entrypoint will be removed in 0.3.0. Transcribe audio and load the paragraphs of the transcript, creating a document for each paragraph.

Hierarchy

  • CreateTranscriptLoader
    • AudioTranscriptParagraphsLoader

Constructors

  • Transcribe audio or retrieve an existing transcript by its ID.

    Parameters

    • params: string | TranscribeParams

      The parameters to transcribe audio, or the ID of the transcript to retrieve.

    • OptionalassemblyAIOptions: AssemblyAIOptions

      The 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.

    Returns AudioTranscriptParagraphsLoader

Properties

client: AssemblyAI
transcribeParams?: TranscribeParams
transcriptId?: string

Methods

  • Transcribe audio and load the paragraphs of the transcript, creating a document for each paragraph.

    Returns Promise<Document<TranscriptParagraph>[]>

    A promise that resolves to an array of documents, each containing a paragraph of the transcript.

""