transformDocuments(
documents: Document<Record<string, any>>[],
chunkHeaderOptions: TextSplitterChunkHeaderOptions =| Name | Type | Description |
|---|---|---|
documents* | Document<Record<string, any>>[] | |
chunkHeaderOptions | TextSplitterChunkHeaderOptions | Default: {} |
Transform a list of documents.
A sequence of documents to be transformed.