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<Record<string, any>>[]>

    An array of Documents representing the retrieved data.

    Throws

    An error if the data could not be loaded.

Generated using TypeDoc