Palantir and Innodata will both profit from the generative AI boom.