feat(knowledgeBase): add media dataset support and improve file handling
- Add media dataset translations in English and Chinese locales - Add "mediaDataSet" and "uploadMedia" i18n keys for UI labels - Enable media dataset creation option in Private component by uncommenting menu item - Import and display image icon for media dataset menu option - Refactor file ID handling in CreateDataset to support both string and array types - Improve fileIds initialization logic to handle mixed input types - Update CreateImageDataset component to use file chunking workflow - Add navigation to parameter settings step after file upload - Pass file IDs to dataset creation flow for media processing - Add message API and navigate hook for improved UX feedback
This commit is contained in:
@@ -501,6 +501,7 @@ export const en = {
|
||||
createImport: 'Create/Import',
|
||||
textDataSet: 'Text Dataset',
|
||||
imageDataSet: 'Image Dataset',
|
||||
mediaDataSet: 'Media Dataset',
|
||||
blankDataset: 'Blank Dataset',
|
||||
customTextDataset: 'Custom Text Dataset',
|
||||
text: 'Text',
|
||||
@@ -577,6 +578,7 @@ export const en = {
|
||||
datasetName: 'Dataset Name',
|
||||
pleaseEnterDatasetName: 'Please enter dataset name',
|
||||
uploadImages: 'Upload Images',
|
||||
uploadMedia: 'Upload Media files',
|
||||
pleaseUploadImages: 'Please upload images',
|
||||
embedding_id: 'Embedding',
|
||||
llm_id: 'LLM',
|
||||
|
||||
@@ -125,6 +125,7 @@ export const zh = {
|
||||
createImport: '新建/导入',
|
||||
textDataSet: '文本数据集',
|
||||
imageDataSet: '图片数据集',
|
||||
mediaDataSet: '媒体数据集',
|
||||
blankDataset: '空白数据集',
|
||||
emptyDataSet: '空白数据集',
|
||||
customTextDataset: '自定义文本数据集',
|
||||
@@ -201,6 +202,7 @@ export const zh = {
|
||||
datasetName: '数据集名称',
|
||||
pleaseEnterDatasetName: '请输入数据集名称',
|
||||
uploadImages: '上传图片',
|
||||
uploadMedia: '上传媒体文件',
|
||||
pleaseUploadImages: '请上传图片',
|
||||
embedding_id: '嵌入模型',
|
||||
llm_id: '大语言模型',
|
||||
|
||||
Reference in New Issue
Block a user