Class: SimpleNodeParser
SimpleNodeParser is the default NodeParser. It splits documents into TextNodes using a splitter, by default SentenceSplitter
Implements
Constructors
new SimpleNodeParser()
new SimpleNodeParser(
init
?):SimpleNodeParser
Parameters
• init?
• init.chunkOverlap?: number
• init.chunkSize?: number
• init.includeMetadata?: boolean
• init.includePrevNextRel?: boolean
• init.splitLongSentences?: boolean
• init.textSplitter?: SentenceSplitter
Returns
Source
packages/core/src/nodeParsers/SimpleNodeParser.ts:24