Table of Contents

Class HydeRetriever

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

Generates a hypothetical answer to the user's question and uses it as the retrieval query, bridging the gap between question phrasing and document phrasing (Hypothetical Document Embeddings).

public static class HydeRetriever
Inheritance
HydeRetriever
Inherited Members

Methods

GenerateHypotheticalAnswerAsync(string, LM, HydeOptions, CancellationToken)

Generates a hypothetical answer for the given question.

Share