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
chunkTextsIReadOnlyList<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
chunkTextsis null.- InvalidOperationException
The session was already completed.