mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-26 04:39:53 +01:00
Merge 954453fb3d into 242a701984
This commit is contained in:
commit
e362cfbdfc
4 changed files with 25 additions and 1 deletions
|
|
@ -256,7 +256,7 @@ Websocket接口地址: wss://2662r3426b.vicp.fun/xiaozhi/v1/
|
||||||
|
|
||||||
| 使用方式 | 支持平台 | 免费平台 |
|
| 使用方式 | 支持平台 | 免费平台 |
|
||||||
|:---:|:---:|:---:|
|
|:---:|:---:|:---:|
|
||||||
| OpenAI 接口调用 | 阿里百炼、火山引擎、DeepSeek、智谱、Gemini、科大讯飞、LM Studio | 智谱、Gemini |
|
| OpenAI 接口调用 | 阿里百炼、火山引擎、DeepSeek、智谱、Gemini、科大讯飞、LM Studio、Atlas Cloud | 智谱、Gemini |
|
||||||
| ollama 接口调用 | Ollama | - |
|
| ollama 接口调用 | Ollama | - |
|
||||||
| dify 接口调用 | Dify | - |
|
| dify 接口调用 | Dify | - |
|
||||||
| fastgpt 接口调用 | Fastgpt | - |
|
| fastgpt 接口调用 | Fastgpt | - |
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
-- 新增 Atlas Cloud(OpenAI 兼容网关)LLM 配置
|
||||||
|
delete from `ai_model_config` where id = 'LLM_AtlasCloudLLM';
|
||||||
|
INSERT INTO `ai_model_config` VALUES ('LLM_AtlasCloudLLM', 'LLM', 'AtlasCloudLLM', 'Atlas Cloud', 0, 1, '{"type": "openai", "base_url": "https://api.atlascloud.ai/v1", "model_name": "deepseek-ai/deepseek-v4-flash", "api_key": "你的api_key"}', 'https://www.atlascloud.ai/docs', 'Atlas Cloud 配置说明:
|
||||||
|
1. Atlas Cloud 是 OpenAI 兼容的多模型 API 网关
|
||||||
|
2. 在 https://console.atlascloud.ai/api-keys 获取 API Key
|
||||||
|
3. 可用模型列表见 https://api.atlascloud.ai/v1/models ,model_name 形如 deepseek-ai/deepseek-v4-flash
|
||||||
|
4. 填入 api_key 后保存即可使用
|
||||||
|
', 15, NULL, NULL, NULL, NULL);
|
||||||
|
|
@ -774,6 +774,13 @@ databaseChangeLog:
|
||||||
- sqlFile:
|
- sqlFile:
|
||||||
encoding: utf8
|
encoding: utf8
|
||||||
path: classpath:db/changelog/202610302051.sql
|
path: classpath:db/changelog/202610302051.sql
|
||||||
|
- changeSet:
|
||||||
|
id: 202611021000
|
||||||
|
author: binyangzhu000-sudo
|
||||||
|
changes:
|
||||||
|
- sqlFile:
|
||||||
|
encoding: utf8
|
||||||
|
path: classpath:db/changelog/202611021000.sql
|
||||||
- changeSet:
|
- changeSet:
|
||||||
id: 202611021200
|
id: 202611021200
|
||||||
author: heydryft
|
author: heydryft
|
||||||
|
|
|
||||||
|
|
@ -718,6 +718,15 @@ LLM:
|
||||||
base_url: https://ai-gateway.vei.volces.com/v1
|
base_url: https://ai-gateway.vei.volces.com/v1
|
||||||
model_name: doubao-pro-32k-functioncall
|
model_name: doubao-pro-32k-functioncall
|
||||||
api_key: 你的网关访问密钥
|
api_key: 你的网关访问密钥
|
||||||
|
AtlasCloudLLM:
|
||||||
|
# Atlas Cloud - OpenAI 兼容的多模型 API 网关
|
||||||
|
# 定义LLM API类型
|
||||||
|
type: openai
|
||||||
|
# 可在这里找到你的api key https://console.atlascloud.ai/api-keys
|
||||||
|
# 可用模型列表:https://api.atlascloud.ai/v1/models ,文档:https://www.atlascloud.ai/docs
|
||||||
|
base_url: https://api.atlascloud.ai/v1
|
||||||
|
model_name: deepseek-ai/deepseek-v4-flash
|
||||||
|
api_key: 你的atlascloud api key
|
||||||
LMStudioLLM:
|
LMStudioLLM:
|
||||||
# 定义LLM API类型
|
# 定义LLM API类型
|
||||||
type: openai
|
type: openai
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue