Why do you think an LLM knows what is fact?

Same way I do. I ask the truthfulness of a fact in ChatGPT and it gives me good answers almost always