With the increasing popularity of AI technology, we have developed a campus intelligent dialogue comprehensive service platform to meet the practical information service needs of school teachers and students. The platform utilizes the latest ChatGPT model API for secondary development. Node.js technology is used as the backend, combined with the ChatGPT model API to achieve natural language interaction. By applying dynamic programming algorithm and Levenshtein distance algorithm, the platform implements keyword matching and fuzzy query functions. The dynamic programming algorithm is used to calculate the similarity score of strings by comparing the similarity between two strings and giving a numerical score. The core idea is to divide the problem into a series of sub-problems. In keyword matching, dynamic programming algorithm can be used to calculate the similarity score between user input and keywords to determine the best match. At the same time, fragmented internal campus information resources are integrated, and users can obtain relevant information through keyword matching queries and enjoy personalized services and recommendations. The platform supports interactive dialogue form, making it convenient for users to quickly obtain the required information. In addition, our algorithm has significantly improved accuracy in keyword matching and fuzzy queries, increasing from 80% to 95%, and efficiency has increased by 50%. Moreover, the new algorithm can handle longer and more complex query strings and more query conditions, meeting the complex query needs of users. Convenient services are provided through universal and user-friendly methods such as WeChat Mini Program and web, improving user experience and satisfaction.