CloudYetiFREE
AI tip

Ask for the exact quotes first, then the answer

When you paste a long document into an AI chat, ask it to quote the exact lines first and answer only from those quotes. The answer comes from your document, and you can check it.

Why it matters

Paste a long document and ask a question, and the AI can give the usual answer for that kind of document instead of what yours says.

Anthropic's guide says, for long documents: "ask Claude to extract word-for-word quotes first before performing its task. This grounds its responses in the actual text."

Quotes with page numbers also let you check the answer against the document in seconds.

Do this

  1. Paste the whole document into the chat (a lease, a contract, a policy).
  2. Ask it to quote the exact lines about your question first, with page numbers.
  3. Tell it to answer only from those quotes.
  4. Open the document at those pages and check the quotes are really there.
  5. Read the whole section yourself before you act on the answer.

Prompt to paste after the document

First, quote the exact lines about [your question], with page numbers. Then answer only from those quotes. If no line covers it, say so.

One thing to keep in mind: It can still miss a line, like a later page that changes the fee. Ask for page numbers and read the whole section before you act.

The lease, the numbers and the names in the video are an example. Source: Anthropic docs: Reduce hallucinations, "Use direct quotes for factual grounding".

Free · by emailGet the next AI tip by emailOne short tip like this one when a new one is ready. Free. Unsubscribe any time.

Ask me anything about AI and cloudA paid call on your own setup: your agents, your bill, your plan.Book a call →

All tips in: Prompt lines to copy

More free AI resources

Send me the tips: free →