How can I prevent ChatGPT and Gemini from hallucinating with uploaded PDFs?

0
0
Asked By CuriousPanda42 On

I've been uploading PDFs to Gemini 2.5 and ChatGPT (o3), but I notice they often hallucinate when I ask questions about the content. It seems like ChatGPT o3 is especially prone to this. Is there a way to give them a persistent memory so that when I upload a document or paste text, they can recall it accurately? I want to be able to ask for specific parts of the PDF or get the full text back exactly as it is in the original document.

2 Answers

Answered By TechieTina99 On

Hallucinations are pretty common with large language models, especially the more complex ones. The best practice is to enforce guardrails and use known reference data. If you're getting offbeat responses, consider trying the API multiple times to see if you get a more accurate output that way.

Answered By HelpfulHiker77 On

I totally get your frustration! From what I've found, Claude.ai seems to handle documents without going bonkers, unlike ChatGPT. It could be worth giving it a try if you're looking for accuracy with PDFs.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.