The key steps in deploying the GBC MedAI system can be categorized into the following phases:
- environmental preparation: Ensure that the system meets the basic requirements for Python 3.8+, Node.js 16+, MySQL 8.0+ and Redis 6.0+
- Prefile Configuration: Download the front-end package file and unzip it to
llm_backend/static/
directory, GraphRag files are placed in the project root directory - Service Initialization: After cloning the codebase, pass the
pip install -r requirements.txt
Installing Python dependencies - Key Configurations: Reproduction
.env.example
and configure core parameters such as API keys, database connections, etc. - Database Creation: Execute in MySQL
CREATE DATABASE assist_gen
command to initialize the database
Docker is recommended to simplify the deployment process through thedocker build
After building the image, use thedocker run
command with environment variables to start the container to complete the deployment.
This answer comes from the articleGBC MedAI: An Intelligent Medical Assistant with Access to Multiple AI Models and Search EnginesThe