QuecPython introduces the Xiaozhi Platform AI Chatbot solution. This solution is based on the WebSocket protocol, offering cross-platform compatibility and supporting most QuecPython modules.
This demo uses an AI development board equipped with the EC800MCNLE module.
Note: Business access is prohibited when the USB is plugged in. After unplugging the USB, long press the button to start the business. If you need to view the logs, you can connect a USB after startup to view the logs
Before getting started, ensure you have the following prerequisites:
Clone the Repository:
git clone https://github.com/QuecPython/solution-xiaozhiAI.git
Flash the Firmware: Follow the instructions to flash the firmware onto the development board.
Hardware Connection: This demo uses the Quectel AI development board. Contact Quectel if needed. Connect the hardware as shown below:
Connect to the host computer via Type-C.
Download the Code to the Device:
code folder into the module's file system, preserving the directory structure.Run the Application:
File tab._main.py script.Run or use the Run shortcut button to execute the script.After keyword wake-up, start a conversation. Refer to the runtime log:
If it is the first time to wake up, a voice verification code xxxx will be broadcast to remind the user to bind the device in the Xiaozhi backend. The link to the Xiaozhi backend is: https://xiaozhi.me/. After successful registration, re-run the script to wake up and you can have a normal conversation

For a usage example, refer to the demo video: media/example_video.mp4
We welcome contributions to improve this project! Follow these steps to contribute:
git checkout -b feature/your-feature).git commit -m 'Add your feature').git push origin feature/your-feature).This project is licensed under the Apache License. See the LICENSE file for details.
If you have any questions or need support, refer to the QuecPython Documentation or open an issue in this repository.
13 commits
8 commits
Python
100.0%
QuecPython introduces the Xiaozhi Platform AI Chatbot solution. This solution is based on the WebSocket protocol, offering cross-platform compatibility and supporting most QuecPython modules.
This demo uses an AI development board equipped with the EC800MCNLE module.
Note: Business access is prohibited when the USB is plugged in. After unplugging the USB, long press the button to start the business. If you need to view the logs, you can connect a USB after startup to view the logs
Before getting started, ensure you have the following prerequisites:
Clone the Repository:
git clone https://github.com/QuecPython/solution-xiaozhiAI.git
Flash the Firmware: Follow the instructions to flash the firmware onto the development board.
Hardware Connection: This demo uses the Quectel AI development board. Contact Quectel if needed. Connect the hardware as shown below:
Connect to the host computer via Type-C.
Download the Code to the Device:
code folder into the module's file system, preserving the directory structure.Run the Application:
File tab._main.py script.Run or use the Run shortcut button to execute the script.After keyword wake-up, start a conversation. Refer to the runtime log:
If it is the first time to wake up, a voice verification code xxxx will be broadcast to remind the user to bind the device in the Xiaozhi backend. The link to the Xiaozhi backend is: https://xiaozhi.me/. After successful registration, re-run the script to wake up and you can have a normal conversation

For a usage example, refer to the demo video: media/example_video.mp4
We welcome contributions to improve this project! Follow these steps to contribute:
git checkout -b feature/your-feature).git commit -m 'Add your feature').git push origin feature/your-feature).This project is licensed under the Apache License. See the LICENSE file for details.
If you have any questions or need support, refer to the QuecPython Documentation or open an issue in this repository.
13 commits
8 commits
Python
100.0%