Option B correctly identifies the benefit of combining explicit evaluation criteria with representative labeled examples in a few-shot prompt.
Few-shot prompting provides a language model with a small number of examples demonstrating how a task should be performed.
For an internal audit classification task, the agent must distinguish control descriptions that satisfy defined requirements from those that do not.
The prompt should first establish the agent's role and the criteria used to classify a control as Adequate or Inadequate.
Labeled examples then demonstrate how those criteria apply to representative control descriptions.
For example, an adequate control may specify a responsible owner, execution frequency, evidence requirements, and a clearly defined verification procedure.
An inadequate control might omit accountability, provide vague operating instructions, or fail to establish measurable compliance requirements.
The examples help the agent recognize the expected classification behavior when evaluating a new description.
Option A incorrectly suggests that examples eliminate the need for explicit success criteria. Option C would permit inconsistent modification of audit requirements. Option D overlooks the instructional value of the labeled examples.
UiPath recommends including representative input-output examples while avoiding excessive examples that unnecessarily increase prompt size.
A reliable implementation should also evaluate borderline descriptions and ensure that classification criteria remain consistent across executions.
Official UiPath references/topics: Agents — Prompts, Writing Effective Prompts; Best Practices for Building Agents.
Submit