⚠️ Deprecated ⚠️

This feature is deprecated and will be removed in the future.

It is not recommended for use.

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

Example

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.

    Throws

    An error if the data could not be loaded.

Generated using TypeDoc