feat: Add quick actions for document management in knowledge base

- Introduced a new section for quick actions in the menu, allowing users to upload documents and create FAQs directly from the interface.
- Implemented file upload functionality with validation and error handling.
- Enhanced localization for new quick action strings in English, Russian, and Chinese.
- Updated the UI to improve user experience when interacting with knowledge base actions.
This commit is contained in:
wizardchen
2025-11-20 10:33:10 +08:00
parent 601f73ec5f
commit b2b97ac3a3
5 changed files with 234 additions and 116 deletions
+2
View File
@@ -48,11 +48,13 @@ export default {
upload: 'Upload File',
uploadSuccess: 'File uploaded successfully!',
uploadFailed: 'File upload failed!',
docActionUnsupported: 'This knowledge base type does not support this action',
fileExists: 'File already exists',
notInitialized: 'Knowledge base is not initialized. Please configure models in settings before uploading files',
getInfoFailed: 'Failed to get knowledge base information, file upload is not possible',
missingId: 'Knowledge base ID is missing',
deleteFailed: 'Delete failed. Please try again later!',
quickActions: 'Quick Actions',
createKnowledgeBase: 'Create Knowledge Base',
knowledgeBaseName: 'Knowledge Base Name',
enterName: 'Enter knowledge base name',