@@ -6,8 +6,21 @@ export default {
66 searchBar : {
77 placeholder : 'Search by name'
88 } ,
9- delete : { } ,
10- setting : { } ,
9+ delete : {
10+ confirmTitle : 'Delete Model' ,
11+ confirmMessage : 'Are you sure you want to delete the model:'
12+ } ,
13+ tip : {
14+ createSuccessMessage : 'Model created successfully' ,
15+ createErrorMessage : 'There are errors in the basic information' ,
16+ errorMessage : 'Variable already exists: ' ,
17+ emptyMessage1 : 'Please select the model type and base model in the basic information first' ,
18+ emptyMessage2 : 'The selected model does not support parameter settings' ,
19+ updateSuccessMessage : 'Model updated successfully' ,
20+ saveSuccessMessage : 'Model parameters saved successfully' ,
21+ downloadError : 'Download failed' ,
22+ noModel : 'Model does not exist in Ollama'
23+ } ,
1124 model : {
1225 allModel : 'All Models' ,
1326 publicModel : 'Public Models' ,
@@ -22,14 +35,55 @@ export default {
2235 } ,
2336 templateForm : {
2437 title : {
25- editParam : 'Edit Parameters' ,
38+ baseInfo : 'Basic Information' ,
39+ advancedInfo : 'Advanced Settings' ,
40+ modelParams : 'Model Parameters' ,
41+ editParam : 'Edit Parameter' ,
2642 addParam : 'Add Parameter' ,
43+ paramSetting : 'Model Parameter Settings' ,
44+ apiParamPassing : 'API Parameter Passing'
2745 } ,
2846 form : {
29- provider : {
30- label : 'Provider' ,
31- placeholder : 'Select Provider'
47+ templateName : {
48+ label : 'Model Name' ,
49+ placeholder : 'Set a name for the base model' ,
50+ tooltip : 'Custom model name in MaxKB' ,
51+ requiredMessage : 'Model name cannot be empty'
52+ } ,
53+ permissionType : {
54+ label : 'Permission' ,
55+ privateDesc : 'Only the current user can use' ,
56+ publicDesc : 'All users can use, but cannot be edited' ,
57+ requiredMessage : 'Permission cannot be empty'
58+ } ,
59+ model_type : {
60+ label : 'Model Type' ,
61+ placeholder : 'Select a model type' ,
62+ tooltip1 :
63+ 'Large Language Model: An inference model for AI conversations in the application.' ,
64+ tooltip2 :
65+ 'Embedding Model: A model for vectorizing document content in the knowledge base.' ,
66+ tooltip3 : 'Speech-to-Text: A model used for speech recognition in the application.' ,
67+ tooltip4 : 'Text-to-Speech: A model used for text-to-speech in the application.' ,
68+ tooltip5 :
69+ 'Reranker Model: A model used to reorder candidate segments when using multi-route recall in advanced orchestration applications.' ,
70+ tooltip6 :
71+ 'Image Understanding: A visual model used for image understanding in advanced orchestration applications.' ,
72+ tooltip7 :
73+ 'Image Generation: A visual model used for image generation in advanced orchestration applications.' ,
74+ requiredMessage : 'Model type cannot be empty'
75+ } ,
76+ base_model : {
77+ label : 'Base Model' ,
78+ tooltip :
79+ 'For models not listed in the list, enter the model name directly and press Enter to add' ,
80+ placeholder : 'Enter the base model name and press Enter to add' ,
81+ requiredMessage : 'Base model cannot be empty'
3282 }
3383 }
84+ } ,
85+ download : {
86+ downloading : 'Downloading...' ,
87+ cancelDownload : 'Cancel Download'
3488 }
3589}
0 commit comments