Option C identifies the specific Context Grounding setting that controls the maximum number of retrieved chunks returned for an agent query.
UiPath Context Grounding allows agents to retrieve relevant content from indexed enterprise documents. When the Semantic search strategy is selected, developers can configure parameters that influence retrieval precision and result quantity.
The Max results generated setting determines how many chunks Context Grounding returns in response to the query.
Increasing this value allows more retrieved passages to be included in the grounding payload. This may improve coverage when information is distributed across several document sections.
However, returning additional chunks also increases the amount of context supplied to the language model, potentially raising token consumption and introducing irrelevant information.
Reducing the value limits the retrieved content and can improve efficiency when the most relevant information appears within a small number of chunks.
Option B describes the Relevance score threshold, which filters retrieved chunks according to their similarity scores rather than defining the maximum result count.
Option A is not the documented parameter. Option D concerns the language model's broader context capacity rather than Context Grounding's retrieval-result limit.
UiPath recommends calibrating the result count together with the relevance threshold to balance retrieval completeness, precision, and token efficiency.
Official UiPath references/topics: Agents — Contexts, Semantic Search Strategy, Max Results Generated, and Relevance Score Threshold.