💬AI conversation
This module is built upon the open-source XiaoZhi AI chatbot project. Connecting to the XiaoZhi backend server enables conversations with an LLM, while the robot dog performs unique, skill-based movements synchronized with the conversation's content.

AI conversation lets the Petoi robot respond in natural language. This guide explains the required hardware setup and workflow for building an interactive robot companion.
Hardware setup
Remove the original head unit from the head servo and replace it with the AI-enabled head unit. {拆除头部舵机上螺钉图片}
Connect the AI-enabled head to the Bittle body, paying close attention to the Grove port connections. If you wire this AI module BiBoard V1 without voice module:

BiBoard V1 without voice module If you wire this AI module to the BiBoard V1 with the voice module, please refer to the following picture:

BiBoard V1 with voice module
If you wire this AI module to the NyBoard V1:

Software setup
Power on the robot. To configure the network, connect your mobile phone or computer to the module's hotspot. Open your Wi-Fi settings and look for a network name starting with "Xiaozhi-" in the list of available wireless networks.


Once connected, it will automatically open the web browser (if not, enter http://192.168.4.1 in your web browser) to access the Wi-Fi configuration page. From the list of 2.4 GHz networks detected by the device, select the Wi-Fi network you want to use (no need to manually enter the SSID; it will auto-fill upon selection). Enter the password for the selected network in the password field and click the Connect button to submit.

Upon successful connection, the device will restart after 3 seconds and automatically connect to the newly configured Wi-Fi network.

Activating the module
After the module restarts, it automatically connects to Wi-Fi and enters the activation page, while simultaneously playing a voice prompt asking for the verification code:

Enter https://xiaozhi.me/ in your web browser and log in to the Xiaozhi AI backend configuration panel, select the language, and click the Console button:

Click the Add Device button, enter the 6-digit activation code provided by the AI module, and click Confirm to submit and complete the device registration.


Configuration
Click Configure to access the role configuration page, where you can set the AI role's voice tone, introduction(prompt), and voice settings in the Role tab interface:


You can set the Language model, Memory in the Model & memory tab:

This Speaker Recognition tab is not available to users on the free plan:

You can set some services in the Extensions tab:

How to use
Once configured, you can wake the device using the wake word "Hi, Jason." to start a conversation or command the robot dog to perform actions; alternatively, you can click the Boot button to wake the device or stop the conversation.

Last updated
