From Evidence to Belief: A Bayesian Epistemology Approach to Language Models