• Import from "@langchain/community/document_loaders/web/firecrawl" instead. This entrypoint will be removed in 0.3.0.

Class representing a document loader for loading data from Firecrawl (firecrawl.dev). It extends the BaseDocumentLoader class.

const loader = new FireCrawlLoader({
url: "{url}",
apiKey: "{apiKey}",
mode: "crawl"
});
const docs = await loader.load();

Hierarchy (view full)

Constructors

Methods

Constructors

Methods

  • Loads the data from the Firecrawl.

    Returns Promise<DocumentInterface[]>

    An array of Documents representing the retrieved data.

    An error if the data could not be loaded.