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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user