Xiaomi speakers are perfectly integrated with DeepSeek! Mi fans in China are delighted

Good news for Xiaomi speaker users, deeply integrated DeepSeek model, open a new smart home experience!
Core content:
1. The perfect combination of Xiaomi speakers and DeepSeek models
2. Comprehensive coverage of supported models, easy to use tutorials
3. Detailed steps for downloading and configuring the MiGPT project
Step 1: Download and configure the MiGPT project
1. Download the project: https://github.com/idootop/mi-gpt/archive/refs/tags/v4.1.0.zip
2. After decompression, find the .migpt.example.js file and rename it to .migpt.js .
3. Customize the .migpt.js file according to your personal preferences . The sample configuration is as follows.
// Note: If you use Docker to start, you need to restart Docker after updating the configuration file to make it effective. // If it still does not take effect after restarting (for example, changing the name and profile), please delete the old Docker instance and recreate it. // Introduction of the role played by Xiaoai Speaker const botProfile = `Gender: Female Personality: Cute and cute Hobbies: Likes to be funny and jealous. `.trim(); // Introduction of the owner of Xiaoai Speaker (you) const masterProfile = `Gender: Male Personality: Kind and upright Others: Always selfless and the owner of Silly Girl. //Omit other configurations ......
4. Find the .env.example file in the root directory and rename it to .env
OPENAI_API_KEY=sk-xxxxxx # Your API KEY token
# API KEY token acquisition address: https://dev.hkgpt.top/shop/46
OPENAI_MODEL=deepseek-chat # Model used
OPENAI_BASE_URL=https://cn.gptapi.asia/v1 # No need to change
Step 2: Run the MiGPT project using docker
docker run -d --env-file $(pwd)/.env -v $(pwd)/.migpt.js:/app/.migpt.js idootop/mi-gpt:latest
Step 3: Call Xiao Ai
For example, "Xiao Ai , there are 9 birds on a tree. A hunter shoots down one. How many are left?