Here are two high-quality example prompts—one for a retrieval task and one for a synthesis task—designed to maximize an LLM's strengths while minimizing weaknesses (e.g., hallucinations or shallow analysis).
1. Retrieval Task Example (Precise Fact-Fetching)
Use Case: Extracting specific, verifiable information from a document or knowledge base.
Prompt:
"Retrieve the exact definitions of 'inherent risk' and 'residual risk' from the COSO ERM Framework (2017 edition). Provide the definitions verbatim, and include the page number or section where they appear. If the exact terms are not found, respond with 'Not found in source.' Do not paraphrase or interpret."
Why This Works:
- Forces precision (verbatim text, source location).
- Limits hallucinations by instructing the model to admit absence of data.
- Ideal for RAG (Retrieval-Augmented Generation) systems where the LLM pulls from a trusted source.
2. Synthesis Task Example (Analysis & Insight Generation)
Use Case: Identifying risks in an internal audit by combining context with learned patterns.
Prompt:
*"Act as an experienced internal auditor. Based on the following procurement process description, synthesize potential risks and their root causes:
- Process: Purchase orders >$50k require dual approvals, but logs show 12% bypass this rule. Vendors are not screened for conflicts of interest.
- Industry: Healthcare (subject to FDA supplier regulations).
Output Structure:
- Risk Category (e.g., Compliance, Fraud, Operational)
- Specific Risk (e.g., "Unauthorized purchases violating segregation of duties")
- Root Cause (e.g., "Lack of automated controls in the approval system")
- Likelihood & Impact (High/Medium/Low)
- Mitigation Suggestion (1-2 sentences)."*
Why This Works:
- Requires the LLM to analyze, categorize, and generate new insights (not just recall facts).
- Structured output reduces vagueness and aligns with audit best practices.
- Leverages the model’s ability to infer patterns (e.g., linking missing controls to fraud risks).
Key Differences:
| Aspect | Retrieval Prompt | Synthesis Prompt |
|---|
| Goal | Fetch exact data | Generate reasoned insights |
| LLM Strength | Accuracy (when source is provided) | Pattern recognition, contextual analysis |
| Risk of Error | Low (if source is reliable) | Higher (requires validation of inferences) |
| Best For | Compliance checks, fact verification | Risk assessment, report drafting |
Pro Tip: For retrieval, pair the LLM with a tool like RAG. For synthesis, provide clear guardrails (e.g., "Do not list risks not supported by the provided context").
Would you like me to tailor these further for a specific industry or framework (e.g., SOX, ISO 31000)?