Optional batchOptional cleanup?: CleanupModeThe cleanup mode to use. Can be "full", "incremental" or undefined.
Optional cleanupBatch size to use when cleaning up documents.
Optional forceForce update documents even if they are present in the record manager. Useful if you are re-indexing with updated embeddings.
Optional sourceOptional key that helps identify the original source of the document. Must either be a string representing the key of the source in the metadata or a function that takes a document and returns a string representing the source. Required when cleanup is incremental.
Generated using TypeDoc
The number of documents to index in one batch.