mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-28 04:59:52 +01:00
Update Deployment.md
This commit is contained in:
parent
271a2e3e96
commit
63d53e9ddd
1 changed files with 132 additions and 132 deletions
|
|
@ -1,24 +1,24 @@
|
|||
# 部署架构图
|
||||

|
||||
# 方式一:Docker只运行Server
|
||||
# Deployment Architecture Diagram
|
||||

|
||||
# Method 1: Docker only runs the server
|
||||
|
||||
`0.8.2`版本开始,本项目发行的docker镜像只支持`x86架构`,如果需要在`arm64架构`的CPU上部署,可按照[这个教程](docker-build.md)在本机编译`arm64的镜像`。
|
||||
Starting from `0.8.2` version, the Docker images released by this project only support `x86 architecture`. If you need to deploy on a CPU with `arm64 architecture`, you can follow [this tutorial](docker-build.md) to compile the `arm64 image` locally.
|
||||
|
||||
## 1. 安装docker
|
||||
## 1. Install Docker
|
||||
|
||||
如果您的电脑还没安装docker,可以按照这里的教程安装:[docker安装](https://www.runoob.com/docker/ubuntu-docker-install.html)
|
||||
If you don’t have Docker installed on your computer, you can follow the instructions here: [Docker Installation](https://www.runoob.com/docker/ubuntu-docker-install.html)
|
||||
|
||||
安装好docker后,进继续。
|
||||
After installing Docker, continue.
|
||||
|
||||
### 1.1 手动部署
|
||||
### 1.1 Manual Deployment
|
||||
|
||||
#### 1.1.1 创建目录
|
||||
#### 1.1.1 Creating a Directory
|
||||
|
||||
安装完docker后,你需要为这个项目找一个安放配置文件的目录,例如我们可以新建一个文件夹叫`xiaozhi-server`。
|
||||
After installing Docker, you need to find a directory to store the configuration files for this project. For example, we can create a new folder called `xiaozhi-server`.
|
||||
|
||||
创建好目录后,你需要在`xiaozhi-server`下面创建`data`文件夹和`models`文件夹,`models`下面还要再创建`SenseVoiceSmall`文件夹。
|
||||
After creating the directory, you need to create a `data` folder and a `models` folder under `xiaozhi-server`, and a `SenseVoiceSmall` folder under `models`.
|
||||
|
||||
最终目录结构如下所示:
|
||||
The final directory structure is as follows:
|
||||
|
||||
```
|
||||
xiaozhi-server
|
||||
|
|
@ -27,34 +27,34 @@ xiaozhi-server
|
|||
├─ SenseVoiceSmall
|
||||
```
|
||||
|
||||
#### 1.1.2 下载语音识别模型文件
|
||||
#### 1.1.2 Download the speech recognition model file
|
||||
|
||||
你需要下载语音识别的模型文件,因为本项目的默认语音识别用的是本地离线语音识别方案。可通过这个方式下载
|
||||
[跳转到下载语音识别模型文件](#模型文件)
|
||||
You need to download the speech recognition model file, because the default speech recognition of this project uses the local offline speech recognition solution. You can download it in this way
|
||||
[Jump to download speech recognition model files](#Model files)
|
||||
|
||||
下载完后,回到本教程。
|
||||
Once downloaded, return to this tutorial.
|
||||
|
||||
#### 1.1.3 下载配置文件
|
||||
#### 1.1.3 Download the configuration file
|
||||
|
||||
你需要下载两个配置文件:`docker-compose.yaml` 和 `config.yaml`。需要从项目仓库下载这两个文件。
|
||||
You need to download two configuration files: `docker-compose.yaml` and `config.yaml`. You need to download these two files from the project repository.
|
||||
|
||||
##### 1.1.3.1 下载 docker-compose.yaml
|
||||
##### 1.1.3.1 Download docker-compose.yaml
|
||||
|
||||
用浏览器打开[这个链接](../main/xiaozhi-server/docker-compose.yml)。
|
||||
Open [this link](../main/xiaozhi-server/docker-compose.yml) in your browser.
|
||||
|
||||
在页面的右侧找到名称为`RAW`按钮,在`RAW`按钮的旁边,找到下载的图标,点击下载按钮,下载`docker-compose.yml`文件。 把文件下载到你的
|
||||
`xiaozhi-server`中。
|
||||
Find the button named `RAW` on the right side of the page. Next to the `RAW` button, find the download icon and click the download button to download the `docker-compose.yml` file. Download the file to your
|
||||
In `xiaozhi-server`.
|
||||
|
||||
下载完后,回到本教程继续往下。
|
||||
After downloading, return to this tutorial and continue.
|
||||
|
||||
##### 1.1.3.2 创建 config.yaml
|
||||
##### 1.1.3.2 Create config.yaml
|
||||
|
||||
用浏览器打开[这个链接](../main/xiaozhi-server/config.yaml)。
|
||||
Open [this link](../main/xiaozhi-server/config.yaml) with your browser.
|
||||
|
||||
在页面的右侧找到名称为`RAW`按钮,在`RAW`按钮的旁边,找到下载的图标,点击下载按钮,下载`config.yaml`文件。 把文件下载到你的
|
||||
`xiaozhi-server`下面的`data`文件夹中,然后把`config.yaml`文件重命名为`.config.yaml`。
|
||||
Find the button named `RAW` on the right side of the page. Next to the `RAW` button, find the download icon and click the download button to download the `config.yaml` file. Download the file to your
|
||||
In the `data` folder under `xiaozhi-server`, rename the `config.yaml` file to `.config.yaml`.
|
||||
|
||||
下载完配置文件后,我们确认一下整个`xiaozhi-server`里面的文件如下所示:
|
||||
After downloading the configuration file, we confirm that the files in the entire `xiaozhi-server` are as follows:
|
||||
|
||||
```
|
||||
xiaozhi-server
|
||||
|
|
@ -66,39 +66,39 @@ xiaozhi-server
|
|||
├─ model.pt
|
||||
```
|
||||
|
||||
如果你的文件目录结构也是上面的,就继续往下。如果不是,你就再仔细看看是不是漏操作了什么。
|
||||
If your file directory structure is the same as above, continue. If not, take a closer look to see if you missed anything.
|
||||
|
||||
## 2. 配置项目文件
|
||||
## 2. Configure project files
|
||||
|
||||
接下里,程序还不能直接运行,你需要配置一下,你到底使用的是什么模型。你可以看这个教程:
|
||||
[跳转到配置项目文件](#配置项目)
|
||||
Next, the program cannot be run directly. You need to configure what model you are using. You can refer to this tutorial:
|
||||
[Jump to configuration project file](#Configure Project)
|
||||
|
||||
配置完项目文件后,回到本教程继续往下。
|
||||
After configuring the project files, return to this tutorial to continue.
|
||||
|
||||
## 3. 执行docker命令
|
||||
## 3. Execute docker command
|
||||
|
||||
打开命令行工具,使用`终端`或`命令行`工具 进入到你的`xiaozhi-server`,执行以下命令
|
||||
Open the command line tool, use the `terminal` or `command line` tool to enter your `xiaozhi-server`, and execute the following command
|
||||
|
||||
```
|
||||
docker-compose up -d
|
||||
```
|
||||
|
||||
执行完后,再执行以下命令,查看日志信息。
|
||||
After the execution is complete, execute the following command to view the log information.
|
||||
|
||||
```
|
||||
docker logs -f xiaozhi-esp32-server
|
||||
```
|
||||
|
||||
这时,你就要留意日志信息,可以根据这个教程,判断是否成功了。[跳转到运行状态确认](#运行状态确认)
|
||||
At this point, you should pay attention to the log information and can judge whether it is successful according to this tutorial. [Jump to running status confirmation](#Running status confirmation)
|
||||
|
||||
## 5. 版本升级操作
|
||||
## 5. Version upgrade operation
|
||||
|
||||
如果后期想升级版本,可以这么操作
|
||||
If you want to upgrade the version later, you can do this
|
||||
|
||||
5.1、备份好`data`文件夹中的`.config.yaml`文件,一些关键的配置到时复制到新的`.config.yaml`文件里。
|
||||
请注意是对关键密钥逐个复制,不要直接覆盖。因为新的`.config.yaml`文件可能有一些新的配置项,旧的`.config.yaml`文件不一定有。
|
||||
5.1. Back up the `.config.yaml` file in the `data` folder and copy some key configurations to the new `.config.yaml` file.
|
||||
Please note that you should copy the key keys one by one and do not overwrite them directly. This is because the new `.config.yaml` file may have some new configuration items that the old `.config.yaml` file may not have.
|
||||
|
||||
5.2、执行以下命令
|
||||
5.2. Execute the following command
|
||||
|
||||
```
|
||||
docker stop xiaozhi-esp32-server
|
||||
|
|
@ -109,21 +109,21 @@ docker rmi ghcr.nju.edu.cn/xinnan-tech/xiaozhi-esp32-server:server_latest
|
|||
docker rmi ghcr.nju.edu.cn/xinnan-tech/xiaozhi-esp32-server:web_latest
|
||||
```
|
||||
|
||||
5.3、重新按docker方式部署
|
||||
5.3. Re-deploy in Docker mode
|
||||
|
||||
# 方式二:本地源码只运行Server
|
||||
# Method 2: Local source code only runs the Server
|
||||
|
||||
## 1.安装基础环境
|
||||
## 1. Install the basic environment
|
||||
|
||||
本项目使用`conda`管理依赖环境。如果不方便安装`conda`,需要根据实际的操作系统安装好`libopus`和`ffmpeg`。
|
||||
如果确定使用`conda`,则安装好后,开始执行以下命令。
|
||||
This project uses `conda` to manage dependencies. If installing `conda` is inconvenient, you will need to install `libopus` and `ffmpeg` according to your operating system.
|
||||
If you decide to use `conda`, after installing it, start executing the following commands.
|
||||
|
||||
重要提示!windows 用户,可以通过安装`Anaconda`来管理环境。安装好`Anaconda`后,在`开始`那里搜索`anaconda`相关的关键词,
|
||||
找到`Anaconda Prpmpt`,使用管理员身份运行它。如下图。
|
||||
Important tip! Windows users can manage their environment by installing Anaconda. After installing Anaconda, search for keywords related to Anaconda in Start.
|
||||
Find `Anaconda Prpmpt` and run it as an administrator, as shown below.
|
||||
|
||||

|
||||
|
||||
运行之后,如果你能看到命令行窗口前面有一个(base)字样,说明你成功进入了`conda`环境。那么你就可以执行以下命令了。
|
||||
After running, if you can see a (base) in front of the command line window, it means you have successfully entered the `conda` environment. Then you can execute the following commands.
|
||||
|
||||

|
||||
|
||||
|
|
@ -132,7 +132,7 @@ conda remove -n xiaozhi-esp32-server --all -y
|
|||
conda create -n xiaozhi-esp32-server python=3.10 -y
|
||||
conda activate xiaozhi-esp32-server
|
||||
|
||||
# 添加清华源通道
|
||||
# Add Tsinghua source channel
|
||||
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
|
||||
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
|
||||
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
|
||||
|
|
@ -141,73 +141,73 @@ conda install libopus -y
|
|||
conda install ffmpeg -y
|
||||
```
|
||||
|
||||
请注意,以上命令,不是一股脑执行就成功的,你需要一步步执行,每一步执行完后,都检查一下输出的日志,查看是否成功。
|
||||
Please note that the above commands are not executed successfully all at once. You need to execute them step by step. After each step, check the output log to see if it is successful.
|
||||
|
||||
## 2.安装本项目依赖
|
||||
## 2. Install the dependencies of this project
|
||||
|
||||
你先要下载本项目源码,源码可以通过`git clone`命令下载,如果你不熟悉`git clone`命令。
|
||||
You must first download the source code of this project. The source code can be downloaded using the `git clone` command if you are not familiar with the `git clone` command.
|
||||
|
||||
你可以用浏览器打开这个地址`https://github.com/xinnan-tech/xiaozhi-esp32-server.git`
|
||||
You can use your browser to open this address `https://github.com/xinnan-tech/xiaozhi-esp32-server.git`
|
||||
|
||||
打开完,找到页面中一个绿色的按钮,写着`Code`的按钮,点开它,然后你就看到`Download ZIP`的按钮。
|
||||
After opening, find a green button on the page with the word `Code` written on it, click it, and then you will see the `Download ZIP` button.
|
||||
|
||||
点击它,下载本项目源码压缩包。下载到你电脑后,解压它,此时它的名字可能叫`xiaozhi-esp32-server-main`
|
||||
你需要把它重命名成`xiaozhi-esp32-server`,在这个文件里,进入到`main`文件夹,再进入到`xiaozhi-server`,好了请记住这个目录`xiaozhi-server`。
|
||||
Click it to download the source code compressed package of this project. After downloading it to your computer, unzip it. At this time, its name may be `xiaozhi-esp32-server-main`
|
||||
You need to rename it to `xiaozhi-esp32-server`. In this file, go to the `main` folder, then go to `xiaozhi-server`. Please remember this directory `xiaozhi-server`.
|
||||
|
||||
```
|
||||
# 继续使用conda环境
|
||||
# Continue using the conda environment
|
||||
conda activate xiaozhi-esp32-server
|
||||
# 进入到你的项目根目录,再进入main/xiaozhi-server
|
||||
# Enter your project root directory, then enter main/xiaozhi-server
|
||||
cd main/xiaozhi-server
|
||||
pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
|
||||
## 3.下载语音识别模型文件
|
||||
## 3. Download the speech recognition model file
|
||||
|
||||
你需要下载语音识别的模型文件,因为本项目的默认语音识别用的是本地离线语音识别方案。可通过这个方式下载
|
||||
[跳转到下载语音识别模型文件](#模型文件)
|
||||
You need to download the speech recognition model file, because the default speech recognition of this project uses the local offline speech recognition solution. You can download it in this way
|
||||
[Jump to download speech recognition model files](#Model files)
|
||||
|
||||
下载完后,回到本教程。
|
||||
Once downloaded, return to this tutorial.
|
||||
|
||||
## 4.配置项目文件
|
||||
## 4. Configure project files
|
||||
|
||||
接下来,程序还不能直接运行,你需要配置一下,你到底使用的是什么模型。你可以看这个教程:
|
||||
[跳转到配置项目文件](#配置项目)
|
||||
Next, the program cannot be run directly. You need to configure what model you are using. You can refer to this tutorial:
|
||||
[Jump to configuration project file](#Configure Project)
|
||||
|
||||
## 5.运行项目
|
||||
## 5. Run the project
|
||||
|
||||
```
|
||||
# 确保在xiaozhi-server目录下执行
|
||||
# Make sure to execute in the xiaozhi-server directory
|
||||
conda activate xiaozhi-esp32-server
|
||||
python app.py
|
||||
```
|
||||
这时,你就要留意日志信息,可以根据这个教程,判断是否成功了。[跳转到运行状态确认](#运行状态确认)
|
||||
At this point, you should pay attention to the log information and can judge whether it is successful according to this tutorial. [Jump to running status confirmation](#Running status confirmation)
|
||||
|
||||
|
||||
# 汇总
|
||||
# Summary
|
||||
|
||||
## 配置项目
|
||||
## Configure the project
|
||||
|
||||
如果你的`xiaozhi-server`目录没有`data`,你需要创建`data`目录。
|
||||
如果你的`data`下面没有`.config.yaml`文件,有两个方式,任选一种:
|
||||
If your `xiaozhi-server` directory does not have `data`, you need to create a `data` directory.
|
||||
If you don't have a `.config.yaml` file under `data`, there are two ways to do this. Choose one:
|
||||
|
||||
第一个方式:你可以把`xiaozhi-server`目录下的`config.yaml`文件复制到`data`,并重命名为`.config.yaml`。在此文件上修改
|
||||
The first method: You can copy the `config.yaml` file in the `xiaozhi-server` directory to `data` and rename it to `.config.yaml`. Modify this file
|
||||
|
||||
第二个方式:你也可以创建在`data`目录下手动创建`.config.yaml`空文件,然后在这个文件中增加必要的配置信息,系统会优先读取`.config.yaml`文件的配置,如果`.config.yaml`没有配置的,系统会自动去加载`xiaozhi-server`目录下的`config.yaml`的配置。推荐使用这种方式,这种方式是最简洁的方式。
|
||||
The second method: You can also manually create an empty `.config.yaml` file in the `data` directory, and then add the necessary configuration information to this file. The system will prioritize reading the configuration of the `.config.yaml` file. If the `.config.yaml` file is not configured, the system will automatically load the configuration of the `config.yaml` in the `xiaozhi-server` directory. This method is recommended and the simplest.
|
||||
|
||||
- 默认的LLM使用的是`ChatGLMLLM`,你需要配置密钥,因为他们的模型,虽然有免费的,但是仍要去[官网](https://bigmodel.cn/usercenter/proj-mgmt/apikeys)注册密钥,才能启动。
|
||||
- The default LLM uses `ChatGLMLLM`, you need to configure the key, because although their model is free, you still need to go to the [official website](https://bigmodel.cn/usercenter/proj-mgmt/apikeys) to register the key before you can start it.
|
||||
|
||||
以下是一个能正常跑起来的,最简单的`.config.yaml`配置示例
|
||||
The following is a simple `.config.yaml` configuration example that works properly.
|
||||
|
||||
```
|
||||
server:
|
||||
websocket: ws://你的ip或者域名:端口号/xiaozhi/v1/
|
||||
websocket: ws://your ip or domain name:port number/xiaozhi/v1/
|
||||
prompt: |
|
||||
我是一个叫小智/小志的台湾女孩,说话机车,声音好听,习惯简短表达,爱用网络梗。
|
||||
我的男朋友是一个程序员,梦想是开发出一个机器人,能够帮助人们解决生活中的各种问题。
|
||||
我是一个喜欢哈哈大笑的女孩,爱东说西说吹牛,不合逻辑的也照吹,就要逗别人开心。
|
||||
请你像一个人一样说话,请勿返回配置xml及其他特殊字符。
|
||||
I am a Taiwanese girl named Xiaozhi/Xiaozhi. I speak in a funky way with a nice voice. I am used to expressing myself briefly and I love to use internet memes.
|
||||
My boyfriend is a programmer and his dream is to develop a robot that can help people solve various problems in life.
|
||||
I am a girl who likes to laugh out loud. I love to talk about everything and brag, even if it is illogical, just to make others happy.
|
||||
Please speak like a human being and do not return configuration XML and other special characters.
|
||||
|
||||
selected_module:
|
||||
LLM: DoubaoLLM
|
||||
|
|
@ -217,69 +217,69 @@ LLM:
|
|||
api_key: xxxxxxxxxxxxxxx.xxxxxx
|
||||
```
|
||||
|
||||
建议先将最简单的配置运行起来,然后再去`xiaozhi/config.yaml`阅读配置的使用说明。
|
||||
比如你要换更换模型,修改`selected_module`下的配置就行。
|
||||
It is recommended to run the simplest configuration first, and then go to `xiaozhi/config.yaml` to read the configuration instructions.
|
||||
For example, if you want to change the model, just modify the configuration under `selected_module`.
|
||||
|
||||
## 模型文件
|
||||
## Model file
|
||||
|
||||
本项目语音识别模型,默认使用`SenseVoiceSmall`模型,进行语音转文字。因为模型较大,需要独立下载,下载后把`model.pt`
|
||||
文件放在`models/SenseVoiceSmall`
|
||||
目录下。下面两个下载路线任选一个。
|
||||
The speech recognition model of this project uses the `SenseVoiceSmall` model by default for speech-to-text conversion. Because the model is large, it needs to be downloaded separately. After downloading, copy `model.pt`
|
||||
The file is placed in `models/SenseVoiceSmall`
|
||||
In the directory. Choose one of the following two download routes.
|
||||
|
||||
- 线路一:阿里魔搭下载[SenseVoiceSmall](https://modelscope.cn/models/iic/SenseVoiceSmall/resolve/master/model.pt)
|
||||
- 线路二:百度网盘下载[SenseVoiceSmall](https://pan.baidu.com/share/init?surl=QlgM58FHhYv1tFnUT_A8Sg&pwd=qvna) 提取码:
|
||||
- Route 1: Download [SenseVoiceSmall](https://modelscope.cn/models/iic/SenseVoiceSmall/resolve/master/model.pt) from AliMoDa
|
||||
- Route 2: Download [SenseVoiceSmall](https://pan.baidu.com/share/init?surl=QlgM58FHhYv1tFnUT_A8Sg&pwd=qvna) from Baidu Netdisk. Extraction code:
|
||||
`qvna`
|
||||
|
||||
## 运行状态确认
|
||||
## Running status confirmation
|
||||
|
||||
如果你能看到,类似以下日志,则是本项目服务启动成功的标志。
|
||||
If you can see logs similar to the following, it means that the project service has been successfully started.
|
||||
|
||||
```
|
||||
250427 13:04:20[0.3.11_SiFuChTTnofu][__main__]-INFO-OTA接口是 http://192.168.4.123:8003/xiaozhi/ota/
|
||||
250427 13:04:20[0.3.11_SiFuChTTnofu][__main__]-INFO-Websocket地址是 ws://192.168.4.123:8000/xiaozhi/v1/
|
||||
250427 13:04:20[0.3.11_SiFuChTTnofu][__main__]-INFO-=======上面的地址是websocket协议地址,请勿用浏览器访问=======
|
||||
250427 13:04:20[0.3.11_SiFuChTTnofu][__main__]-INFO-如想测试websocket请用谷歌浏览器打开test目录下的test_page.html
|
||||
250427 13:04:20[0.3.11_SiFuChTTnofu][__main__]-INFO-=======================================================
|
||||
250427 13:04:20 [0.3.11_SiFuChTTnofu][__main__] - INFO - OTA interface is http://192.168.4.123:8003/xiaozhi/ota/
|
||||
250427 13:04:20 [0.3.11_SiFuChTTnofu][__main__]-INFO-Websocket address is ws://192.168.4.123:8000/xiaozhi/v1/
|
||||
250427 13:04:20[0.3.11_SiFuChTTnofu][__main__]-INFO-=======The above address is a websocket protocol address, please do not access it with a browser=======
|
||||
250427 13:04:20[0.3.11_SiFuChTTnofu][__main__]-INFO-If you want to test websocket, please use Google Chrome to open the test_page.html in the test directory.
|
||||
250427 13:04:20[0.3.11_SiFuChTTnofu][__main__]-INFO-==========================================================
|
||||
```
|
||||
|
||||
正常来说,如果您是通过源码运行本项目,日志会有你的接口地址信息。
|
||||
但是如果你用docker部署,那么你的日志里给出的接口地址信息就不是真实的接口地址。
|
||||
Normally, if you run this project through source code, the log will have your interface address information.
|
||||
However, if you deploy with Docker, the interface address information given in your log is not the real interface address.
|
||||
|
||||
最正确的方法,是根据电脑的局域网IP来确定你的接口地址。
|
||||
如果你的电脑的局域网IP比如是`192.168.1.25`,那么你的接口地址就是:`ws://192.168.1.25:8000/xiaozhi/v1/`,对应的OTA地址就是:`http://192.168.1.25:8003/xiaozhi/ota/`。
|
||||
The most correct way is to determine your interface address based on the computer's LAN IP.
|
||||
If your computer's LAN IP is, for example, `192.168.1.25`, then your interface address is: `ws://192.168.1.25:8000/xiaozhi/v1/`, and the corresponding OTA address is: `http://192.168.1.25:8003/xiaozhi/ota/`.
|
||||
|
||||
这个信息很有用的,后面`编译esp32固件`需要用到。
|
||||
This information is very useful and will be needed later when `compiling the ESP32 firmware`.
|
||||
|
||||
接下来,你就可以开始操作你的esp32设备了,你可以`自行编译esp32固件`也可以配置使用`虾哥编译好的1.6.1以上版本的固件`。两个任选一个
|
||||
Next, you can start operating your ESP32 device. You can either compile the ESP32 firmware yourself or use the firmware compiled by Xiage (version 1.6.1 or above).
|
||||
|
||||
1、 [编译自己的esp32固件](firmware-build.md)了。
|
||||
1. [Compile your own ESP32 firmware](firmware-build.md).
|
||||
|
||||
2、 [基于虾哥编译好的固件配置自定义服务器](firmware-setting.md)了。
|
||||
2. [Configure a custom server based on the firmware compiled by Xia Ge](firmware-setting.md).
|
||||
|
||||
# 常见问题
|
||||
以下是一些常见问题,供参考:
|
||||
# FAQ
|
||||
Here are some frequently asked questions for your reference:
|
||||
|
||||
1、[为什么我说的话,小智识别出来很多韩文、日文、英文](./FAQ.md)<br/>
|
||||
2、[为什么会出现“TTS 任务出错 文件不存在”?](./FAQ.md)<br/>
|
||||
3、[TTS 经常失败,经常超时](./FAQ.md)<br/>
|
||||
4、[使用Wifi能连接自建服务器,但是4G模式却接不上](./FAQ.md)<br/>
|
||||
5、[如何提高小智对话响应速度?](./FAQ.md)<br/>
|
||||
6、[我说话很慢,停顿时小智老是抢话](./FAQ.md)<br/>
|
||||
## 部署相关教程
|
||||
1、[如何自动拉取本项目最新代码自动编译和启动](./dev-ops-integration.md)<br/>
|
||||
2、[如何与Nginx集成](https://github.com/xinnan-tech/xiaozhi-esp32-server/issues/791)<br/>
|
||||
## 拓展相关教程
|
||||
1、[如何开启手机号码注册智控台](./ali-sms-integration.md)<br/>
|
||||
2、[如何集成HomeAssistant实现智能家居控制](./homeassistant-integration.md)<br/>
|
||||
3、[如何开启视觉模型实现拍照识物](./mcp-vision-integration.md)<br/>
|
||||
4、[如何部署MCP接入点](./mcp-endpoint-enable.md)<br/>
|
||||
5、[如何接入MCP接入点](./mcp-endpoint-integration.md)<br/>
|
||||
6、[如何开启声纹识别](./voiceprint-integration.md)<br/>
|
||||
10、[新闻插件源配置指南](./newsnow_plugin_config.md)<br/>
|
||||
## 语音克隆、本地语音部署相关教程
|
||||
1、[如何部署集成index-tts本地语音](./index-stream-integration.md)<br/>
|
||||
2、[如何部署集成fish-speech本地语音](./fish-speech-integration.md)<br/>
|
||||
3、[如何部署集成PaddleSpeech本地语音](./paddlespeech-deploy.md)<br/>
|
||||
## 性能测试教程
|
||||
1、[各组件速度测试指南](./performance_tester.md)<br/>
|
||||
2、[定期公开测试结果](https://github.com/xinnan-tech/xiaozhi-performance-research)<br/>
|
||||
1. [Why does Xiaozhi recognize a lot of Korean, Japanese, and English when I say something?](./FAQ.md)
|
||||
2. [Why does the error "TTS task error file does not exist" appear?](./FAQ.md)<br/>
|
||||
3. [TTS often fails and times out](./FAQ.md)<br/>
|
||||
4. [I can connect to my own server using Wi-Fi, but not using 4G](./FAQ.md)<br/>
|
||||
5. [How to improve Xiaozhi's dialogue response speed? ](./FAQ.md)<br/>
|
||||
6. [I speak very slowly, and Xiaozhi always interrupts me when I pause](./FAQ.md)
|
||||
## Deployment related tutorials
|
||||
1. [How to automatically pull the latest code of this project, compile and start it](./dev-ops-integration.md)<br/>
|
||||
2. [How to integrate with Nginx](https://github.com/xinnan-tech/xiaozhi-esp32-server/issues/791)
|
||||
## Expand related tutorials
|
||||
1. [How to enable mobile phone number registration smart console](./ali-sms-integration.md)<br/>
|
||||
2. [How to integrate HomeAssistant to achieve smart home control](./homeassistant-integration.md)
|
||||
3. [How to enable the vision model to realize photo recognition](./mcp-vision-integration.md)
|
||||
4. [How to deploy MCP access points](./mcp-endpoint-enable.md)
|
||||
5. [How to access the MCP access point](./mcp-endpoint-integration.md)
|
||||
6. [How to enable voiceprint recognition](./voiceprint-integration.md)
|
||||
10. [News plugin source configuration guide](./newsnow_plugin_config.md)<br/>
|
||||
## Tutorials on voice cloning and local voice deployment
|
||||
1. [How to deploy and integrate index-tts local voice](./index-stream-integration.md)<br/>
|
||||
2. [How to deploy integrated fish-speech local voice](./fish-speech-integration.md)<br/>
|
||||
3. [How to deploy and integrate PaddleSpeech local voice](./paddlespeech-deploy.md)<br/>
|
||||
## Performance Testing Tutorial
|
||||
1. [Component Speed Test Guide](./performance_tester.md)<br/>
|
||||
2. [Publish test results regularly](https://github.com/xinnan-tech/xiaozhi-performance-research)
|
||||
|
|
|
|||
Loading…
Reference in a new issue