An agent answers HR questions for employees in several countries. Answers about leave must match the user's country. What is the best plan?
- Exam domain
- Plan and configure agent solutions50–55% of the exam
- Difficulty
- Medium
- In this mock
- 26 questions on this domainPractise this domain
Why the exam asks this
Objective in the exam guide: Design agents for internal or external audiences
Internal agents often serve audiences with different rules.
Why C is the answer
Per-country content, keyed to the user's country
Grounding in the right country's policy needs to know the user's country. Taking it from the profile, or asking, then retrieving that country's content keeps answers correct.
Remember: Know the user's context, then ground on the right content.
How it works
Designing for a varied internal audience means using what is known about each user to pick the right content.
Clues in the question
The words that point to the answer, and what each one tells you.
- must match the user's country
- User context drives retrieval.
In detail
- Context about the user changes which content is right.
- Memory can keep the country once known.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Publish a separate channel per country with identical contentWrong
Identical content per channel does not fix the country problem.
B. One instruction that lists every country's rules in fullWrongMost tempting
Huge instructions are hard to maintain and easy to confuse.
Why it tempts: Putting everything in instructions seems complete, but it is hard to keep correct.
C. Per-country content, keyed to the user's countryRight
Know the user's context, then ground on the right content.
D. Let the model guess the country from the user's writing styleWrong
Guessing from writing style is unreliable.
Use case
An illustrative scenario, not a real incident.
Illustrative: a user in Germany asks about parental leave. The agent cites the German policy, not the UK one.
See it in different ways
flowchart LR S0["Know the user's country"] --> S1["Retrieve that country's policy"] --> S2["Answer with citation"]
How to read this chart
- Read it in order: Know the user's country, then Retrieve that country's policy, then Answer with citation.
flowchart TD
Q{"Is it in the user's profile?"}
Q -->|"Yes"| A0["Use it"]
Q -->|"No"| A1["Ask once and remember it"]How to read this chart
- At "Is it in the user's profile?": if "Yes", go to "Use it"; if "No", go to "Ask once and remember it".