On the Challenges and Opportunities in Generative AI