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