# ali_ai_server **Repository Path**: ali-doesnt-eat-oranges/ali_ai_server ## Basic Information - **Project Name**: ali_ai_server - **Description**: ai服务端,本地语音转文本方案,回传ai对话结果文本格式。 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 3 - **Forks**: 1 - **Created**: 2024-11-21 - **Last Updated**: 2025-06-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ali_ai_sever #### 介绍 ai服务端,本地语音转文本方案,使用openai-whisper库进行语音转文本,通过moonshot api回传ai对话结果文本格式。可在webui界面进行语音输入,并获取ai对话结果。 *Todo:* 增加语音合成功能。 #### 软件架构 软件架构说明 #### 安装教程 1. 安装所需依赖包*先使用cd命令或者dir命令进入项目根目录,然后执行以下命令安装所需依赖包*: ```bash pip install -r ./pip_install_list.txt pip install openai-whisper -i https://pypi.tuna.tsinghua.edu.cn/simple ``` 2. 需要下载[ffmpeg](https://www.gyan.dev/ffmpeg/builds/),在该网址下载release builds版本解压并添加bin目录到环境变量中。 3. 注册moonshot api,[moonshont](https://platform.moonshot.cn/console/info),在用户中心>api key中获取api key。*注意:api key只能查看一次,请妥善保管。* 4. 配置api环境变量,在系统变量中添加`MOONSHOT_API_KEY`为你的api key。 #### 使用说明 1. xxxx 2. xxxx 3. xxxx #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)