Our new LangChain Academy Course Deep Research with LangGraph is now live! Enroll for free.
OSS (v1-alpha)
LangChain and LangGraph
import { OpenAIWhisperAudio } from "@langchain/community/document_loaders/fs/openai_whisper_audio"; const filePath = "./src/document_loaders/example_data/test.mp3"; const loader = new OpenAIWhisperAudio(filePath, { transcriptionCreateParams: { language: "en", }, }); const docs = await loader.load(); console.log(docs);