feat: add knowledge management functionality with CRUD operations and database schema

- Implemented KnowledgeHandler for managing knowledge groups and items, including listing, creating, updating, and deleting operations.
- Added database migration scripts to create necessary tables for knowledge management, including knowledge_groups, knowledge_items, knowledge_parse_tasks, and knowledge_chunks_meta.
- Introduced prompt_rule_knowledge_groups table to associate prompt rules with knowledge groups.
This commit is contained in:
2026-04-05 17:14:13 +08:00
parent 134dd063c3
commit 446f865cdf
62 changed files with 9503 additions and 2664 deletions
+6
View File
@@ -37,9 +37,11 @@ import {
Table,
Tabs,
Tag,
Tree,
TimePicker,
Tooltip,
Upload,
TreeSelect,
} from "ant-design-vue";
import App from "./App.vue";
@@ -48,6 +50,8 @@ import { router } from "./router";
import { pinia } from "./stores/pinia";
import "./styles.css";
import "ant-design-vue/dist/reset.css";
import select from "ant-design-vue/es/select";
import tree from "ant-design-vue/es/tree";
const queryClient = new QueryClient({
defaultOptions: {
@@ -101,6 +105,8 @@ app.component("ATextarea", Input.TextArea);
Tag,
TimePicker,
Tooltip,
Tree,
TreeSelect,
Upload,
].forEach((component) => {
app.use(component);