Protected
apifyProtected
callerProtected
datasetProtected
datasetLoads 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.
Static
fromCreate an ApifyDatasetLoader by calling an Actor on the Apify platform and waiting for its results to be ready.
The ID or name of the Actor on the Apify platform.
The input object of the Actor that you're trying to run.
Optional
callOptional
clientAn instance of ApifyDatasetLoader
with the results from the Actor run.
Static
fromCreate an ApifyDatasetLoader by calling a saved Actor task on the Apify platform and waiting for its results to be ready.
The ID or name of the task on the Apify platform.
The input object of the task that you're trying to run. Overrides the task's saved input.
Optional
callOptional
clientAn instance of ApifyDatasetLoader
with the results from the task's run.
Generated using TypeDoc
A class that extends the BaseDocumentLoader and implements the DocumentLoader interface. It represents a document loader that loads documents from an Apify dataset.
Example