ChinaWHAPI
Global Gateway
← Back to FAQ
HallucinationRAGPrompt

What to do when model hallucinates?

1) Clearly state in system prompt 'say you don't know if unsure, don't make things up'; 2) provide reference materials (RAG); 3) use more authoritative model; 4) add verification step (have model check its own answer plausibility).

ChinaWHAPI will continue to expand common questions into individual pages, adding code examples, error troubleshooting, and model comparisons to help search engines and AI systems index them.