AI 业务逻辑初始化

This commit is contained in:
wangxiangshun
2025-10-04 13:56:50 +08:00
parent 6ab8d3d252
commit 51c27865f0
20 changed files with 845 additions and 1420 deletions

View File

@@ -123,6 +123,7 @@ fs:
max-file-size: 104857600 #字节Byte
bucket-name.: # 存储桶名称(提前在 MinIO 控制台创建)
system-fs: system-fs
# Twilio SendGrid 配置
twilio:
sendgrid:
@@ -141,12 +142,25 @@ verification:
length: 5
# 验证码过期时间(分钟)
expiration-minutes: 10
# 文本转语音
elevenLabs:
baseUrl: https://api.elevenlabs.io/v1
apiKey: sk_5240d8f56cb1eb5225fffcf903f62479884d1af5b3de6812
modelId: eleven_monolingual_v1
# 语音转文本
whisper:
apiUrl: https://api.openai.com/v1/audio/transcriptions
model: whisper-1
apiKey: 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
language: zh
# AI 聊天
chatGpt:
apiKey:
apiUrl: https://api.openai.com/v1/chat/completions
model: gpt-3.5-turbo
role: user
here-map:
api-key: q1gsOSZ899P8dVaoW2HZXq40W-AqCwB6iON5tw7-sqI
geocoding-api-url: https://geocode.search.hereapi.com/v1/geocode
reverse-geocoding-api-url: https://revgeocode.search.hereapi.com/v1/revgeocode
router-api-url: https://router.hereapi.com/v8/routes
http:
client: