Skip to content

Commit e3d301b

Browse files
authored
Merge pull request CodePhiliaX#1546 from CodePhiliaX/dev
Dev
2 parents a3d0eca + 38b03a7 commit e3d301b

File tree

85 files changed

+4740
-518
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+4740
-518
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ Double click package to install
4040
- modelscope:[Chat2DB-SQL-7B](https://modelscope.cn/models/Chat2DB/Chat2DB-SQL-7B/summary)
4141

4242
### Deploy the InternLM model on Chat2DB
43+
4344
Thanks to [InternLM](https://github.com/InternLM/InternLM) for the strong support for this project. In the custom models of this project, multiple model weights from InternLM can be integrated. For more details, please refer to [chat2db-internlm-deploy](https://github.com/chat2db/chat2db-internlm-deploy)
4445

4546
## Supported databases

README_CN.md

+1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
- modelscope:[Chat2DB-SQL-7B](https://modelscope.cn/models/Chat2DB/Chat2DB-SQL-7B/summary)
7373

7474
### 在Chat2DB上即成InternLM模型
75+
7576
感谢InternLM对本项目的大力支持,在本项目中的自定义模型中,可以集成InternLM的多个模型权重,具体请参考[chat2db-internlm-deploy](https://github.com/chat2db/chat2db-internlm-deploy)
7677

7778
## 支持的数据库

chat2db-client/src/blocks/Setting/AiSetting/aiTypeConfig.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ const AIFormConfig: Record<AIType, IAiConfigBooleans> = {
2323
},
2424
[AIType.ZHIPUAI]: {
2525
apiKey: true,
26-
apiHost: 'https://open.bigmodel.cn/api/paas/v3/model-api/',
27-
model: 'chatglm_turbo',
26+
apiHost: 'https://open.bigmodel.cn/api/paas/v4/chat/completions',
27+
model: 'codegeex-4',
2828
},
2929
[AIType.BAICHUANAI]: {
3030
apiKey: true,

0 commit comments

Comments
 (0)