how AI chooses sources