Exam UiPath-AAAv1 Topic 1 Question 36 Discussion
Actual exam question for UiPath's UiPath-AAAv1 exam
Question #: 36
Topic #: 1
Question #: 36
Topic #: 1
A developer is implementing a few-shot structured prompt for an email classification task. The prompt includes examples of email subjects labeled with their respective classifications, such as "Spam" or "Work." What is the most important aspect to consider when selecting examples for the prompt?
Suggested Answer: C Vote an answer
The correct answer isC- the most critical aspect of designing a few-shot prompt in UiPath'sLLM-driven agent frameworkis selecting examples that arediverse,representative, andrelevantto the actual data the agent will encounter in production.
In afew-shot structured prompt, examples are used to demonstrate a pattern the model should follow.
UiPath recommends:
* Usingrealistic examplesfrom actual user inputs or support tickets
* Coveringedge casesor variations in phrasing and tone
* Matching thedesired output structureexactly (e.g., Input: ..., Output: ...) These patterns help the LLMinfer the task correctlyandmaintain consistency, especially when processing unstructured inputs like email subjects.
Option A is incorrect - introducing incorrect labels degrades performance and adds confusion.
B is wrong - the number of examples depends on thetask complexity and token budget. Sometimes 3-5 is ideal.
D undermines task alignment - random examples reduce accuracy and coherence.
UiPath'sPrompt Engineering best practicesprioritizegrounded, contextually rich inputs, particularly when automating classification tasks like spam detection, triage, or intent recognition. High-quality, task-aligned examples lead tomore reliable, human-like agents.
In afew-shot structured prompt, examples are used to demonstrate a pattern the model should follow.
UiPath recommends:
* Usingrealistic examplesfrom actual user inputs or support tickets
* Coveringedge casesor variations in phrasing and tone
* Matching thedesired output structureexactly (e.g., Input: ..., Output: ...) These patterns help the LLMinfer the task correctlyandmaintain consistency, especially when processing unstructured inputs like email subjects.
Option A is incorrect - introducing incorrect labels degrades performance and adds confusion.
B is wrong - the number of examples depends on thetask complexity and token budget. Sometimes 3-5 is ideal.
D undermines task alignment - random examples reduce accuracy and coherence.
UiPath'sPrompt Engineering best practicesprioritizegrounded, contextually rich inputs, particularly when automating classification tasks like spam detection, triage, or intent recognition. High-quality, task-aligned examples lead tomore reliable, human-like agents.
by Charlotte at Jun 24, 2026, 01:34 AM
Contact Us
If you have any question please leave me your email address, we will reply and send email to you in 12 hours.
Our Working Time: ( GMT 0:00-15:00 ) From Monday to Saturday
Support: Contact now
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).