Table of Contents

Property KeepSpacings

Namespace
LMKit.Retrieval
Assembly
LM-Kit.NET.dll

KeepSpacings

Gets or sets whether to preserve original whitespace in the extracted text.

public bool KeepSpacings { get; set; }

Property Value

bool

The default value is false.

Examples

// Preserve whitespace when chunking preformatted HTML content.
var htmlChunker = new HtmlChunking { KeepSpacings = true };
ragEngine.DefaultIChunking = htmlChunker;
Share