Execute a collapse function on a set of documents and merge their metadatas.
acollapse_docs(
docs: list[Document],
combine_document_func: AsyncCombineDocsProtocol,
**kwargs: Any = {}
) -> Document| Name | Type | Description |
|---|---|---|
docs* | list[Document] | A list of |
combine_document_func* | AsyncCombineDocsProtocol | A function that takes in a list of |
**kwargs | Any | Default: {}Arbitrary additional keyword params to pass to the
|