Abstract:The construction of a digital government is an important component of Digital China, and the introduction of artificial intelligence models is of great significance. From a technological perspective, artificial intelligence models provide hierarchical interactions for the construction of a digital government: at the structural level, artificial intelligence models expand the multidimensional functions of digital government; at the decision-making level, artificial intelligence models improve the operational efficiency of digital government; at the behavioral level, artificial intelligence models enhance the law enforcement accuracy of digital government. From a risk perspective, artificial intelligence models also have multifaceted impacts on digital government construction. Firstly, technological hegemony, monopoly, and the automatic information acquisition by artificial intelligence models have eroded data sovereignty and further endangered national security. Secondly, capital alienation caused by the application of artificial intelligence models will exert social impacts and undermine the achievements of China’s social development. Lastly, the information order that cannot cope with the impact of artificial intelligence models faces the risk of disorder, and the security boundaries such as individual rights may be violated. In view of this, the first step is to solidify the foundation of the rule of law. First, legal incentives should be adopted to promote the development of generative artificial intelligence systems with independent innovation capabilities. Second, combined with a data classification system, generative artificial intelligence systems should be developed to ensure compliant production. Third, it is important to achieve a legally compliant relationship structure and construct generative artificial intelligence systems with a clear allocation of rights and responsibilities. Fourth, it is necessary to seek overarching principles and design generative artificial intelligence systems that adhere to ethical standards. Additionally, complementary regulatory frameworks need to be established. Legislative bodies should fulfill the duty of risk prevention in advance, law enforcement agencies should bear the responsibility of eliminating infringements during implementation, and judicial authorities should assume the obligation of providing remedies for rights violations.