Module 3: Advanced techniques and accuracy · 10 min
Reduce hallucinations
A hallucination is an answer that sounds right but is false, such as a book, quote or link that does not exist. Models do this because they predict likely words, not verified facts.
- Give the source text and say 'answer only from the text below'.
- Allow the answer 'I don't know' or 'not in the text'.
- Ask for quotes from the source so you can check them.
- Never trust names, numbers, dates, citations or links without checking them.
- Use a tool with web search for current facts, and open the sources yourself.
Answer using ONLY the passage below. If the answer is not in the passage, reply exactly: Not stated.
Passage: """..."""
Question: ...
← Iterate and chain prompts | Prompts for study, writing and coding →