Table of Contents

Class MultiQueryRetriever

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

Generates multiple query variants from a user question and fuses their retrieval results using Reciprocal Rank Fusion (RRF), improving recall across different phrasings of the same intent.

public static class MultiQueryRetriever
Inheritance
MultiQueryRetriever
Inherited Members

Methods

GenerateQueryVariantsAsync(string, LM, MultiQueryOptions, CancellationToken)

Generates alternative query variants for the given question. The original question is always included as the first element.

Share