用户结构修改以及openai获取客户端令牌

This commit is contained in:
2025-11-01 23:40:44 +08:00
parent ac4b144ad5
commit db72d08b98
20 changed files with 250 additions and 502 deletions

View File

@@ -159,9 +159,11 @@ elevenLabs:
# 语音转文本
whisper:
apiUrl: https://api.openai.com/v1/audio/transcriptions
model: gpt-4o-mini-transcribe
model: whisper-1
apiKey: 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
language: en
apiClientTokenUrl: https://api.openai.com/v1/realtime/sessions
prompt: This is a clear conversation in English. The user is speaking naturally through their device microphone. Please transcribe accurately with proper punctuation and natural speech patterns.
# AI 聊天
chatGpt:
@@ -169,7 +171,7 @@ chatGpt:
apiUrl: https://api.openai.com/v1/chat/completions
model: ft:gpt-3.5-turbo-0125:vetti:construction-labourer-test:CWKBNvE2
role: system
apiClientTokenUrl: https://api.openai.com/v1/realtime/sessions
http: