ApifyDatasetMappingFunction<Metadata>: ((item) => Toolkit<Metadata> | Toolkit<Metadata>[] | Promise<Toolkit<Metadata> | Toolkit<Metadata>[]>)

Type Parameters

  • Metadata extends Record<string, any>

Type declaration

⚠️ Deprecated ⚠️

This feature is deprecated and will be removed in the future.

It is not recommended for use.

  • Import from "@langchain/community/document_loaders/web/apify_dataset" instead. This entrypoint will be removed in 0.3.0. A type that represents a function that takes a single object (an Apify dataset item) and converts it to an instance of the Document class.

Change function signature to only be asynchronous for simplicity in v0.1.0 https://github.com/langchain-ai/langchainjs/pull/3262

Generated using TypeDoc