The hallucinations can be generated by contradictions in training sets and by LLM s being designed to produce coherence rather than truth.