mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: i18n
This commit is contained in:
parent
5009a28853
commit
7779dbe1b0
|
|
@ -40,7 +40,7 @@ export default {
|
|||
noData: 'No data',
|
||||
result: 'Result',
|
||||
fileUpload: {
|
||||
document: 'Documentation',
|
||||
document: 'Documents',
|
||||
image: 'Image',
|
||||
audio: 'Audio',
|
||||
video: 'Video'
|
||||
|
|
|
|||
|
|
@ -108,13 +108,13 @@ export default {
|
|||
defaultPrompt: 'Known Information'
|
||||
},
|
||||
searchDatasetNode: {
|
||||
label: 'Knowledge Base Search',
|
||||
text: 'Associate knowledge base and find relevant segments',
|
||||
label: 'Knowledge Search',
|
||||
text: 'Associate knowledge and find relevant segments',
|
||||
paragraph_list: 'List of retrieved paragraphs',
|
||||
is_hit_handling_method_list: 'List of segments that meet direct response criteria',
|
||||
result: 'Search Result',
|
||||
directly_return: 'Content of segments that meet direct response criteria',
|
||||
selectDatasetText: 'Associated knowledge base displayed here',
|
||||
selectDatasetText: 'Associated knowledge displayed here',
|
||||
searchParam: 'Search Parameters',
|
||||
searchQuestion: {
|
||||
label: 'Search Question',
|
||||
|
|
@ -124,7 +124,7 @@ export default {
|
|||
},
|
||||
questionNode: {
|
||||
label: 'Question Optimization',
|
||||
text: 'Optimize and improve the current question based on historical chat records to better match knowledge base segments',
|
||||
text: 'Optimize and improve the current question based on historical chat records to better match knowledge segments',
|
||||
result: 'Optimized Question Result',
|
||||
defaultPrompt: `Optimize and improve the user's question based on context: {{start.question}}
|
||||
Please output an optimized question.`,
|
||||
|
|
@ -155,7 +155,7 @@ Please output an optimized question.`,
|
|||
},
|
||||
rerankerNode: {
|
||||
label: 'Multi-path Recall',
|
||||
text: 'Use re-ranking model to perform secondary recall on retrieval results from multiple knowledge bases',
|
||||
text: 'Use Rerank to perform secondary recall on retrieval results from multiple knowledge',
|
||||
result_list: 'Re-ranked Results List',
|
||||
result: 'Re-ranking Result',
|
||||
rerankerContent: {
|
||||
|
|
@ -166,8 +166,8 @@ Please output an optimized question.`,
|
|||
ScoreTooltip: 'The higher the Score, the stronger the relevance.',
|
||||
max_paragraph_char_number: 'Maximum number of characters to quote',
|
||||
reranker_model: {
|
||||
label: 'Re-ranking Model',
|
||||
placeholder: 'Please select a re-ranking model'
|
||||
label: 'Rerank',
|
||||
placeholder: 'Please select a Rerank'
|
||||
}
|
||||
},
|
||||
formNode: {
|
||||
|
|
@ -194,8 +194,8 @@ Please output an optimized question.`,
|
|||
text: 'Identify objects, scenes, etc., in images to answer user questions',
|
||||
answer: 'AI Answer Content',
|
||||
model: {
|
||||
label: 'Image Understanding Model',
|
||||
requiredMessage: 'Please select an image understanding model'
|
||||
label: 'Vision Model',
|
||||
requiredMessage: 'Please select a Vision Model'
|
||||
},
|
||||
image: {
|
||||
label: 'Select Image',
|
||||
|
|
@ -221,7 +221,7 @@ Please output an optimized question.`,
|
|||
}
|
||||
},
|
||||
speechToTextNode: {
|
||||
label: 'Speech-to-Text',
|
||||
label: 'Speech2Text',
|
||||
text: 'Convert audio to text through speech recognition model',
|
||||
stt_model: {
|
||||
label: 'Speech Recognition Model'
|
||||
|
|
@ -232,7 +232,7 @@ Please output an optimized question.`,
|
|||
}
|
||||
},
|
||||
textToSpeechNode: {
|
||||
label: 'Text-to-Speech',
|
||||
label: 'TTS',
|
||||
text: 'Convert text to audio through speech synthesis model',
|
||||
tts_model: {
|
||||
label: 'Speech Synthesis Model'
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ export default {
|
|||
noReferencesTooltip:
|
||||
'By adjusting the content of the prompt, you can guide the direction of the large model conversation. This prompt will be fixed at the beginning of the context. Variables used: {question} is the question posed by the user.',
|
||||
referencesTooltip:
|
||||
'By adjusting the content of the prompt, you can guide the direction of the large model conversation. This prompt will be fixed at the beginning of the context. Variables used: {data} carries known information from the knowledge base; {question} is the question posed by the user.',
|
||||
'By adjusting the content of the prompt, you can guide the direction of the large model conversation. This prompt will be fixed at the beginning of the context. Variables used: {data} carries known information from the knowledge; {question} is the question posed by the user.',
|
||||
defaultPrompt: `Known information: {data}
|
||||
Question: {question}
|
||||
Response requirements:
|
||||
|
|
@ -76,16 +76,16 @@ export default {
|
|||
label: 'Historical chat records'
|
||||
},
|
||||
relatedKnowledge: {
|
||||
label: 'Related Knowledge Base',
|
||||
placeholder: 'Associated knowledge bases are displayed here'
|
||||
label: 'Related Knowledge',
|
||||
placeholder: 'Associated knowledge are displayed here'
|
||||
},
|
||||
multipleRoundsDialogue: 'Multiple Rounds Dialogue',
|
||||
|
||||
prologue: 'Prologue',
|
||||
defaultPrologue:
|
||||
'Hello, I am XXX Assistant. You can ask me questions about using XXX.\n- What are the main features of MaxKB?\n- Which large language models does MaxKB support?\n- What document types does MaxKB support?',
|
||||
'Hello, I am XXX Assistant. You can ask me questions about using XXX.\n- What are the main features of MaxKB?\n- Which LLM does MaxKB support?\n- What document types does MaxKB support?',
|
||||
problemOptimization: {
|
||||
label: 'Problem Optimization',
|
||||
label: 'Questions Optimization',
|
||||
tooltip:
|
||||
'Optimize the current question based on historical chat to better match knowledge points.'
|
||||
},
|
||||
|
|
@ -111,29 +111,29 @@ export default {
|
|||
addModel: 'Add Model'
|
||||
},
|
||||
dialog: {
|
||||
addDataset: 'Add Related Knowledge Base',
|
||||
addDatasetPlaceholder: 'The selected knowledge bases must use the same embedding model',
|
||||
addDataset: 'Add Related Knowledge',
|
||||
addDatasetPlaceholder: 'The selected knowledge must use the same embedding model',
|
||||
selected: 'Selected',
|
||||
countDataset: 'Knowledge',
|
||||
|
||||
selectSearchMode: 'Search Mode',
|
||||
vectorSearch: 'Vector Search',
|
||||
vectorSearchTooltip:
|
||||
'Vector search is a retrieval method based on vector distance calculations, suitable for large data volumes in the knowledge base.',
|
||||
'Vector search is a retrieval method based on vector distance calculations, suitable for large data volumes in the knowledge.',
|
||||
fullTextSearch: 'Full-text Search',
|
||||
fullTextSearchTooltip:
|
||||
'Full-text search is a retrieval method based on text similarity, suitable for small data volumes in the knowledge base.',
|
||||
'Full-text search is a retrieval method based on text similarity, suitable for small data volumes in the knowledge.',
|
||||
hybridSearch: 'Hybrid Search',
|
||||
hybridSearchTooltip:
|
||||
'Hybrid search is a retrieval method based on both vector and text similarity, suitable for medium data volumes in the knowledge base.',
|
||||
'Hybrid search is a retrieval method based on both vector and text similarity, suitable for medium data volumes in the knowledge.',
|
||||
similarityThreshold: 'Similarity Threshold',
|
||||
topReferences: 'Top N References',
|
||||
maxCharacters: 'Maximum Characters per Reference',
|
||||
noReferencesAction: 'When there are no knowledge base references',
|
||||
noReferencesAction: 'When there are no knowledge references',
|
||||
continueQuestioning: 'Continue Questioning AI Model',
|
||||
provideAnswer: 'Provide a Specific Answer',
|
||||
designated_answer:
|
||||
'Hello, I am XXX Assistant. My knowledge base only contains information related to XXX products. Please rephrase your question.',
|
||||
'Hello, I am XXX Assistant. My knowledge only contains information related to XXX products. Please rephrase your question.',
|
||||
defaultPrompt1:
|
||||
"The content inside the parentheses () represents the user's question. Based on the context, please speculate and complete the user's question ({question}). The requirement is to output a completed question and place it",
|
||||
defaultPrompt2: 'tag'
|
||||
|
|
@ -200,7 +200,7 @@ export default {
|
|||
copyUrl: 'Copy the link and fill it in'
|
||||
},
|
||||
hitTest: {
|
||||
title: 'Hit testing',
|
||||
title: 'Retrieval Test',
|
||||
text: 'Ensure effective response by matching paragraphs to user inquiries.',
|
||||
emptyMessage1: 'The matching paragraph is displayed here',
|
||||
emptyMessage2: 'No matching sections found'
|
||||
|
|
|
|||
|
|
@ -13,15 +13,15 @@ export default {
|
|||
},
|
||||
tip: {
|
||||
professionalMessage:
|
||||
'The community edition supports up to 50 knowledge bases. For more knowledge bases, please upgrade to the professional edition.',
|
||||
'The community edition supports up to 50 knowledge. For more knowledge, please upgrade to the professional edition.',
|
||||
syncSuccess: 'Sync task sent successfully',
|
||||
updateModeMessage:
|
||||
'After modifying the knowledge base vector model, you need to vectorize the knowledge base. Do you want to continue saving?'
|
||||
'After modifying the knowledge vector model, you need to vectorize the knowledge. Do you want to continue saving?'
|
||||
},
|
||||
delete: {
|
||||
confirmTitle: 'Confirm Deletion of Knowledge Base:',
|
||||
confirmMessage1: 'This knowledge base is associated with',
|
||||
confirmMessage2: 'applications. Deleting it will be irreversible, please proceed with caution.'
|
||||
confirmTitle: 'Confirm Deletion of Knowledge:',
|
||||
confirmMessage1: 'This knowledge is associated with',
|
||||
confirmMessage2: 'APP. Deleting it will be irreversible, please proceed with caution.'
|
||||
},
|
||||
datasetForm: {
|
||||
title: {
|
||||
|
|
@ -29,15 +29,15 @@ export default {
|
|||
},
|
||||
form: {
|
||||
datasetName: {
|
||||
label: 'Knowledge Base Name',
|
||||
placeholder: 'Please enter the knowledge base name',
|
||||
requiredMessage: 'Please enter the knowledge base name'
|
||||
label: 'Knowledge Name',
|
||||
placeholder: 'Please enter the knowledge name',
|
||||
requiredMessage: 'Please enter the knowledge name'
|
||||
},
|
||||
datasetDescription: {
|
||||
label: 'Knowledge Base Description',
|
||||
label: 'Knowledge Description',
|
||||
placeholder:
|
||||
'Describe the content of the knowledge base. A detailed description will help AI understand the content better, improving the accuracy of content retrieval and hit rate.',
|
||||
requiredMessage: 'Please enter the knowledge base description'
|
||||
'Describe the content of the knowledge. A detailed description will help AI understand the content better, improving the accuracy of content retrieval and hit rate.',
|
||||
requiredMessage: 'Please enter the knowledge description'
|
||||
},
|
||||
EmbeddingModel: {
|
||||
label: 'Embedding Model',
|
||||
|
|
@ -45,7 +45,7 @@ export default {
|
|||
requiredMessage: 'Please enter the Embedding model'
|
||||
},
|
||||
datasetType: {
|
||||
label: 'Knowledge Base Type',
|
||||
label: 'Knowledge Type',
|
||||
generalInfo: 'Upload local files or manually enter',
|
||||
webInfo: 'Sync text data from a Web site'
|
||||
},
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ export default {
|
|||
placeholder: 'Search by Document Name'
|
||||
},
|
||||
setting: {
|
||||
migration: 'Migration',
|
||||
migration: 'Move',
|
||||
cancelGenerateQuestion: 'Cancel Generating Questions',
|
||||
cancelVectorization: 'Cancel Vectorization',
|
||||
cancelGenerate: 'Cancel Generation'
|
||||
|
|
@ -20,7 +20,7 @@ export default {
|
|||
vectorizationSuccess: 'Batch vectorization successful',
|
||||
nameMessage: 'File name cannot be empty!',
|
||||
importMessage: 'Import successful',
|
||||
migrationSuccess: 'Migration successful'
|
||||
migrationSuccess: 'Move successful'
|
||||
},
|
||||
upload: {
|
||||
selectFile: 'Select File',
|
||||
|
|
|
|||
|
|
@ -15,12 +15,12 @@ export default {
|
|||
delete: {
|
||||
confirmTitle: 'Confirm Deletion of Function:',
|
||||
confirmMessage:
|
||||
'Deleting this function will cause errors in applications that reference it when they are queried. Please proceed with caution.'
|
||||
'Deleting this function will cause errors in APP that reference it when they are queried. Please proceed with caution.'
|
||||
},
|
||||
disabled: {
|
||||
confirmTitle: 'Confirm Disable Function:',
|
||||
confirmMessage:
|
||||
'Disabling this function will cause errors in applications that reference it when they are queried. Please proceed with caution.'
|
||||
'Disabling this function will cause errors in APP that reference it when they are queried. Please proceed with caution.'
|
||||
},
|
||||
functionForm: {
|
||||
title: {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
export default {
|
||||
title: 'Conversation Logs',
|
||||
delete: {
|
||||
confirmTitle: 'Confirm Deletion of Problem:',
|
||||
confirmMessage1: 'Deleting this problem will cancel the association of',
|
||||
confirmTitle: 'Confirm Deletion of Question:',
|
||||
confirmMessage1: 'Deleting this Question will cancel the association of',
|
||||
confirmMessage2: 'paragraphs. Please proceed with caution.'
|
||||
},
|
||||
buttons: {
|
||||
|
|
@ -21,10 +21,10 @@ export default {
|
|||
mark: 'Improvement Label',
|
||||
recenTimes: 'Recent Conversation Time'
|
||||
},
|
||||
addToDataset: 'Add to Knowledge Base',
|
||||
addToDataset: 'Add to Knowledge',
|
||||
daysText: 'Days ago',
|
||||
selectDataset: 'Select Knowledge Base',
|
||||
selectDatasetPlaceholder: 'Please select a knowledge base',
|
||||
selectDataset: 'Select Knowledge',
|
||||
selectDatasetPlaceholder: 'Please select a knowledge',
|
||||
saveToDocument: 'Save to Document',
|
||||
documentPlaceholder: 'Please select a document',
|
||||
editContent: 'Edit Content',
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
export default {
|
||||
title: 'Problem',
|
||||
createProblem: 'Create Problem',
|
||||
detailProblem: 'Problem Details',
|
||||
quickCreateProblem: 'Quick Create Problem',
|
||||
title: 'Questions',
|
||||
createProblem: 'Create Question',
|
||||
detailProblem: 'Question Details',
|
||||
quickCreateProblem: 'Quick Create Question',
|
||||
tip: {
|
||||
placeholder: 'Enter the problem, support multiple entries, one per line.',
|
||||
errorMessage: 'Problem cannot be empty!',
|
||||
requiredMessage: 'Please enter a problem',
|
||||
placeholder: 'Enter the question, support multiple entries, one per line.',
|
||||
errorMessage: 'Question cannot be empty!',
|
||||
requiredMessage: 'Please enter a question',
|
||||
relatedSuccess: 'Batch association of paragraphs successful'
|
||||
},
|
||||
|
||||
|
|
@ -22,8 +22,8 @@ export default {
|
|||
updateTime: 'Update Time'
|
||||
},
|
||||
delete: {
|
||||
confirmTitle: 'Confirm Deletion of Problem:',
|
||||
confirmMessage1: 'Deleting this problem will cancel the association of',
|
||||
confirmTitle: 'Confirm Deletion of question:',
|
||||
confirmMessage1: 'Deleting this question will cancel the association of',
|
||||
confirmMessage2: 'paragraphs. Please proceed with caution.'
|
||||
},
|
||||
relateParagraph: {
|
||||
|
|
|
|||
|
|
@ -117,7 +117,7 @@ export default {
|
|||
websiteSlogan: 'Welcome Message',
|
||||
websiteSloganPlaceholder: 'Please enter the welcome message',
|
||||
websiteSloganTip: 'The welcome message below the product logo',
|
||||
defaultSlogan: 'Welcome to MaxKB Intelligent Knowledge Base Q&A System',
|
||||
defaultSlogan: 'Welcome to MaxKB Intelligent Knowledge Q&A System',
|
||||
defaultTip: 'Default is the MaxKB platform interface, supports custom settings',
|
||||
platformSetting: 'Platform Settings',
|
||||
showUserManual: 'Show User Manual',
|
||||
|
|
@ -130,7 +130,7 @@ export default {
|
|||
saveSuccess: 'Appearance settings successfully applied'
|
||||
},
|
||||
email: {
|
||||
title: 'Email Setting',
|
||||
title: 'Mail Setting',
|
||||
smtpHost: 'SMTP Host',
|
||||
smtpHostPlaceholder: 'Please enter SMTP Host',
|
||||
smtpPort: 'SMTP Port',
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ export default {
|
|||
button: 'Remove',
|
||||
confirmTitle: 'Confirm Removal of Member:',
|
||||
confirmMessage:
|
||||
'Removing the member will revoke their access to knowledge bases and applications.'
|
||||
'Removing the member will revoke their access to knowledge and APP.'
|
||||
},
|
||||
setting: {
|
||||
management: 'Manage',
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
export default {
|
||||
title: 'Model Settings',
|
||||
title: 'Models',
|
||||
provider: 'Provider',
|
||||
providerPlaceholder: 'Select Provider',
|
||||
addModel: 'Add Model',
|
||||
|
|
@ -25,12 +25,12 @@ export default {
|
|||
allModel: 'All Models',
|
||||
publicModel: 'Public Models',
|
||||
privateModel: 'Private Models',
|
||||
LLM: 'Large Language Model',
|
||||
LLM: 'LLM',
|
||||
EMBEDDING: 'Embedding Model',
|
||||
RERANKER: 'Reranker Model',
|
||||
STT: 'Speech-to-Text',
|
||||
TTS: 'Text-to-Speech',
|
||||
IMAGE: 'Image Understanding',
|
||||
RERANKER: 'Rerank',
|
||||
STT: 'Speech2Text',
|
||||
TTS: 'TTS',
|
||||
IMAGE: 'Vision Model',
|
||||
TTI: 'Image Generation'
|
||||
},
|
||||
templateForm: {
|
||||
|
|
@ -60,17 +60,17 @@ export default {
|
|||
label: 'Model Type',
|
||||
placeholder: 'Select a model type',
|
||||
tooltip1:
|
||||
'Large Language Model: An inference model for AI conversations in the application.',
|
||||
'LLM: An inference model for AI conversations in the APP.',
|
||||
tooltip2:
|
||||
'Embedding Model: A model for vectorizing document content in the knowledge base.',
|
||||
tooltip3: 'Speech-to-Text: A model used for speech recognition in the application.',
|
||||
tooltip4: 'Text-to-Speech: A model used for text-to-speech in the application.',
|
||||
'Embedding Model: A model for vectorizing document content in the knowledge.',
|
||||
tooltip3: 'Speech2Text: A model used for speech recognition in the APP.',
|
||||
tooltip4: 'TTS: A model used for TTS in the APP.',
|
||||
tooltip5:
|
||||
'Reranker Model: A model used to reorder candidate segments when using multi-route recall in advanced orchestration applications.',
|
||||
'Rerank: A model used to reorder candidate segments when using multi-route recall in advanced orchestration APP.',
|
||||
tooltip6:
|
||||
'Image Understanding: A visual model used for image understanding in advanced orchestration applications.',
|
||||
'Vision Model: A visual model used for image understanding in advanced orchestration APP.',
|
||||
tooltip7:
|
||||
'Image Generation: A visual model used for image generation in advanced orchestration applications.',
|
||||
'Image Generation: A visual model used for image generation in advanced orchestration APP.',
|
||||
requiredMessage: 'Model type cannot be empty'
|
||||
},
|
||||
base_model: {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
export default {
|
||||
title: 'User Management',
|
||||
title: 'User',
|
||||
createUser: 'Create User',
|
||||
editUser: 'Edit User',
|
||||
setting: {
|
||||
|
|
@ -13,12 +13,12 @@ export default {
|
|||
delete: {
|
||||
confirmTitle: 'Confirm Deletion of User:',
|
||||
confirmMessage:
|
||||
'Deleting this user will also delete all resources (applications, knowledge bases, models) created by this user. Please proceed with caution.'
|
||||
'Deleting this user will also delete all resources (APP, knowledge, models) created by this user. Please proceed with caution.'
|
||||
},
|
||||
disabled: {
|
||||
confirmTitle: 'Confirm Disable Function:',
|
||||
confirmMessage:
|
||||
'Disabling this function will cause errors when applications that reference it are queried. Please proceed with caution.'
|
||||
'Disabling this function will cause errors when APP that reference it are queried. Please proceed with caution.'
|
||||
},
|
||||
userForm: {
|
||||
form: {
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ export default {
|
|||
fileUploadType: {
|
||||
label: '上传的文件类型',
|
||||
documentText: '需要使用“文档内容提取”节点解析文档内容',
|
||||
imageText: '需要使用“图片理解”节点解析图片内容',
|
||||
imageText: '需要使用“视觉模型”节点解析图片内容',
|
||||
audioText: '需要使用“语音转文本”节点解析音频内容'
|
||||
}
|
||||
}
|
||||
|
|
@ -195,8 +195,8 @@ export default {
|
|||
text: '识别出图片中的对象、场景等信息回答用户问题',
|
||||
answer: 'AI 回答内容',
|
||||
model: {
|
||||
label: '图片理解模型',
|
||||
requiredMessage: '请选择图片理解模型'
|
||||
label: '视觉模型',
|
||||
requiredMessage: '请选择视觉模型'
|
||||
},
|
||||
image: {
|
||||
label: '选择图片',
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ export default {
|
|||
RERANKER: '重排模型',
|
||||
STT: '语音识别',
|
||||
TTS: '语音合成',
|
||||
IMAGE: '图片理解',
|
||||
IMAGE: '视觉模型',
|
||||
TTI: '图片生成'
|
||||
},
|
||||
templateForm: {
|
||||
|
|
@ -64,7 +64,7 @@ export default {
|
|||
tooltip3: '语音识别:在应用中开启语音识别后用于语音转文字的模型。',
|
||||
tooltip4: '语音合成:在应用中开启语音播放后用于文字转语音的模型。',
|
||||
tooltip5: '重排模型:在高级编排应用中使用多路召回时,对候选分段进行重新排序的模型。',
|
||||
tooltip6: '图片理解:在高级编排应用中用于图片理解的视觉模型。',
|
||||
tooltip6: '视觉模型:在高级编排应用中用于图片理解的视觉模型。',
|
||||
tooltip7: '图片生成:在高级编排应用中用于图片生成的视觉模型。',
|
||||
requiredMessage: '模型类型不能为空'
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue