Hallucinations

I have just built Peter Isaacs great solution to preventing hallucinations (Wells Fargo video). However I have come up against a problem when the user inputs a prompt that is not true. For example, the prompt 'Is metformin used to treat headaches?' (it isn't) takes me to the 'Couldn't verify information' block. Any thoughts on this please?
Was this page helpful?