Documentation Index Fetch the complete documentation index at: https://langchain-5e9cc07a-preview-naomid-1779801766-572e290.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Document loaders provide a standard interface for reading data from different sources (such as Slack, Notion, or Google Drive) into LangChain’s Document format.
This ensures that data can be handled consistently regardless of the source.
All document loaders implement the BaseLoader interface.
Interface
Each document loader may define its own parameters, but they share a common API:
load(): Loads all documents at once.
loadAndSplit(): Loads all documents at once and splits them into smaller documents.
import { OracleDocLoader } from "@oracle/langchain-oracledb" ;
const loader = new OracleDocLoader ( ,
... // <-- Integration specific parameters here
) ;
const data = await loader . load () ;
By category
LangChain.js categorizes document loaders in two different ways:
File loaders , which load data into LangChain formats from your local filesystem.
Web loaders , which load data from remote sources.
File loaders
Common file types
Document Loader Description Package/API DirectoryLoaderLoad all files from a directory with custom loader mappings Package JSON Load JSON files using JSON pointer to target specific keys Package JSONLinesLoad data from JSONLines/JSONL files Package TextLoad plain text files Package
Specialized file loaders
Document Loader Description Package/API MultiFileLoaderLoad data from multiple individual file paths Package OracleDocLoaderIngest Oracle AI Vector Search tables or Oracle Text-supported files Package
Web loaders
Cloud providers
Document Loader Description Web Support Package/API Google Cloud SQL for PostgreSQL Load documents from Cloud SQL PostgreSQL databases ✅ Package
Audio & video
Document Loader Description Web Support Package/API SonioxTranscribe multilingual audio files with optional translation using Soniox API ✅ API
Other
Document Loader Description Web Support Package/API LangSmithLoad datasets and traces from LangSmith ✅ API
All document loaders
Google Cloud SQL for PostgreSQL