Class representing a document loader for loading Taskade project. It
extends the BaseDocumentLoader and implements the TaskadeLoaderParams
interface. The constructor takes a config object as a parameter, which
contains the personal access token and project ID.
Fetches the Taskade project using the Taskade API, creates a Document instance
with the JSON representation of the file as the page content and the
API URL as the metadata, and returns it.
Returns Promise<Document[]>
A Promise that resolves to an array of Document instances.
Class representing a document loader for loading Taskade project. It extends the BaseDocumentLoader and implements the TaskadeLoaderParams interface. The constructor takes a config object as a parameter, which contains the personal access token and project ID.
Example