新增H5长按录音并接入百度语音转文字

This commit is contained in:
2026-10-30 11:09:50 +08:00
parent 99c26a393a
commit 3f1cee8006
18 changed files with 954 additions and 16 deletions
+10
View File
@@ -5,3 +5,13 @@
DEEPSEEK_API_KEY=
# Optional fixed tenant scope for the internal order test dataset. Empty = all imported test rows.
ORDER_DATA_TENANT_ID=
# Short-recording ASR is independent of DEEPSEEK_API_KEY. No credentials = voice input unavailable.
ASR_PROVIDER=baidu
BAIDU_ASR_API_KEY=
BAIDU_ASR_SECRET_KEY=
# Optional absolute ffmpeg executable path. Empty = find ffmpeg on PATH. Docker includes it.
FFMPEG_BIN=
# Optional alternative: ASR_PROVIDER=dashscope, with a separate Alibaba Cloud Model Studio key.
ASR_API_KEY=
ASR_URL=https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions
ASR_MODEL=qwen3-asr-flash