diff --git a/.gitmodules b/.gitmodules index 05c48c4..1b056ad 100644 --- a/.gitmodules +++ b/.gitmodules @@ -62,3 +62,9 @@ [submodule "plugins/ddddocr_server"] path = plugins/ddddocr_server url = https://github.com/fastapi-practices/ddddocr_server.git +[submodule "plugins/text2sql"] + path = plugins/text2sql + url = https://github.com/dividduang/text2sql.git +[submodule "plugins/text2sql_ui"] + path = plugins/text2sql_ui + url = https://github.com/dividduang/text2sql_ui.git diff --git a/plugins-data.json b/plugins-data.json index a68e066..a50da20 100644 --- a/plugins-data.json +++ b/plugins-data.json @@ -313,6 +313,44 @@ "branch": "master" } }, + { + "plugin": { + "summary": "Text2SQL", + "version": "0.1.0", + "description": "自然语言查库(Text2SQL):数据集/数据源/Few-shot 样例管理与只读安全取数,并可作为能力注入 ai 聊天", + "author": "david", + "tags": [ + "ai", + "other" + ], + "database": [ + "mysql", + "postgresql" + ] + }, + "git": { + "path": "plugins/text2sql", + "url": "https://github.com/dividduang/text2sql.git", + "branch": "master" + } + }, + { + "plugin": { + "summary": "Text2SQL UI", + "version": "0.1.0", + "description": "Text2SQL 数据集 / 数据源 / Few-shot 样例管理(自然语言查库),需与 ai_ui 插件一同安装", + "author": "wu-clan", + "tags": [ + "ai", + "other" + ] + }, + "git": { + "path": "plugins/text2sql_ui", + "url": "https://github.com/dividduang/text2sql_ui.git", + "branch": "master" + } + }, { "plugin": { "summary": "workflow审批流", diff --git a/plugins-data.ts b/plugins-data.ts index af74a82..078b5fd 100644 --- a/plugins-data.ts +++ b/plugins-data.ts @@ -337,6 +337,44 @@ export const pluginDataList: PluginData[] = [ "branch": "master" } }, + { + "plugin": { + "summary": "Text2SQL", + "version": "0.1.0", + "description": "自然语言查库(Text2SQL):数据集/数据源/Few-shot 样例管理与只读安全取数,并可作为能力注入 ai 聊天", + "author": "david", + "tags": [ + "ai", + "other" + ], + "database": [ + "mysql", + "postgresql" + ] + }, + "git": { + "path": "plugins/text2sql", + "url": "https://github.com/dividduang/text2sql.git", + "branch": "master" + } + }, + { + "plugin": { + "summary": "Text2SQL UI", + "version": "0.1.0", + "description": "Text2SQL 数据集 / 数据源 / Few-shot 样例管理(自然语言查库),需与 ai_ui 插件一同安装", + "author": "wu-clan", + "tags": [ + "ai", + "other" + ] + }, + "git": { + "path": "plugins/text2sql_ui", + "url": "https://github.com/dividduang/text2sql_ui.git", + "branch": "master" + } + }, { "plugin": { "summary": "workflow审批流", diff --git a/plugins/text2sql b/plugins/text2sql new file mode 160000 index 0000000..117d89e --- /dev/null +++ b/plugins/text2sql @@ -0,0 +1 @@ +Subproject commit 117d89ed714f11f75aab02d7675afaa09c72a36d diff --git a/plugins/text2sql_ui b/plugins/text2sql_ui new file mode 160000 index 0000000..5d43eed --- /dev/null +++ b/plugins/text2sql_ui @@ -0,0 +1 @@ +Subproject commit 5d43eedfefd350268dde4e189b01a45f286a7148