You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ui/src/locales/lang/en_US/views/application.ts
+30-28Lines changed: 30 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -70,7 +70,7 @@ export default {
70
70
defaultPrompt: `Known information: {data}
71
71
Question: {question}
72
72
Response requirements:
73
-
- Please use concise and professional language to answer the user\'s question.
73
+
- Please use concise and professional language to answer the user's question.
74
74
`
75
75
},
76
76
historyRecord: {
@@ -90,26 +90,34 @@ export default {
90
90
tooltip:
91
91
'Optimize the current question based on historical chat to better match knowledge points.'
92
92
},
93
-
addModel: 'Add Model',
94
-
paramSetting: 'Parameter Settings',
95
-
add: 'Add',
96
-
apptest: 'Debug Preview'
93
+
94
+
voiceInput: {
95
+
label: 'Voice input',
96
+
placeholder: 'Please select a speech recognition model',
97
+
requiredMessage: 'Please select a speech input model',
98
+
autoSend: 'Automatic sending'
99
+
},
100
+
voicePlay: {
101
+
label: 'Voice playback',
102
+
placeholder: 'Please select a speech synthesis model',
103
+
requiredMessage: 'Please select a speech playback model',
104
+
autoPlay: 'Automatic playback',
105
+
browser: 'Browser playback (free)',
106
+
tts: 'TTS Model',
107
+
listeningTest: 'Preview'
108
+
}
97
109
},
98
110
buttons: {
99
-
confirm: 'Confirm',
100
-
cancel: 'Cancel',
101
-
create: 'Create',
102
-
createSuccess: 'Create Success',
103
-
save: 'Save',
104
-
saveSuccess: 'Save Success',
105
-
copy: 'Copy',
106
-
copySuccess: 'Copy Success'
111
+
publish: 'Save&Publish',
112
+
paramSetting: 'Parameter Settings',
113
+
addModel: 'Add Model'
107
114
},
108
-
dialogues: {
115
+
dialog: {
109
116
addDataset: 'Add Related Knowledge Base',
110
-
removeDataset: 'Remove Knowledge Base',
111
-
paramSettings: 'Parameter Settings',
112
-
refresh: 'Refresh',
117
+
addDatasetPlaceholder: 'The selected knowledge bases must use the same embedding model',
118
+
selected: 'Selected',
119
+
countDataset: 'Knowledge',
120
+
113
121
selectSearchMode: 'Search Mode',
114
122
vectorSearch: 'Vector Search',
115
123
vectorSearchTooltip:
@@ -126,18 +134,12 @@ export default {
126
134
noReferencesAction: 'When there are no knowledge base references',
127
135
continueQuestioning: 'Continue Questioning AI Model',
128
136
provideAnswer: 'Provide a Specific Answer',
129
-
prompt: 'Prompt',
130
-
promptPlaceholder: 'Please enter a prompt',
131
-
concent: 'Content',
132
-
concentPlaceholder: 'Please enter content',
133
137
designated_answer:
134
-
'Hello, I am MaxKB Assistant. My knowledge base only contains information related to MaxKB products. Please rephrase your question.'
138
+
'Hello, I am XXX Assistant. My knowledge base only contains information related to XXX products. Please rephrase your question.',
139
+
defaultPrompt1:
140
+
'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',
141
+
defaultPrompt2: 'tag',
142
+
copy: 'copy'
135
143
}
136
-
},
137
-
prompt: {
138
-
defaultPrompt:
139
-
'Known information:\n{data}\nResponse requirements:\n- Please use concise and professional language to answer the user\'s question.\n- If you do not know the answer, reply, "No relevant information was found in the knowledge base; it is recommended to consult technical support or refer to the official documentation for operations."\n- Avoid mentioning that your knowledge is obtained from known information.\n- Ensure the answer is consistent with the information described in the known data.\n- Please use Markdown syntax to optimize the format of the answer.\n- Directly return any images, link addresses, and script languages found in the known information.\n- Please respond in the same language as the question.\nQuestion:\n{question}',
140
-
defaultPrologue:
141
-
'Hello, I am MaxKB Assistant. You can ask me questions about using MaxKB.\n- What are the main features of MaxKB?\n- Which large language models does MaxKB support?\n- What document types does MaxKB support?'
0 commit comments