Table of Contents

Property RawSimilarity

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

RawSimilarity

Gets the base similarity score prior to any optional reranking.

public float RawSimilarity { get; }

Property Value

float

Examples

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

foreach (PartitionSimilarity match in matches)
{
    Console.WriteLine($"Raw: {match.RawSimilarity:F3}, Final: {match.Similarity:F3}");
}
Share