Skip to content

Commit

Permalink
Merge pull request #1546 from CodePhiliaX/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
Chat2DB-Pro authored Oct 28, 2024
2 parents a3d0eca + 38b03a7 commit e3d301b
Show file tree
Hide file tree
Showing 85 changed files with 4,740 additions and 518 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ Double click package to install
- modelscope:[Chat2DB-SQL-7B](https://modelscope.cn/models/Chat2DB/Chat2DB-SQL-7B/summary)

### Deploy the InternLM model on Chat2DB

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)

## Supported databases
Expand Down
1 change: 1 addition & 0 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
- modelscope:[Chat2DB-SQL-7B](https://modelscope.cn/models/Chat2DB/Chat2DB-SQL-7B/summary)

### 在Chat2DB上即成InternLM模型

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

## 支持的数据库
Expand Down
4 changes: 2 additions & 2 deletions chat2db-client/src/blocks/Setting/AiSetting/aiTypeConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ const AIFormConfig: Record<AIType, IAiConfigBooleans> = {
},
[AIType.ZHIPUAI]: {
apiKey: true,
apiHost: 'https://open.bigmodel.cn/api/paas/v3/model-api/',
model: 'chatglm_turbo',
apiHost: 'https://open.bigmodel.cn/api/paas/v4/chat/completions',
model: 'codegeex-4',
},
[AIType.BAICHUANAI]: {
apiKey: true,
Expand Down
Loading

0 comments on commit e3d301b

Please sign in to comment.