A bank wants compliance summaries of regulatory letters, always with the same five headings, its own risk terms, and no advice to customers. How do you customize the model output?
- Exam domain
- Implement text analysis solutions10–15% of the exam
- Difficulty
- Medium
- In this mock
- 8 questions on this domainPractise this domain
Why the exam asks this
Implement text analysis solutions: Apply language model text analysis.
Objective in the exam guide: Customize language model outputs for domain tasks, such as compliance summarization and domain extraction.
Generic summaries rarely meet regulated formats. The exam checks you can adapt a model to a domain with prompting first.
Why B is the answer
Write a system message with the role, rules, required headings and term definitions, and add one or two example summaries
A system message sets role, rules and format, and a few examples show the exact structure and terms; this is the standard way to adapt outputs to a domain.
Remember: Domain format and rules: system message plus examples.
How it works
The system message defines the model's role, boundaries and output format.
Few-shot examples show the exact headings and terms you expect, which the model then follows.
Domain rules such as "no advice" are stated explicitly, and outputs are checked with evaluations.
Clues in the question
The words that point to the answer, and what each one tells you.
- Always the same five headings
- Format rules.
- Its own risk terms
- Domain vocabulary.
- No advice
- A boundary in the system message.
In detail
- Clear rules such as "never give advice" belong in the system message.
- If prompting is not enough, consider fine-tuning for style after measuring.
Side by side with look-alikes
| Technique | Gives you |
|---|---|
| System message with rules | Role, boundaries, format |
| Few-shot examples | Exact structure and wording |
| Fine-tuning | Style at scale, after prompting |
| More max tokens | Length only |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Translate the letters first and summarize the translationWrong
Translation is unrelated to the format.
B. Write a system message with the role, rules, required headings and term definitions, and add one or two example summariesRight
Domain format and rules: system message plus examples.
C. Use the default prompt and post-edit every summary by handWrong
Manual edits do not scale and are inconsistent.
D. Raise max tokens so the model includes moreWrongMost tempting
Longer output does not add structure.
Why it tempts: Longer output can look more complete. But it adds no structure and no domain terms.
In practice
- Keep the examples short and representative; they cost tokens on every call.
Use case
An illustrative scenario, not a real incident.
The model returns each summary under the bank's five headings, using its own risk terms, with no customer advice.
See how it works
flowchart TD S["System message: role, rules, five headings, term definitions"] --> E["Two example summaries"] E --> L["The new regulatory letter"] L --> O["Summary in the bank's format"]
How to read this chart
- Read it in order: System message: role, rules, five headings, term definitions, then Two example summaries, then The new regulatory letter, then Summary in the bank's format.