Property MaxRetrievedPartitions
MaxRetrievedPartitions
Gets or sets the maximum number of partitions retrieved per query.
public int MaxRetrievedPartitions { get; set; }
Property Value
- int
The maximum partition count. Default is
5.
Examples
using var chat = new RagChat(ragEngine, chatModel);
// Retrieve more context for complex questions
chat.MaxRetrievedPartitions = 10;