-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Xinwei Xiong <[email protected]>
- Loading branch information
Showing
8 changed files
with
122 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,22 @@ | ||
# MinIO 配置 | ||
MINIO_ENDPOINT='' | ||
MINIO_ACCESS_KEY='' | ||
MINIO_SECRET_KEY='' | ||
VOICEFLOW_MINIO_ENDPOINT='localhost:9000' # MinIO 服务地址 | ||
VOICEFLOW_MINIO_ACCESS_KEY='minioadmin' # MinIO 访问密钥 | ||
VOICEFLOW_MINIO_SECRET_KEY='minioadmin' # MinIO 密钥 | ||
|
||
# Azure 配置 | ||
AZURE_STT_KEY='' | ||
AZURE_TTS_KEY='' | ||
VOICEFLOW_AZURE_STT_KEY='your_azure_stt_key' # Azure 语音转文本密钥 | ||
VOICEFLOW_AZURE_TTS_KEY='your_azure_tts_key' # Azure 文本转语音密钥 | ||
VOICEFLOW_AZURE_REGION='eastus' # Azure 服务区域 | ||
|
||
# Google 配置 | ||
GOOGLE_STT_KEY='' | ||
GOOGLE_TTS_KEY='' | ||
VOICEFLOW_GOOGLE_STT_KEY='your_google_stt_key' # Google 语音转文本密钥 | ||
VOICEFLOW_GOOGLE_TTS_KEY='your_google_tts_key' # Google 文本转语音密钥 | ||
|
||
# OpenAI 配置 | ||
OPENAI_API_KEY='' | ||
|
||
# 语音服务端口 | ||
VOICE_SERVER_PORT=18080 | ||
VOICEFLOW_OPENAI_API_KEY='your_openai_api_key' # OpenAI API 密钥 | ||
|
||
# AssemblyAI 配置 | ||
ASSEMBLYAI_API_KEY='' | ||
VOICEFLOW_ASSEMBLYAI_API_KEY='your_assemblyai_api_key' # AssemblyAI API 密钥 | ||
|
||
# 语音服务端口配置 | ||
VOICEFLOW_SERVER_PORT=18080 # VoiceFlow 服务端口 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
// stt.go | ||
package stt | ||
|
||
import ( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters