Thinking with Generative AI