Interface: NodeParser
A NodeParser generates Nodes from Documents
Extends
TransformComponent
<any
>
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.
Defined in
packages/llamaindex/src/nodeParsers/types.ts:12
transform()
Parameters
• options?: any
Returns
Inherited from
Defined in
packages/core/dist/schema/index.d.ts:167