Chore: change dataset's i18n to knowledge (#1629)

This commit is contained in:
Joel
2023-11-27 17:22:16 +08:00
committed by GitHub
parent 80ddb00f10
commit 7bbfac5dba
18 changed files with 256 additions and 256 deletions

View File

@@ -77,26 +77,26 @@ const translation = {
},
dataSet: {
title: 'Context',
noData: 'You can import datasets as context',
noData: 'You can import Knowledge as context',
words: 'Words',
textBlocks: 'Text Blocks',
selectTitle: 'Select reference dataset',
selected: 'Datasets selected',
noDataSet: 'No dataset found',
selectTitle: 'Select reference Knowledge',
selected: 'Knowledge selected',
noDataSet: 'No Knowledge found',
toCreate: 'Go to create',
notSupportSelectMulti: 'Currently only support one dataset',
notSupportSelectMulti: 'Currently only support one Knowledge',
queryVariable: {
title: 'Query variable',
tip: 'This variable will be used as the query input for context retrieval, obtaining context information related to the input of this variable.',
choosePlaceholder: 'Choose query variable',
noVar: 'No variables',
noVarTip: 'please create a variable under the Variables section',
unableToQueryDataSet: 'Unable to query the dataset',
unableToQueryDataSetTip: 'Unable to query the dataset successfully, please choose a context query variable in the context section.',
unableToQueryDataSet: 'Unable to query the Knowledge',
unableToQueryDataSetTip: 'Unable to query the Knowledge successfully, please choose a context query variable in the context section.',
ok: 'OK',
contextVarNotEmpty: 'context query variable can not be empty',
deleteContextVarTitle: 'Delete variable “{{varName}}”?',
deleteContextVarTip: 'This variable has been set as a context query variable, and removing it will impact the normal use of the dataset. If you still need to delete it, please reselect it in the context section.',
deleteContextVarTip: 'This variable has been set as a context query variable, and removing it will impact the normal use of the Knowledge. If you still need to delete it, please reselect it in the context section.',
},
},
tools: {
@@ -309,19 +309,19 @@ const translation = {
settingTitle: 'Retrieval settings',
retrieveOneWay: {
title: 'N-to-1 retrieval',
description: 'Based on user intent and dataset descriptions, the Agent autonomously selects the best dataset for querying. Best for applications with distinct, limited datasets.',
description: 'Based on user intent and Knowledge descriptions, the Agent autonomously selects the best Knowledge for querying. Best for applications with distinct, limited Knowledge.',
},
retrieveMultiWay: {
title: 'Multi-path retrieval',
description: 'Based on user intent, queries across all datasets, retrieves relevant text from multi-sources, and selects the best results matching the user query after reranking. Configuration of the Rerank model API is required.',
description: 'Based on user intent, queries across all Knowledge, retrieves relevant text from multi-sources, and selects the best results matching the user query after reranking. Configuration of the Rerank model API is required.',
},
rerankModelRequired: 'Rerank model is required',
params: 'Params',
top_k: 'Top K',
top_kTip: 'Used to filter segments that are most similar to user questions. The system will also dynamically adjust the value of Top K, according to max_tokens of the selected model.',
top_kTip: 'Used to filter chunks that are most similar to user questions. The system will also dynamically adjust the value of Top K, according to max_tokens of the selected model.',
score_threshold: 'Score Threshold',
score_thresholdTip: 'Used to set the similarity threshold for segment filtering.',
retrieveChangeTip: 'Modifying the index mode and retrieval mode may affect applications associated with this dataset.',
score_thresholdTip: 'Used to set the similarity threshold for chunks filtering.',
retrieveChangeTip: 'Modifying the index mode and retrieval mode may affect applications associated with this Knowledge.',
},
}