Table of Contents

Property HydeOptions

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

HydeOptions

Gets the options that control how hypothetical answers are generated when QueryGenerationMode is set to HypotheticalAnswer.

public HydeOptions HydeOptions { get; }

Property Value

HydeOptions

The HyDE retrieval options. This instance is never null.

Examples

using var chat = new RagChat(ragEngine, chatModel);

// Use hypothetical answer retrieval with a larger token budget
chat.QueryGenerationMode = QueryGenerationMode.HypotheticalAnswer;
chat.HydeOptions.MaxCompletionTokens = 1024;
See Also
Share