Here’s how researchers are helping AIs get their facts straight