feat: add retriever rank fe (#1557)

Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
This commit is contained in:
Joel
2023-11-18 11:53:35 +08:00
committed by GitHub
parent e017eff5e4
commit 888e8c6dac
80 changed files with 2757 additions and 467 deletions

View File

@@ -223,6 +223,8 @@ const translation = {
},
},
modelProvider: {
systemModelSettings: 'System Model Settings',
systemModelSettingsLink: 'Why is it necessary to set up a system model?',
selectModel: 'Select your model',
setupModelFirst: 'Please set up your model first',
systemReasoningModel: {
@@ -237,6 +239,10 @@ const translation = {
key: 'Speech-to-Text Model',
tip: 'Set the default model for speech-to-text input in conversation.',
},
rerankModel: {
key: 'Rerank Model',
tip: 'Rerank model will reorder the candidate document list based on the semantic match with user query, improving the results of semantic ranking',
},
quota: 'Quota',
searchModel: 'Search model',
noModelFound: 'No model found for {{model}}',
@@ -244,6 +250,8 @@ const translation = {
showMoreModelProvider: 'Show more model provider',
selector: {
tip: 'This model has been removed. Please add a model or select another model.',
emptyTip: 'No available models',
emptySetting: 'Please go to settings to configure',
},
card: {
quota: 'QUOTA',
@@ -351,7 +359,7 @@ const translation = {
},
datasetMenus: {
documents: 'Documents',
hitTesting: 'Hit Testing',
hitTesting: 'Retrieval Testing',
settings: 'Settings',
emptyTip: 'The data set has not been associated, please go to the application or plug-in to complete the association.',
viewDoc: 'View documentation',
@@ -382,9 +390,9 @@ const translation = {
title: 'CITATIONS',
linkToDataset: 'Link to dataset',
characters: 'Characters:',
hitCount: 'Hit count:',
hitCount: 'Retrieval count:',
vectorHash: 'Vector hash:',
hitScore: 'Hit Score:',
hitScore: 'Retrieval Score:',
},
},
promptEditor: {