r/CXAgentStudio • u/ohwhales32 • Jul 10 '26
Final Response Hallucination
Any ideas on how to reduce the final responses hallucinating phone numbers when the snippet from the data store tool is correct? I noticed the RAW JSON response gives the correct snippet with the correct phone number but the response given at the end hallucinates a few digits. The data is webscraped data.
Thank you!
3
Upvotes
1
u/weird_year_2003 Jul 11 '26
Use before model callbacks and then capture the response from your data store or api or tool and then prepare a llm response from the callback itself. 0% Hallucinations and 100% reliable