Property Reranker
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
nullif 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.