Navigating the AI Frontier: Legal and Operational Insights Into Generative AI