Training Custom Agents To Reduce Margin of Error

Great reply, thank you. Are there common behaviours that occur when GPT hallucinates that could then be flagged?

i.e., I noticed in my manual process of reviewing data and questioning GPT why it had hallucinated, the recurring theme was that rather than following the exact text, it had decided to make assumptions. I wonder if I could reduce margin of error by getting GPT to flag itself when this process is actioned.

Also, my AI agency mentioned that they don’t recommend RAG for my specific problem, because the outputs are not black and white. I.e., one of them is essentially, for x website, share the ‘Business Category’ that it operates in.

They mentioned that a better approach is to use Phidata framework for tasks like this that require some interpretation. What are your thoughts on this? (Thanks for all of your help so far!).