Skip to content

Commit 1e172fc

Browse files
authored
Merge branch 'dev' into main-fix20240417
2 parents 20e810e + d9b1df5 commit 1e172fc

File tree

279 files changed

+16991
-3057
lines changed

Some content is hidden

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

279 files changed

+16991
-3057
lines changed

README.md

Lines changed: 25 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,18 @@
1-
<p align="center">
2-
<a href="https://chat2db.ai/" target="_blank">
3-
<img src="https://chat2db-cdn.oss-us-west-1.aliyuncs.com/website/img/cover.png" alt="Chat2DB" />
4-
</a>
5-
</p>
6-
7-
<div align="center">
81

92
# Chat2DB
103

11-
**English** | [中文](README_CN.md)· [Changelog](CHANGELOG.md) · [Doc](https://docs./) · [Report Bug](https://github.com/chat2db/Chat2DB/issues) · [PR](https://github.com/chat2db/Chat2DB/pulls)
12-
13-
</div>
14-
15-
16-
17-
<div align="center">
18-
<p align="center"><b>Share Chat2DB Repository </b></p>
19-
<p align="center">
4+
Coming soon on 10.25 for offline version, please get notified on Product Hunt!
205

21-
<a href="https://twitter.com/intent/tweet?text=Chat2DB-An%20intelligent%20and%20versatile%20general-purpose%20SQL%20client%20and%20reporting%20tool%20for%20databases%20which%20integrates%20ChatGPT%20capabilities.&url=https://github.com/chat2db/Chat2DB&hashtags=ChatGPT,AGI,SQL%20Client,Reporting%20tool" target="blank" > <img src="https://img.shields.io/twitter/follow/_Chat2DB?label=Share on Twitter&style=social" alt=""/> </a>
22-
<a href="https://t.me/share/url?text=Chat2DB-An%20intelligent%20and%20versatile%20general-purpose%20SQL%20client%20and%20reporting%20tool%20for%20databases%20which%20integrates%20ChatGPT%20capabilities.&url=https://github.com/chat2db/Chat2DB" target="_blank"><img src="https://img.shields.io/twitter/url?label=Telegram&logo=Telegram&style=social&url=https://github.com/chat2db/Chat2DB" alt="Share on Telegram"/></a>
23-
<a href="https://api.whatsapp.com/send?text=Chat2DB-An%20intelligent%20and%20versatile%20general-purpose%20SQL%20client%20and%20reporting%20tool%20for%20databases%20which%20integrates%20ChatGPT%20capabilities.%20https://github.com/chat2db/Chat2DB"><img src="https://img.shields.io/twitter/url?label=whatsapp&logo=whatsapp&style=social&url=https://github.com/chat2db/Chat2DB" /></a>
24-
<a href="https://www.reddit.com/submit?url=https://github.com/chat2db/Chat2DB&title=Chat2DB-An%20intelligent%20and%20versatile%20general-purpose%20SQL%20client%20and%20reporting%20tool%20for%20databases%20which%20integrates%20ChatGPT%20capabilities." target="blank"><img src="https://img.shields.io/twitter/url?label=Reddit&logo=Reddit&style=social&url=https://github.com/chat2db/Chat2DB" alt="Share on Reddit"/></a>
25-
<a href="mailto:?subject=Check%20this%20GitHub%20repository%20out.&body=Chat2DB-An%20intelligent%20and%20versatile%20general-purpose%20SQL%20client%20and%20reporting%20tool%20for%20databases%20which%20integrates%20ChatGPT%20capabilities.%3A%0Ahttps://github.com/chat2db/Chat2DB" target="_blank"><img src="https://img.shields.io/twitter/url?label=Gmail&logo=Gmail&style=social&url=https://github.com/chat2db/Chat2DB"/></a>
26-
</p>
6+
<a href="https://www.producthunt.com/posts/chat2db-local?embed=true&utm_source=badge-featured&utm_medium=badge&utm_souce=badge-chat2db&#0045;local" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=497460&theme=dark" alt="Chat2DB&#0032;Local - Make&#0032;everyone&#0032;a&#0032;database&#0032;expert&#0032;and&#0032;data&#0032;analyst&#0046; | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" /></a>
277

8+
**English** | [中文](README_CN.md)· <a href="https://www.benchcouncil.org/evaluation/opencs/annual.html#Achievements">🏆 Top 100 Open Project!</a>
289

29-
<div style="display: flex; align-items: center;">
30-
If you think Chat2DB helpful, please click ⭐ Star<a style="display: flex; align-items: center;margin:0px 6px" target="_blank" href='https://github.com/chat2db/Chat2db'><img src="https://img.shields.io/github/stars/chat2db/Chat2DB.svg?style=flat-square&label=Stars&logo=github" alt="github star"/></a> and Fork this repo in the top right corner
31-
</div>
32-
<div style="display: flex; align-items: center;">
33-
Or upvote on Product Hunt
34-
<a href="https://www.producthunt.com/posts/chat2db-pro?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-chat2db&#0045;pro" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=450017&theme=light" alt="Chat2DB&#0032;Pro - AI&#0032;driven&#0032;data&#0032;development&#0032;and&#0032;analysis&#0032;platform | Product Hunt" style="width: 200px; height: 40px;" width="250" height="54" /></a> your support is the biggest motivation for Chat2DB to get better
35-
</div>
36-
</div>
10+
## Download and Install Chat2DB(Pro)
3711

38-
# NEWS
12+
[Download](https://chat2db.ai/download)
13+
Double click package to install
3914

40-
### 🚀🚀🚀 The long-awaited Chat2DB Pro version is finally here, with the following key highlights added.
41-
#### 🔥🔥🔥AI-driven intelligent SQL development
15+
#### AI-driven intelligent SQL development
4216
<a href="https://chat2db.ai/" target="_blank">
4317
<img src="https://chat2db-cdn.oss-us-west-1.aliyuncs.com/website/img/9664f2fd-250b-478e-a2a1-4b96464ba718.gif" alt="Chat2DB" />
4418
</a>
@@ -49,24 +23,27 @@
4923
<img src="https://chat2db-cdn.oss-us-west-1.aliyuncs.com/website/img/47a61ae7-2e21-45e7-a41e-e2559f51919d.gif" alt="Chat2DB" />
5024
</a>
5125

52-
#### ✨✨✨AI-driven Intelligent Reports
26+
#### AI-driven Intelligent Reports
5327
<a href="https://chat2db.ai/" target="_blank">
5428
<img src="https://chat2db-cdn.oss-us-west-1.aliyuncs.com/website/img/d070ca11-8bdd-4ff4-a435-ecfc623103cb.gif" alt="Chat2DB" />
5529
</a>
5630

57-
#### 🎉🎉🎉AI-driven Data Exploration
31+
#### AI-driven Data Exploration
5832
<a href="https://chat2db.ai/" target="_blank">
5933
<img src="https://chat2db-cdn.oss-us-west-1.aliyuncs.com/website/img/WechatIMG5138.jpg" alt="Chat2DB" />
6034
</a>
6135

62-
### 🎁🎁🎁 We have also open-sourced our first GLM, [Chat2DB-SQL-7B](https://github.com/chat2db/Chat2DB-GLM). You can refer more details from below links.
36+
### We have also open-sourced our first GLM, [Chat2DB-SQL-7B](https://github.com/chat2db/Chat2DB-GLM). You can refer more details from below links.
6337

6438
- github: [Chat2DB-SQL-7B](https://github.com/chat2db/Chat2DB-GLM)
6539
- huggingface🤗:[Chat2DB-SQL-7B](https://huggingface.co/Chat2DB/Chat2DB-SQL-7B)
6640
- modelscope:[Chat2DB-SQL-7B](https://modelscope.cn/models/Chat2DB/Chat2DB-SQL-7B/summary)
6741

42+
### Deploy the InternLM model on Chat2DB
43+
44+
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)
6845

69-
## 🚀 Supported databases
46+
## Supported databases
7047
Chat2DB Pro supports all the following databases, including the most requested Redis feature.
7148
- MySQL
7249
- PostgreSQL
@@ -86,13 +63,8 @@ Chat2DB Pro supports all the following databases, including the most requested R
8663
- Redis
8764
- Snowflake
8865

89-
## ⏬ Download and Install Chat2DB(Pro)
90-
91-
- Download installation package from [official website](https://chat2db.ai/download)
92-
- Double click package to install
93-
9466

95-
## 🌰 Using Chat2DB
67+
## Using Chat2DB
9668
Refer to the [Quick Start Guide](https://docs.chat2db.ai/) to get started with Chat2DB.
9769

9870

@@ -139,8 +111,15 @@ Thanks to all who contributed to Chat2DB~~
139111

140112
<a href="https://star-history.com/#chat2db/chat2db&Date">
141113
<picture>
142-
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=chat2db/chat2db&type=Date&theme=dark" />
143-
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=chat2db/chat2db&type=Date" />
144-
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=chat2db/chat2db&type=Date" />
114+
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=CodePhiliaX/chat2db&type=Date&theme=dark" />
115+
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=CodePhiliaX/chat2db&type=Date" />
116+
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=CodePhiliaX/chat2db&type=Date" />
145117
</picture>
146118
</a>
119+
120+
## link
121+
<p align="left">
122+
<a href="https://sa-token.cc" target="_blank">
123+
<img src="https://github.com/user-attachments/assets/d2182835-057a-47e6-80fc-e9efc4792a7f" alt="sa-token" width="15%"/>
124+
</a>
125+
</p>

README_CN.md

Lines changed: 29 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
<p align="center">
2-
<a href="https://chat2db-ai.com/" target="_blank">
3-
<img src="https://chat2db-cdn.oss-us-west-1.aliyuncs.com/website/img/cover.png" alt="Chat2DB" />
4-
</a>
5-
</p>
61

7-
<div align="center">
2+
3+
<a><img src="https://github.com/user-attachments/assets/8d0b3575-d38f-43a2-9d43-11d6475da0c7" width="30%"/></a>
4+
<a><img src="https://github.com/chat2db/Chat2DB/assets/22975773/81d13eff-c615-49f5-aee3-4107089593e0" width="20%"/></a>
5+
6+
加群前请先 Star 和 Fork,谢谢~关注微信公众号可加入微信、钉钉、QQ 群一起讨论,并可以获取 Chat2DB 最新动态和更新。
7+
88

99
# Chat2DB
1010

@@ -36,10 +36,15 @@
3636

3737
</div>
3838

39+
## ⏬ 下载和安装Chat2DB(Pro)
40+
41+
-[官网](https://chat2db-ai.com/download)下载安装包
42+
- 双击安装包进行安装
43+
3944
# 最近更新
4045

41-
### 🚀🚀🚀 期待已久的Chat2DB Pro版本终于来了,新增了以下几个核心亮点。
42-
#### 🔥🔥🔥AI驱动的智能SQL开发
46+
### 期待已久的Chat2DB Pro版本终于来了,新增了以下几个核心亮点。
47+
#### AI驱动的智能SQL开发
4348
<a href="https://chat2db-ai.com/" target="_blank">
4449
<img src="https://chat2db-cdn.oss-us-west-1.aliyuncs.com/website/img/9664f2fd-250b-478e-a2a1-4b96464ba718.gif" alt="Chat2DB" />
4550
</a>
@@ -50,24 +55,27 @@
5055
<img src="https://chat2db-cdn.oss-us-west-1.aliyuncs.com/website/img/47a61ae7-2e21-45e7-a41e-e2559f51919d.gif" alt="Chat2DB" />
5156
</a>
5257

53-
#### ✨✨✨AI驱动的智能报告
58+
#### AI驱动的智能报告
5459
<a href="https://chat2db-ai.com/" target="_blank">
5560
<img src="https://chat2db-cdn.oss-us-west-1.aliyuncs.com/website/img/d070ca11-8bdd-4ff4-a435-ecfc623103cb.gif" alt="Chat2DB" />
5661
</a>
5762

58-
#### 🎉🎉🎉AI驱动的数据探索
63+
#### AI驱动的数据探索
5964
<a href="https://chat2db-ai.com/" target="_blank">
6065
<img src="https://chat2db-cdn.oss-us-west-1.aliyuncs.com/website/img/WechatIMG5138.jpg" alt="Chat2DB" />
6166
</a>
6267

63-
### 🎁🎁🎁 我们还开源了我们的第一个GLM,[Chat2DB-SQL-7B](https://github.com/chat2db/Chat2DB-GLM)。你可以从下面的链接了解更多详情。
68+
### 我们还开源了我们的第一个GLM,[Chat2DB-SQL-7B](https://github.com/chat2db/Chat2DB-GLM)。你可以从下面的链接了解更多详情。
6469

6570
- GitHub: [Chat2DB-SQL-7B](https://github.com/chat2db/Chat2DB-GLM)
6671
- huggingface🤗:[Chat2DB-SQL-7B](https://huggingface.co/Chat2DB/Chat2DB-SQL-7B)
6772
- modelscope:[Chat2DB-SQL-7B](https://modelscope.cn/models/Chat2DB/Chat2DB-SQL-7B/summary)
6873

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

70-
## 🚀 支持的数据库
78+
## 支持的数据库
7179
Chat2DB Pro支持以下所有数据库,包括备受期待的Redis功能。
7280
- MySQL
7381
- PostgreSQL
@@ -87,12 +95,8 @@ Chat2DB Pro支持以下所有数据库,包括备受期待的Redis功能。
8795
- Redis
8896
- Snowflake
8997

90-
## ⏬ 下载和安装Chat2DB(Pro)
91-
92-
-[官网](https://chat2db-ai.com/download)下载安装包
93-
- 双击安装包进行安装
9498

95-
## 🌰 使用Chat2DB
99+
## 使用Chat2DB
96100
参考[快速开始指南](https://docs.chat2db-ai.com/),开始使用Chat2DB。
97101

98102
## 常见问题
@@ -125,9 +129,6 @@ Chat2DB Pro支持以下所有数据库,包括备受期待的Redis功能。
125129

126130
## ☎️ 加入我们
127131

128-
加群前请先 Star 和 Fork,谢谢~关注微信公众号可加入微信、钉钉、QQ 群一起讨论,并可以获取 Chat2DB 最新动态和更新。
129-
130-
<a><img src="https://github.com/chat2db/Chat2DB/assets/22975773/81d13eff-c615-49f5-aee3-4107089593e0" width="30%"/></a>
131132

132133
## ❤️ 致谢
133134

@@ -146,3 +147,11 @@ Chat2DB Pro支持以下所有数据库,包括备受期待的Redis功能。
146147
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=chat2db/chat2db&type=Date" />
147148
</picture>
148149
</a>
150+
151+
## 友情链接
152+
<p align="left">
153+
<a href="https://sa-token.cc" target="_blank">
154+
<img src="https://github.com/user-attachments/assets/d2182835-057a-47e6-80fc-e9efc4792a7f" alt="sa-token" width="15%"/>
155+
</a>
156+
</p>
157+

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

Lines changed: 2 additions & 2 deletions
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)