Purpose: Considering the increasing development of new technologies, including artificial intelligence, the purpose of this research is to identify the opportunities and challenges of artificial intelligence in knowledge management based on the Hicks' four-stage model.Methodology: This research in terms of practical purpose, in terms of research method and descriptive analytical data collection is of a survey type, In terms of the basis of the type of data collected, it is of a quantitative type and uses the tool of a questionnaire to identify and prioritize the opportunities and challenges of artificial intelligence in Knowledge management. The experts of this study are 15 experts in artificial intelligence, computer and knowledge management. The research sampling method is judgmental and the samples were selected based on expertise and the research criteria were extracted from the review of internal and external studies in the field of artificial intelligence and knowledge management. The current research was carried out in three stages. In the first stage, the indicators of opportunities and challenges of artificial intelligence in knowledge management were obtained through literature review and interviews with experts and were modeled based on the Hicks'knowledge management model. Then, in the next step, these criteria were screened using the fuzzy Delphi method. Finally, the chatbots studied in the research were prioritized through the most key indicators using the gray relationship analysis method.Findings:It seems that the research findings indicate that artificial intelligence presents both opportunities and challenges in the realm of knowledge management. The study identified fifteen indicators related to opportunities, including four indicators in knowledge creation, three in knowledge sharing, five in knowledge reserve and retrieval, and three in knowledge use. On the other hand, fourteen indicators were identified as challenges, including three indicators in knowledge creation, three in knowledge sharing, three in knowledge reserves and retrieval, and five in knowledge application. Conclusion: Based on the findings of the research, it was determined that both in the category of opportunities and in the category of challenges, Chat Bard was ranked first, and with a small difference, Chat GPT was ranked second, and then Chat Bing was ranked third, so that It can be said that among chatbots in the knowledge management process, chat bard can be the best option to use.However, in the opportunities category, the first rank indicates that there are more opportunities and benefits compared to the other two ranks. Similarly, in the challenges category, the first rank represents more challenges and issues compared to the other two ranks.