Interface: NodeParser
A NodeParser generates Nodes from Documents
Extends
Methods
getNodesFromDocuments()
Generates an array of nodes from an array of documents.
Parameters
• documents: BaseNode
<Metadata
>[]
The documents to generate nodes from.
Returns
An array of nodes.
Source
packages/llamaindex/src/nodeParsers/types.ts:13
transform()
Parameters
• nodes: BaseNode
<Metadata
>[]
• options?: any
Returns
Promise
<BaseNode
<Metadata
>[]>
Inherited from
TransformComponent
. transform