Five months after ChatGPT set off an investment frenzy over artificial intelligence, Beijing is moving to rein in China’s chatbots, a show of the government’s resolve to keep tight regulatory control over technology that could define an era.

The Cyberspace Administration of China this month unveiled draft rules for so-called generative AI — the software systems, like the one behind ChatGPT, that can formulate text and pictures in response to a user’s questions and prompts.

According to the regulations, companies must heed the Chinese Communist Party’s strict censorship rules, just as websites and apps have to avoid publishing material that besmirches China’s leaders or rehashes forbidden history. The content of AI systems will need to reflect "socialist core values” and avoid information that undermines "state power” or national unity.