How to I get my GPT to only reference the attached documents and stop making up answers?

  • Try not to use negatives while constructing the prompt, like “DO NOT” or “NEVER”. Try to use Dos instead and you could use an authoritative tone to enforce rules using “STRICTLY” and set top_p and temp appropriately.
  • If you have a huge prompt try organizing the prompt by having sections
    ex: Goal, Tone and style , Response format. Also, try exploring topics under prompting category in forums.

Hope this helps. Cheers!

3 Likes