Table of Contents

Field PartitionIndex

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

Gets the index of the partition in its container Section object.

public readonly int PartitionIndex

Returns

int

The zero-based index of the partition within its section

Examples

var matches = ragEngine.FindMatchingPartitions("embeddings", topK: 3);

foreach (PartitionSimilarity match in matches)
{
    Console.WriteLine(
        $"Section '{match.SectionIdentifier}', partition #{match.PartitionIndex}");
}
Share