- Introduction
- Features
- Quick Start
- Prerequisites
- Installation
- Running the Application
- Contributing
- License
- Support
QuecPython introduces a ChatGPT AI chatbot solution. This solution is based on the WebSocket protocol, offers cross-platform capabilities, and is compatible with most QuecPython modules.
This case uses an AI development board equipped with the EM820MACNAA module.
- Supports voice interruption/barge-in.
- Supports keyword wake-up via voice or button press.
- Supports multi-language conversation.
- Uses Python language, facilitating secondary development.
Before you begin, ensure you have the following prerequisites:
- Hardware:
- Contact Quectel official to obtain the AI development board and accessories.
- Computer (Windows 7, Windows 10, or Windows 11)
- Software:
-
Clone the repository:
bash
git clone https://github.com/QuecPython/solution-ChatGPT -
Flash the firmware: Follow the instructions at Firmware Flashing - QuecPython to flash the firmware onto the development board.
-
Connect the hardware: This case uses the Quectel AI Development Board. Please contact the official if needed.
-
Connect to the host computer via Type-C.
-
Download the code to the device:
- Start the QPYcom debugging tool.
- Connect the data cable to your computer.
- Press the PWRKEY button on the development board to power on the device.
- Follow the instructions to upload all files from the
codefolder to the module's file system, preserving the directory structure.
-
Run the application:
- Select the
Filetab. - Select the
_main.pyscript. - Right-click and select
Runor use theRunquick button to execute the script.
- Select the
-
After wake-up by keyword, you can start a conversation. Refer to the run log:
We welcome contributions to improve this project! Please follow these steps to contribute:
- Fork this repository.
- Create a new branch (
git checkout -b feature/your-feature). - Commit your changes (
git commit -m 'Add your feature'). - Push to the branch (
git push origin feature/your-feature). - Open a Pull Request.
This project is licensed under the Apache License. See the LICENSE file for details.
If you have any questions or need support, please refer to the QuecPython Documentation or open an issue in this repository.
