Table of Contents

Property KeywordStrategy

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

KeywordStrategy

Gets the strategy used for keyword (lexical) retrieval.

public IRetrievalStrategy KeywordStrategy { get; }

Property Value

IRetrievalStrategy

Examples

var hybrid = new HybridRetrievalStrategy();

// Inspect the default keyword sub-strategy.
IRetrievalStrategy keywordSub = hybrid.KeywordStrategy;
bool usesEmbedding = keywordSub.RequiresQueryVector; // false (BM25)
Share