Optional
Readonly
personalReadonly
projectFetches 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.
A Promise that resolves to an array of Document instances.
Optional
splitter: BaseDocumentTransformer<DocumentInterface<Record<string, any>>[], DocumentInterface<Record<string, any>>[]>A Promise that resolves with an array of Document instances, each split according to the provided TextSplitter.
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