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

212 lines
8.5 KiB
TypeScript
Raw Normal View History

2024-05-18 03:29:42 +00:00
export default {
2025-01-21 07:55:09 +00:00
title: 'APP',
createApplication: 'Create APP',
importApplication: 'Import APP',
copyApplication: 'Copy APP',
2025-01-13 03:15:51 +00:00
workflow: 'WORKFLOW',
simple: 'SIMPLE',
searchBar: {
placeholder: 'Search by name'
},
setting: {
demo: 'Demo'
2024-05-21 06:06:54 +00:00
},
2025-01-13 03:15:51 +00:00
delete: {
2025-01-21 12:10:46 +00:00
confirmTitle: 'Are you sure you want to delete this APP: ',
2025-01-13 03:15:51 +00:00
confirmMessage:
2025-01-21 07:55:09 +00:00
'Deleting this APP will no longer provide its services. Please proceed with caution.'
2025-01-13 03:15:51 +00:00
},
tip: {
ExportError: 'Export Failed',
professionalMessage:
2025-01-21 07:55:09 +00:00
'The Community Edition supports up to 5 APP. If you need more APP, please upgrade to the Professional Edition.',
2025-01-13 03:15:51 +00:00
saveErrorMessage: 'Saving failed, please check your input or try again later',
loadingErrorMessage: 'Failed to load configuration, please check your input or try again later'
},
2024-05-21 06:06:54 +00:00
applicationForm: {
title: {
2025-01-21 07:55:09 +00:00
info: 'APP Information',
2025-01-20 03:28:53 +00:00
appTest: 'Debug Preview',
2025-01-13 03:15:51 +00:00
copy: 'copy'
2024-05-21 06:06:54 +00:00
},
form: {
appName: {
2025-01-21 07:55:09 +00:00
label: 'APP Name',
placeholder: 'Please enter the APP name',
requiredMessage: 'APP name is required'
2024-05-21 06:06:54 +00:00
},
appDescription: {
2025-01-21 07:55:09 +00:00
label: 'APP Description',
2024-05-21 06:06:54 +00:00
placeholder:
2025-01-21 07:55:09 +00:00
'Describe the APP scenario and use, e.g.: XXX assistant answering user questions about XXX product usage'
2025-01-13 03:15:51 +00:00
},
appType: {
2025-01-21 07:55:09 +00:00
label: 'Please select the APP type',
2025-01-13 03:15:51 +00:00
simplePlaceholder: 'Suitable for beginners to create assistant.',
workflowPlaceholder: 'Suitable for advanced users to customize the workflow of assistant'
2024-05-21 06:06:54 +00:00
},
aiModel: {
label: 'AI Model',
2025-01-13 03:15:51 +00:00
placeholder: 'Please select an AI model'
},
roleSettings: {
label: 'Role settings',
placeholder: 'You are xxx assistant'
2024-05-21 06:06:54 +00:00
},
2025-01-13 03:15:51 +00:00
2024-05-21 06:06:54 +00:00
prompt: {
label: 'Prompt',
2025-01-13 03:15:51 +00:00
noReferences: 'No references Knowledge',
references: ' (References Knowledge)',
2024-05-21 06:06:54 +00:00
placeholder: 'Please enter prompt',
2025-01-13 03:15:51 +00:00
requiredMessage: 'Please enter prompt',
2025-01-22 03:26:03 +00:00
tooltip:'By adjusting the content of the prompt, you can guide the direction of the large model conversation.',
2025-01-13 03:15:51 +00:00
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:
2025-01-21 08:46:18 +00:00
'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.',
2025-01-13 03:15:51 +00:00
defaultPrompt: `Known information: {data}
Question: {question}
Response requirements:
- Please use concise and professional language to answer the user's question.
`
},
historyRecord: {
label: 'Historical chat records'
},
relatedKnowledge: {
2025-01-21 08:46:18 +00:00
label: 'Related Knowledge',
placeholder: 'Associated knowledge are displayed here'
2024-05-21 06:06:54 +00:00
},
multipleRoundsDialogue: 'Multiple Rounds Dialogue',
2025-01-13 03:15:51 +00:00
2024-05-21 06:06:54 +00:00
prologue: 'Prologue',
2025-01-13 03:15:51 +00:00
defaultPrologue:
2025-01-21 08:46:18 +00:00
'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?',
2024-05-21 06:06:54 +00:00
problemOptimization: {
2025-01-21 08:46:18 +00:00
label: 'Questions Optimization',
2024-05-21 06:06:54 +00:00
tooltip:
'Optimize the current question based on historical chat to better match knowledge points.'
},
2025-01-13 03:15:51 +00:00
voiceInput: {
label: 'Voice input',
placeholder: 'Please select a speech recognition model',
requiredMessage: 'Please select a speech input model',
autoSend: 'Automatic sending'
},
voicePlay: {
label: 'Voice playback',
placeholder: 'Please select a speech synthesis model',
requiredMessage: 'Please select a speech playback model',
autoPlay: 'Automatic playback',
browser: 'Browser playback (free)',
tts: 'TTS Model',
listeningTest: 'Preview'
}
2024-05-21 06:06:54 +00:00
},
buttons: {
2025-01-13 03:15:51 +00:00
publish: 'Save&Publish',
addModel: 'Add Model'
2024-05-21 06:06:54 +00:00
},
2025-01-13 03:15:51 +00:00
dialog: {
2025-01-21 08:46:18 +00:00
addDataset: 'Add Related Knowledge',
addDatasetPlaceholder: 'The selected knowledge must use the same embedding model',
2025-01-13 03:15:51 +00:00
selected: 'Selected',
countDataset: 'Knowledge',
2024-05-21 06:06:54 +00:00
selectSearchMode: 'Search Mode',
vectorSearch: 'Vector Search',
vectorSearchTooltip:
2025-01-21 08:46:18 +00:00
'Vector search is a retrieval method based on vector distance calculations, suitable for large data volumes in the knowledge.',
2024-05-21 06:06:54 +00:00
fullTextSearch: 'Full-text Search',
fullTextSearchTooltip:
2025-01-21 08:46:18 +00:00
'Full-text search is a retrieval method based on text similarity, suitable for small data volumes in the knowledge.',
2024-05-21 06:06:54 +00:00
hybridSearch: 'Hybrid Search',
hybridSearchTooltip:
2025-01-21 08:46:18 +00:00
'Hybrid search is a retrieval method based on both vector and text similarity, suitable for medium data volumes in the knowledge.',
2024-05-21 06:06:54 +00:00
similarityThreshold: 'Similarity Threshold',
2025-01-21 09:57:31 +00:00
similarityTooltip: 'The higher the similarity, the stronger the correlation。',
2024-05-21 06:06:54 +00:00
topReferences: 'Top N References',
2025-01-21 09:57:31 +00:00
maxCharacters: 'Maximum words per Reference',
2025-01-21 08:46:18 +00:00
noReferencesAction: 'When there are no knowledge references',
2025-01-21 09:57:31 +00:00
continueQuestioning: 'Continue to ask questions to the Al model',
provideAnswer: 'Provide a specific answer',
2024-05-21 06:06:54 +00:00
designated_answer:
2025-01-21 08:46:18 +00:00
'Hello, I am XXX Assistant. My knowledge only contains information related to XXX products. Please rephrase your question.',
2025-01-13 03:15:51 +00:00
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'
2024-05-21 06:06:54 +00:00
}
},
2025-01-13 03:15:51 +00:00
applicationAccess: {
2025-01-21 07:55:09 +00:00
title: 'APP Access',
2025-01-13 03:15:51 +00:00
wecom: 'WeCom',
2025-01-21 07:55:09 +00:00
wecomTip: 'Create WeCom intelligent APP',
2025-01-13 03:15:51 +00:00
dingtalk: 'DingTalk',
2025-01-21 07:55:09 +00:00
dingtalkTip: 'Create DingTalk intelligent APP',
2025-01-13 03:15:51 +00:00
wechat: 'WeChat',
2025-01-21 07:55:09 +00:00
wechatTip: 'Create WeChat intelligent APP',
2025-01-13 03:15:51 +00:00
lark: 'Lark',
2025-01-21 07:55:09 +00:00
larkTip: 'Create Lark intelligent APP',
2025-01-13 03:15:51 +00:00
setting: 'Setting',
2025-01-21 07:55:09 +00:00
info: 'APP Information',
2025-01-13 03:15:51 +00:00
callback: 'Callback Address',
callbackTip: 'Please fill in the callback address',
wecomPlatform: 'WeCom Open Platform',
wechatPlatform: 'WeChat Open Platform',
dingtalkPlatform: 'DingTalk Open Platform',
larkPlatform: 'Lark Open Platform',
wecomSetting: {
title: 'WeCom Configuration',
cropId: 'Crop ID',
cropIdPlaceholder: 'Please enter Crop ID',
agentIdPlaceholder: 'Please enter Agent ID',
secretPlaceholder: 'Please enter Secret',
tokenPlaceholder: 'Please enter Token',
encodingAesKeyPlaceholder: 'Please enter EncodingAESKey',
authenticationSuccessful: 'Authentication successful',
urlInfo:
2025-01-21 07:55:09 +00:00
'-APP management-Self-built-Created APP-Receive messages-Set the "URL" received by the API'
2025-01-13 03:15:51 +00:00
},
dingtalkSetting: {
title: 'DingTalk Configuration',
clientIdPlaceholder: 'Please enter Client ID',
clientSecretPlaceholder: 'Please enter Client Secret',
urlInfo:
'-On the robot page, set the "Message Receiving Mode" to HTTP mode, and fill in the above URL into the "Message Receiving Address"'
},
wechatSetting: {
title: 'WeChat Configuration',
appId: 'APP ID',
appIdPlaceholder: 'Please enter APP ID',
appSecret: 'APP SECRET',
appSecretPlaceholder: 'Please enter APP SECRET',
token: 'TOKEN',
tokenPlaceholder: 'Please enter TOKEN',
aesKey: 'Message Encryption Key',
aesKeyPlaceholder: 'Please enter the message encryption key',
urlInfo:
'-Settings and Development-Basic Configuration-"Server Address URL" in Server Configuration'
},
larkSetting: {
title: 'Lark Configuration',
appIdPlaceholder: 'Please enter App ID',
appSecretPlaceholder: 'Please enter App Secret',
verificationTokenPlaceholder: 'Please enter Verification Token',
urlInfo:
'-Events and callbacks - event configuration - configure the "request address" of the subscription method'
},
copyUrl: 'Copy the link and fill it in'
2025-01-15 11:10:29 +00:00
},
hitTest: {
2025-01-21 08:46:18 +00:00
title: 'Retrieval Test',
2025-01-15 11:10:29 +00:00
text: 'Ensure effective response by matching paragraphs to user inquiries.',
emptyMessage1: 'The matching paragraph is displayed here',
emptyMessage2: 'No matching sections found'
2024-05-21 06:06:54 +00:00
}
}