advancedChapter 8 of 12Exercise 2 of 3
Citation-Based Answers
Use the scratchpad technique to make Claude extract quotes from a document before answering, reducing hallucination risk.
Your Task
Write a prompt that answers "How much did Matterport's subscriber base grow?" by first extracting relevant quotes from a document into <quotes> tags, then answering in <answer> tags based only on those quotes.
Success Criteria
Prompt must use the scratchpad/quote-first pattern: extract relevant quotes in tags, then answer based on those quotes only.
Recommended Background
Review Using Examples (Few-Shot Prompting) before attempting this exercise for the best experience.
Cmd/Ctrl + Enter to submit