You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
# 视频教程: 小智ai服务端本地部署完整教程, 支持DeepSeek接入
https://www.bilibili.com/video/BV1GvQWYZEd2/
# 开源地址
https://github.com/xinnan-tech/xiaozhi-esp32-server
# Git下载
git clone https://github.com/xinnan-tech/xiaozhi-esp32-server.git
# 小智 AI 聊天机器人百科全书
https://ccnphfhqs21z.feishu.cn/wiki/F5krwD16viZoF0kKkvDcrZNYnhb
# 购买店铺链接
https://docs.qq.com/sheet/DWmRhbnVHSnRWc2xz?tab=vajqu5
#添加清华源通道【如果需要要的话】
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
# 一、部署
conda remove -n xiaozhi-esp32-server --all -y
conda create -n xiaozhi-esp32-server python=3.10 -y
conda activate xiaozhi-esp32-server
# 安装音频处理工具,录制,转码,剪辑等
conda install libopus -y
# 音频的编码解码库
conda install ffmpeg -y
#进入到你的项目根目录, 再进入main/xiaozhi-server
d:
cd D:\dsWork\QingLong\XiaoZhi\xiaozhi-esp32-server\main\xiaozhi-server
pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
pip install -r requirements.txt
# 二、下载语音识别模型文件
下载地址: https://pan.baidu.com/share/init?surl=QlgM58FHhYv1tFnUT_A8Sg&pwd=qvna
将model.pt 放到 D:\dsWork\QingLong\XiaoZhi\xiaozhi-esp32-server\main\xiaozhi-server\models\SenseVoiceSmall
# 三、配置项目
如果你的xiaozhi-server目录没有data, 你需要创建data目录。如果你的data下面没有.config.yaml文件, 你可以把源码目录下的config.yaml文件复制一份, 重命名为.config.yaml
>>>>>>> bdebb3b90366de6dfe0841f14ff25e80f1a72125