什么是Chat2DB
這里引用Chat2DB的介紹
Chat2DB is a multi-database client tool that is open-source and free from Alibaba. It supports local installation on Windows and Mac, as well as server-side deployment and web page access. Compared to traditional database client software such as Navicat and DBeaver, Chat2DB integrates AIGC's capabilities and is able to convert natural language into SQL. It can also convert SQL into natural language and provide optimization suggestions for SQL to greatly enhance the efficiency of developers. It is a tool for database developers in the AI era, and even non-SQL business operators in the future can use it to quickly query business data and generate reports.
Chat2DB是一個(gè)多數(shù)據(jù)庫客戶端工具绩社,開源且免費(fèi)窗价,來自阿里巴巴辉巡。它支持在Windows和Mac上的本地安裝,以及服務(wù)器端部署和網(wǎng)頁訪問钞支。與Navicat和DBeaver等傳統(tǒng)數(shù)據(jù)庫客戶端軟件相比,Chat2DB集成了AIGC的功能操刀,能夠?qū)⒆匀徽Z言轉(zhuǎn)換為SQL烁挟。它還可以將SQL轉(zhuǎn)換為自然語言,并為SQL提供優(yōu)化建議馍刮,大大提高開發(fā)人員的效率信夫。它是AI時(shí)代數(shù)據(jù)庫開發(fā)人員的工具,即使是未來的非SQL業(yè)務(wù)運(yùn)營商也可以使用它快速查詢業(yè)務(wù)數(shù)據(jù)并生成報(bào)告。
說白了就是一個(gè)數(shù)據(jù)庫工具静稻,引用了ai的功能警没,進(jìn)行sql生成,優(yōu)化等功能集成
下載地址
https://github.com/chat2db/Chat2DB
在下面可以看到不同操作系統(tǒng)的
支持?jǐn)?shù)據(jù)庫
下載安裝后打開可以看到它得頁面振湾,由于是一個(gè)新的db工具杀迹,功能還不怎么完善,所以頁面比較簡潔押搪,基本的功能都有树酪,新建連接,新建查詢等
這個(gè)db工具的主要特色就是融入了ai功能大州,所以我們開始配置ai续语,由于openAi的賬號被封了,所以這里只試了一下他的試用版厦画。只有25次試用疮茄,訂閱微信公眾(github上有)然后發(fā)送AI,你就可以獲取一個(gè)試用的apiKey
然后配置ai 應(yīng)用即可
就可以用了。例如:
不過由于是新的開源項(xiàng)目根暑,所以bug和缺點(diǎn)也挺多的力试,比如上面的那個(gè)生成的表sql為中文。查詢結(jié)果不像其他的的db工具可以修改數(shù)據(jù)等
不過排嫌,聽說6月底會(huì)有一波大更新畸裳,不過文檔截至6.30號還是沒有動(dòng)靜