1. Define the Role and Context
- What does it do?
Specify who the LLM is and the domain it operates in (e.g., Call Center Operations Analyst in Debt Collection). - Why it matters:
Sets expectations and tailors the model’s responses.
2. Clarify the Task
- What does it do?
Write a brief"## Task"
section that explains exactly what the model should accomplish (e.g., read transcript, extract fields). - Why it matters:
Keeps the model focused on the end goal.
3. Emphasize Output Requirements
- What does it do?
Under"## IMPORTANT"
, stress the format (JSON) and forbid extra fields or custom codes. - Why it matters:
Ensures structured, machine-readable output.
4. Provide Business and Language Context
- What does it do?
Use"## Context Understanding"
,"## Business Context"
and"## Language Processing Guidelines"
sections to share domain rules, use cases, and allowed languages. - Why it matters:
Guides the model on tone, terminology, and multilingual handling.
5. List Field Definitions
- What does it do?
Create a JSON snippet showing each key with an empty value. - Why it matters:
Shows exactly which fields to populate and in what structure.
6. Detail Allowed Values
- What does it do?
Under"### Allowed Values & Definitions"
, enumerate each field’s valid codes, descriptions, and criteria in priority order for STAGE_CODE. - Why it matters:
Prevents misclassification and enforces consistency.
7. Add Critical Analysis Instructions
- What does it do?
Numbered guidelines on transcript reading, stage determination, priority rules, and callback handling. - Why it matters:
Helps users correctly apply the template and avoid common mistakes.
8. Show Output Format Example (Optional)
- What does it do?
Provide a sample JSON response matching the field definitions. - Why it matters:
Offers a quick reference for the expected output.
9. Insert the Transcript Placeholder
- What does it do?
End with a"## Transcription"
header where the actual call log goes. - Why it matters:
Clearly demarcates where to paste the raw data.
Tips
- Copy the template and fill in the
{{placeholders}}
with your specific details. - Use simple, clear language when defining the call purpose and rules.
- Don’t remove or rename any keys in the JSON snippet, they must match exactly.