invoke(
input: DocumentInterface<Record<string, any>>[],
_options: BaseCallbackConfig
)| Name | Type | Description |
|---|---|---|
input* | DocumentInterface<Record<string, any>>[] | |
_options | BaseCallbackConfig |
Method to invoke the document transformation. This method calls the transformDocuments method with the provided input.
The input documents to be transformed.
Optional configuration object to customize the behavior of callbacks.