UnisKB/ui/src/locales/lang/en-US/views/template.ts

90 lines
3.1 KiB
TypeScript
Raw Normal View History

2025-01-13 06:25:02 +00:00
export default {
2025-01-21 08:46:18 +00:00
title: 'Models',
2025-01-13 06:25:02 +00:00
provider: 'Provider',
providerPlaceholder: 'Select Provider',
addModel: 'Add Model',
searchBar: {
placeholder: 'Search by name'
},
2025-01-21 01:34:32 +00:00
delete: {
confirmTitle: 'Delete Model',
confirmMessage: 'Are you sure you want to delete the model:'
},
tip: {
createSuccessMessage: 'Model created successfully',
createErrorMessage: 'There are errors in the basic information',
errorMessage: 'Variable already exists: ',
emptyMessage1: 'Please select the model type and base model in the basic information first',
emptyMessage2: 'The selected model does not support parameter settings',
updateSuccessMessage: 'Model updated successfully',
saveSuccessMessage: 'Model parameters saved successfully',
downloadError: 'Download failed',
noModel: 'Model does not exist in Ollama'
},
2025-01-13 06:25:02 +00:00
model: {
allModel: 'All Models',
publicModel: 'Public Models',
privateModel: 'Private Models',
2025-01-21 08:46:18 +00:00
LLM: 'LLM',
2025-01-13 06:25:02 +00:00
EMBEDDING: 'Embedding Model',
2025-01-21 08:46:18 +00:00
RERANKER: 'Rerank',
STT: 'Speech2Text',
TTS: 'TTS',
IMAGE: 'Vision Model',
2025-01-13 06:25:02 +00:00
TTI: 'Image Generation'
},
templateForm: {
2025-01-13 10:54:32 +00:00
title: {
2025-01-21 01:34:32 +00:00
baseInfo: 'Basic Information',
advancedInfo: 'Advanced Settings',
modelParams: 'Model Parameters',
editParam: 'Edit Parameter',
2025-01-13 10:54:32 +00:00
addParam: 'Add Parameter',
2025-01-21 01:34:32 +00:00
paramSetting: 'Model Parameter Settings',
2025-02-06 10:18:00 +00:00
apiParamPassing: 'Parameter'
2025-01-13 10:54:32 +00:00
},
2025-01-13 06:25:02 +00:00
form: {
2025-01-21 01:34:32 +00:00
templateName: {
label: 'Model Name',
placeholder: 'Set a name for the base model',
tooltip: 'Custom model name in MaxKB',
requiredMessage: 'Model name cannot be empty'
},
permissionType: {
label: 'Permission',
privateDesc: 'Only the current user can use',
2025-01-21 09:57:31 +00:00
publicDesc: 'All users can use, but can not be edited',
2025-01-21 01:34:32 +00:00
requiredMessage: 'Permission cannot be empty'
},
model_type: {
label: 'Model Type',
placeholder: 'Select a model type',
tooltip1:
2025-01-24 03:42:00 +00:00
'LLM: An inference model for AI chats in the APP.',
2025-01-21 01:34:32 +00:00
tooltip2:
2025-01-21 08:46:18 +00:00
'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.',
2025-01-21 01:34:32 +00:00
tooltip5:
2025-01-21 08:46:18 +00:00
'Rerank: A model used to reorder candidate segments when using multi-route recall in advanced orchestration APP.',
2025-01-21 01:34:32 +00:00
tooltip6:
2025-01-21 08:46:18 +00:00
'Vision Model: A visual model used for image understanding in advanced orchestration APP.',
2025-01-21 01:34:32 +00:00
tooltip7:
2025-01-21 08:46:18 +00:00
'Image Generation: A visual model used for image generation in advanced orchestration APP.',
2025-01-21 01:34:32 +00:00
requiredMessage: 'Model type cannot be empty'
},
base_model: {
label: 'Base Model',
tooltip:
2025-01-23 07:28:22 +00:00
'For models not listed, enter the model name and press Enter',
2025-01-21 01:34:32 +00:00
placeholder: 'Enter the base model name and press Enter to add',
requiredMessage: 'Base model cannot be empty'
2025-01-13 06:25:02 +00:00
}
}
2025-01-21 01:34:32 +00:00
},
download: {
downloading: 'Downloading...',
cancelDownload: 'Cancel Download'
2025-01-13 06:25:02 +00:00
}
}