Designing a general education course on the societal impacts of artificial intelligence