【新增】AI:通过 AiClientFactory 提供 chatclient

This commit is contained in:
YunaiV
2024-05-22 12:37:21 +08:00
parent cad1ce4852
commit 2fefcf8834
12 changed files with 289 additions and 108 deletions

View File

@ -150,15 +150,8 @@ spring.ai:
chat:
model: llama3
openai:
# api-key: sk-QmgIIPc5xiYd8lPb076b1b7774Ea49Af9eD2Ef172c8f7e43
# base-url: https://openkey.cloud
# api-key: sk-gkgfYxhX9FxyZJznwxRZSJwKeGQYNPDVWjhby2PRRf17GHeT
# base-url: https://api.chatanywhere.tech
api-key: sk-yzKea6d8e8212c3bdd99f9f44ced1cae37c097e5aa3BTS7z
base-url: https://api.gptsapi.net
# chat:
# options:
# model: gpt-4-0125-preview
yudao.ai:
yiyan: