Flexion is using generative AI to build AI models that can automate tasks involving reasoning, writing, and creativity.