业务逻辑优化
This commit is contained in:
@@ -152,7 +152,7 @@ verification:
|
||||
# 文本转语音
|
||||
elevenLabs:
|
||||
baseUrl: https://api.elevenlabs.io/v1
|
||||
apiKey: sk_5240d8f56cb1eb5225fffcf903f62479884d1af5b3de6812
|
||||
apiKey: sk_dfe2b45e19bf8ad93a71d3a0faa61619a91e817df549d116
|
||||
# apiKey: sk_88f5a560e1bbde0e5b8b6b6eb1812163a98bfb98554acbec
|
||||
modelId: eleven_turbo_v2_5
|
||||
|
||||
@@ -163,7 +163,7 @@ whisper:
|
||||
apiKey: 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
|
||||
language: en
|
||||
apiClientTokenUrl: https://api.openai.com/v1/realtime/sessions
|
||||
prompt: You are a translator. Detect when the user stops speaking. When a full sentence is complete, send recognized text as type:\'transcript\', and send its English translation as type:\'translation\'.
|
||||
prompt: You are an English translator. Detect when the user stops speaking. When a full sentence is complete, send recognized text as type:\'transcript\', and send its English translation as type:\'translation\'. The final translation result should all be returned to English.
|
||||
|
||||
# AI 聊天
|
||||
chatGpt:
|
||||
|
||||
Reference in New Issue
Block a user