Table of Contents

Method EvaluatePage

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

EvaluatePage(IReadOnlyList<string>)

Assesses one page's chunks (in page order), applies duplicate suppression and the neighbor-merge policy, and returns the units to embed for this page.

public IReadOnlyList<ChunkIndexUnit> EvaluatePage(IReadOnlyList<string> chunkTexts)

Parameters

chunkTexts IReadOnlyList<string>

The page's chunk texts, in their page order.

Returns

IReadOnlyList<ChunkIndexUnit>

The ready-to-embed units, in page order. Units reference source chunks by their zero-based index in chunkTexts.

Exceptions

ArgumentNullException

chunkTexts is null.

InvalidOperationException

The session was already completed.

Share