Refactor UI text (#3911)

### What problem does this PR solve?

Refactor UI text

### Type of change

- [x] Documentation Update
- [x] Refactoring

Signed-off-by: jinhai <haijin.chn@gmail.com>
This commit is contained in:
Jin Hai
2024-12-07 11:04:36 +08:00
committed by GitHub
parent f284578cea
commit c817ff184b
12 changed files with 38 additions and 38 deletions

View File

@ -99,9 +99,9 @@ export default {
disabled: 'Disable',
action: 'Action',
parsingStatus: 'Parsing Status',
processBeginAt: 'Process Begin At',
processDuration: 'Process Duration',
progressMsg: 'Progress Msg',
processBeginAt: 'Begin at',
processDuration: 'Duration',
progressMsg: 'Progress',
testingDescription:
'Conduct a retrieval test to check if RAGFlow can recover the intended content for the LLM.',
similarityThreshold: 'Similarity threshold',
@ -151,7 +151,7 @@ export default {
chunk: 'Chunk',
bulk: 'Bulk',
cancel: 'Cancel',
rerankModel: 'Rerank Model',
rerankModel: 'Rerank model',
rerankPlaceholder: 'Please select',
rerankTip: `If left empty, RAGFlow will use a combination of weighted keyword similarity and weighted vector cosine similarity; if a rerank model is selected, a weighted reranking score will replace the weighted vector cosine similarity.`,
topK: 'Top-K',
@ -337,7 +337,7 @@ When you want to search the given knowledge base at first place, set a higher pa
chat: 'Chat',
newChat: 'New chat',
send: 'Send',
sendPlaceholder: 'Message the Assistant...',
sendPlaceholder: 'Message the assistant...',
chatConfiguration: 'Chat Configuration',
chatConfigurationDescription:
' Here, dress up a dedicated assistant for your special knowledge bases! 💕',
@ -351,7 +351,7 @@ When you want to search the given knowledge base at first place, set a higher pa
setAnOpener: 'Set an opener',
setAnOpenerInitial: `Hi! I'm your assistant, what can I do for you?`,
setAnOpenerTip: 'How do you want to welcome your clients?',
knowledgeBases: 'Knowledgebases',
knowledgeBases: 'Knowledge bases',
knowledgeBasesMessage: 'Please select',
knowledgeBasesTip: 'Select knowledgebases associated.',
system: 'System',
@ -389,21 +389,21 @@ When you want to search the given knowledge base at first place, set a higher pa
topPMessage: 'Top P is required',
topPTip:
'Also known as “nucleus sampling,” this parameter sets a threshold to select a smaller set of words to sample from. It focuses on the most likely words, cutting off the less probable ones.',
presencePenalty: 'Presence Penalty',
presencePenaltyMessage: 'Presence Penalty is required',
presencePenalty: 'Presence penalty',
presencePenaltyMessage: 'Presence penalty is required',
presencePenaltyTip:
'This discourages the model from repeating the same information by penalizing words that have already appeared in the conversation.',
frequencyPenalty: 'Frequency Penalty',
frequencyPenaltyMessage: 'Frequency Penalty is required',
frequencyPenalty: 'Frequency penalty',
frequencyPenaltyMessage: 'Frequency penalty is required',
frequencyPenaltyTip:
'Similar to the presence penalty, this reduces the models tendency to repeat the same words frequently.',
maxTokens: 'Max Tokens',
maxTokensMessage: 'Max Tokens is required',
maxTokens: 'Max tokens',
maxTokensMessage: 'Max tokens is required',
maxTokensTip:
'This sets the maximum length of the models output, measured in the number of tokens (words or pieces of words).',
maxTokensInvalidMessage: 'Please enter a valid number for Max Tokens.',
maxTokensMinMessage: 'Max Tokens cannot be less than 0.',
quote: 'Show Quote',
quote: 'Show quote',
quoteTip: 'Should the source of the original text be displayed?',
selfRag: 'Self-RAG',
selfRagTip: 'Please refer to: https://huggingface.co/papers/2310.11511',
@ -461,7 +461,7 @@ When you want to search the given knowledge base at first place, set a higher pa
password: 'Password',
passwordDescription:
'Please enter your current password to change your password.',
model: 'Model Providers',
model: 'Model providers',
modelDescription: 'Set the model parameter and API KEY here.',
team: 'Team',
system: 'System',
@ -476,7 +476,7 @@ When you want to search the given knowledge base at first place, set a higher pa
colorSchemaPlaceholder: 'select your color schema',
bright: 'Bright',
dark: 'Dark',
timezone: 'Timezone',
timezone: 'Time zone',
timezoneMessage: 'Please input your timezone!',
timezonePlaceholder: 'select your timezone',
email: 'Email address',
@ -518,7 +518,7 @@ When you want to search the given knowledge base at first place, set a higher pa
sequence2txtModel: 'Sequence2txt model',
sequence2txtModelTip:
'The default ASR model all the newly created knowledgebase will use. Use this model to translate voices to corresponding text.',
rerankModel: 'Rerank Model',
rerankModel: 'Rerank model',
rerankModelTip: `The default rerank model is used to rerank chunks retrieved by users' questions.`,
ttsModel: 'TTS Model',
ttsModelTip:

View File

@ -98,7 +98,7 @@ export default {
processDuration: 'Duración del proceso',
progressMsg: 'Mensaje de progreso',
testingDescription:
'¡Último paso! Después del éxito, deja el resto al AI de Infiniflow.',
'¡Último paso! Después del éxito, deja el resto al AI de RAGFlow.',
similarityThreshold: 'Umbral de similitud',
similarityThresholdTip:
'Usamos una puntuación de similitud híbrida para evaluar la distancia entre dos líneas de texto. Se pondera la similitud de palabras clave y la similitud coseno de vectores. Si la similitud entre la consulta y el fragmento es menor que este umbral, el fragmento será filtrado.',

View File

@ -101,7 +101,7 @@ export default {
processBeginAt: '流程開始於',
processDuration: '過程持續時間',
progressMsg: '進度消息',
testingDescription: '最後一步!成功後,剩下的就交給Infiniflow AI吧。',
testingDescription: '最後一步!成功後,剩下的就交給 RAGFlow 吧。',
similarityThreshold: '相似度閾值',
similarityThresholdTip:
'我們使用混合相似度得分來評估兩行文本之間的距離。它是加權關鍵詞相似度和向量餘弦相似度。如果查詢和塊之間的相似度小於此閾值,則該塊將被過濾掉。',

View File

@ -98,10 +98,10 @@ export default {
disabled: '禁用',
action: '动作',
parsingStatus: '解析状态',
processBeginAt: '流程开始于',
processDuration: '过程持续时间',
progressMsg: '进度消息',
testingDescription: '最后一步! 成功后,剩下的就交给Infiniflow AI吧。',
processBeginAt: '开始于',
processDuration: '持续时间',
progressMsg: '进度',
testingDescription: '最后一步! 成功后,剩下的就交给 RAGFlow 吧。',
similarityThreshold: '相似度阈值',
similarityThresholdTip:
'我们使用混合相似度得分来评估两行文本之间的距离。 它是加权关键词相似度和向量余弦相似度。 如果查询和块之间的相似度小于此阈值,则该块将被过滤掉。',

View File

@ -24,7 +24,7 @@ const AssistantSetting = ({ show, form }: ISegmentedContentProps) => {
(checked: boolean) => {
if (checked && !data.tts_id) {
message.error(`Please set TTS model firstly.
Setting >> Model Providers >> System model settings`);
Setting >> Model providers >> System model settings`);
form.setFieldValue(['prompt_config', 'tts'], false);
}
},