Interface: NodeParser
A NodeParser generates TextNodes from Documents
Implemented by
Methods
getNodesFromDocuments
▸ getNodesFromDocuments(documents
): TextNode
<Metadata
>[]
Generates an array of nodes from an array of documents.
Parameters
Name | Type | Description |
---|---|---|
documents | Document <Metadata >[] | The documents to generate nodes from. |
Returns
An array of nodes.