Table of Contents

Property Reranker

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

Reranker

Gets or sets the RagEngine.RagReranker used to optionally rerank retrieval results.

public RagEngine.RagReranker Reranker { get; set; }

Property Value

RagEngine.RagReranker

The reranker instance, or null if reranking is disabled.

Remarks

Reranking is applied when calling FindMatchingPartitions(string, int, float, bool, bool, CancellationToken) or FindMatchingPartitionsAsync(string, int, float, bool, bool, CancellationToken).

If set to null, no reranking is performed and only raw similarity scores are used for ranking.