Class: SimpleNodeParser
SimpleNodeParser is the default NodeParser. It splits documents into TextNodes using a splitter, by default SentenceSplitter
Implements
Constructors
constructor
• new SimpleNodeParser(init?
)
Parameters
Name | Type |
---|---|
init? | Object |
init.chunkOverlap? | number |
init.chunkSize? | number |
init.includeMetadata? | boolean |
init.includePrevNextRel? | boolean |
init.textSplitter? | SentenceSplitter |
Defined in
packages/core/src/NodeParser.ts:106