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