Property UsesFullContext
UsesFullContext
Gets whether the response uses full document context or passage retrieval.
public bool UsesFullContext { get; }
Property Value
Examples
pdfChat.ResponseGenerationStarted += (sender, e) =>
{
if (e.UsesFullContext)
{
Console.WriteLine("Using the entire document as context for generation.");
}
else
{
Console.WriteLine($"Using {e.PassageCount} retrieved passages as context.");
}
};