Skip to content

dify voice具体要怎么配置? #211

@huchong05

Description

@huchong05

问一下,dify voice介绍中说要安装ffmpeg,我的dow是在NAS上的docker安装的,要怎样安装ffmpeg?另外,说要在dify里面配置语音,具体要配置什么?我的dify也是在NAS上的docker安装的,已经配置了LLM、SPEECH2TEXT和TTS模型,还需要配置什么?给dow用的API KEY是dify里面的一个简单的chatbot,dify voice需要另外配置一个吗?

目前安说明配置后,给bot发送语音后,后台log如下:
172.29.0.1:35456 - - [22/Jan/2025 18:39:06] "HTTP/1.1 POST /v2/api/callback/collect" - 200 OK
[WARNING][2025-01-22 18:39:06][chat_channel.py:205] - [chat_channel]any to wav error, use raw path. name 'pysilk' is not defined
[ERROR][2025-01-22 18:39:06][dify_voice.py:34] - {"code": "invalid_param", "message": "Speech to text is not enabled", "status": 400}
[ERROR][2025-01-22 18:39:06][dify_voice.py:41] - [DIFY VOICE] voiceToText error=400 Client Error: Bad Request for url: https://x.x.x/v1/audio-to-text
[INFO][2025-01-22 18:39:06][gewechat_channel.py:116] - [gewechat] Do send text to wxid_xxxxxxxxxxxxxx: [ERROR]
我暂时还无法听清您的语音,请稍后再试吧~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions