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:
@@ -0,0 +1,5 @@
|
||||
DROP TABLE IF EXISTS prompt_rule_knowledge_groups;
|
||||
DROP TABLE IF EXISTS knowledge_chunks_meta;
|
||||
DROP TABLE IF EXISTS knowledge_parse_tasks;
|
||||
DROP TABLE IF EXISTS knowledge_items;
|
||||
DROP TABLE IF EXISTS knowledge_groups;
|
||||
Reference in New Issue
Block a user