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(); Copy
const loader = new FireCrawlLoader({ url: "{url}", apiKey: "{apiKey}", mode: "crawl"});const docs = await loader.load();
Loads the data from the Firecrawl.
An array of Documents representing the retrieved data.
An error if the data could not be loaded.
Loads the documents and splits them using a specified text splitter.
A Promise that resolves with an array of Document instances, each split according to the provided TextSplitter.
Generated using TypeDoc
Class representing a document loader for loading data from Firecrawl (firecrawl.dev). It extends the BaseDocumentLoader class.
Example