How to Prevent AI Hallucinations in Corporate Knowledge Bases