feat: add knowledge markdown formatting and detail retrieval

- Implemented KnowledgeWebsiteMarkdownPrompt for formatting webpage content into Markdown.
- Added GetItemDetail method in KnowledgeHandler to retrieve knowledge item details.
- Introduced KnowledgeDetailDrawer component for displaying knowledge item details in the admin web interface.
- Created MarkdownPreview component for rendering Markdown content.
- Added knowledge chunking and URL parsing logic to handle webpage content extraction and formatting.
- Updated database schema to include markdown_content in knowledge_items table.
This commit is contained in:
2026-04-05 20:41:42 +08:00
parent 446f865cdf
commit dbd7747742
26 changed files with 1556 additions and 252 deletions
+2
View File
@@ -26,6 +26,7 @@ import {
Popconfirm,
Progress,
Radio,
Result,
Row,
Select,
Skeleton,
@@ -92,6 +93,7 @@ app.component("ATextarea", Input.TextArea);
Popconfirm,
Progress,
Radio,
Result,
Row,
Select,
Skeleton,