Author: Liu Ran
Affiliation: China People’s Police University, Information Technology and Network Management Department
Editorial Note
With the continuous advancement of artificial intelligence technology, universities have an increasing demand for improving service efficiency and quality. Intelligent customer service systems, as an important means to enhance service efficiency, have broad application prospects in the One-Stop Service Platform. By deploying intelligent question-and-answer AI applications, it can not only alleviate the pressure on human customer service but also provide uninterrupted service for teachers and students 24 hours a day.
System Architecture Diagram:

1. Preparation
-
Environment Setup: Ensure that the server environment meets the operating requirements of FastGPT, OneAPI, and Ollama. For the test environment, we used 2 servers with 32G video memory and 1 private cloud host with 16C64G configuration.
-
Model Selection: Choose appropriate large language models, vector models, and result re-ranking models. In this experiment, we used Alibaba Cloud’s open-source Tongyi Qianwen 1.5’s qwen:32b as the text generation model, Nomic AI’s open-source nomic-embed-text as the vector model, and BAAI’s open-source BGE Re-Ranker v2 as the re-ranking model, which has been tested and is effective.
2. Deploying Ollama
-
Install Ollama: Download and install Ollama according to the official documentation.
-
Download and Run the Model: Use Ollama to run the required language model. The re-ranking model in this article is run separately using the open-source project script.
-
The recently updated version of Ollama supports parallel running of multiple models; interested users can try it.
3. Deploying OneAPI
-
Container Deployment: Use Docker to deploy OneAPI, configure port mapping and data volumes.
-
Interface Management: Configure the local model channels and tokens in OneAPI to ensure correspondence with the models in Ollama.
-
Deploy FastGPT using Docker Compose, modifying the docker-compose.yml and config.json files to connect the three models.

-
Prepare Data: Collect common inquiry questions and business process assistance for the One-Stop Service Platform. -
Create Knowledge Base: Create a knowledge base in FastGPT and import the prepared data. -
Create Application: Create a new application in FastGPT and introduce the knowledge base.
-
Conduct comprehensive testing of the deployed system, including functional testing, performance testing, and user experience testing. -
Optimize knowledge base data based on testing feedback to improve system performance.
Previous Recommendations
-
Northwest Normal University: The school held a meeting to solicit opinions on the educational digitization action plan (2024-2028)
-
Liu Zheng: Serving AI application scenarios with open source – Beixin Science and Technology open-source large model application BistuCopilot
-
Beijing University of Posts and Telecommunications: V2.0 is back! Large model empowers teaching experiments to start comprehensively!
-
“i Huadian” intelligent assistant is online, inviting you to experience it~
-
Peking University: Recent guidelines for cleaning servers infected with Trojans
-
Minzu University of China: National Security Education Day | “Phishing Email” drill, did you fall for it?
-
Minzu University of China: Notice on strengthening password management of smart portals
-
Ningxia Medical University Network Information Center held a meeting on campus network security and data security work
-
[Security Knowledge] Changes in the requirements of the 2.0 standard under the equal protection
About Us

University Informationization Experts Exchange
Technical Support: Beijing Zhangyun Technology Co., Ltd.
About Us Disclaimer