feat(ui): expand document upload capabilities in KnowledgeBase component
- Updated the file input accept attribute to include additional file types: .csv, .xlsx, and .xls, enhancing the document upload functionality for users.
This commit is contained in:
@@ -1233,7 +1233,7 @@ async function createNewSession(value: string): Promise<void> {
|
|||||||
ref="uploadInputRef"
|
ref="uploadInputRef"
|
||||||
type="file"
|
type="file"
|
||||||
class="document-upload-input"
|
class="document-upload-input"
|
||||||
accept=".pdf,.docx,.doc,.txt,.md,.jpg,.jpeg,.png"
|
accept=".pdf,.docx,.doc,.txt,.md,.jpg,.jpeg,.png,.csv,.xlsx,.xls"
|
||||||
multiple
|
multiple
|
||||||
@change="handleDocumentUpload"
|
@change="handleDocumentUpload"
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user