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