Skip to content

SentenceWindowNodeParserParams

SentenceWindowNodeParserParams = object

Defined in: packages/core/src/schema/params.ts:59

Parameters for the SentenceWindowNodeParser

windowSize: number

Defined in: packages/core/src/schema/params.ts:61

The number of sentences on each side of a sentence to capture


windowMetadataKey: string

Defined in: packages/core/src/schema/params.ts:63

The metadata key to store the sentence window under


originalTextMetadataKey: string

Defined in: packages/core/src/schema/params.ts:65

The metadata key to store the original sentence in