chore: retrieval test text

This commit is contained in:
Joel 2024-12-16 15:56:16 +08:00
parent 3f9acc7029
commit d5a90daa44
3 changed files with 7 additions and 7 deletions

View File

@ -123,7 +123,7 @@ const HitTesting: FC<Props> = ({ datasetId }: Props) => {
retrievalConfig={retrievalConfig} retrievalConfig={retrievalConfig}
isEconomy={currentDataset?.indexing_technique === 'economy'} isEconomy={currentDataset?.indexing_technique === 'economy'}
/> />
<div className={cn(s.title, 'mt-8 mb-2')}>{t('datasetHitTesting.recents')}</div> <div className={cn(s.title, 'mt-8 mb-2')}>{t('datasetHitTesting.records')}</div>
{(!recordsRes && !error) {(!recordsRes && !error)
? ( ? (
<div className='flex-1'><Loading type='app' /></div> <div className='flex-1'><Loading type='app' /></div>

View File

@ -1,9 +1,9 @@
const translation = { const translation = {
title: 'Retrieval Testing', title: 'Retrieval Test',
settingTitle: 'Retrieval Setting', settingTitle: 'Retrieval Setting',
desc: 'Test the hitting effect of the Knowledge based on the given query text', desc: 'Test the hitting effect of the Knowledge based on the given query text.',
dateTimeFormat: 'MM/DD/YYYY hh:mm A', dateTimeFormat: 'MM/DD/YYYY hh:mm A',
recents: 'Recents', records: 'Records',
table: { table: {
header: { header: {
source: 'Source', source: 'Source',
@ -16,7 +16,7 @@ const translation = {
placeholder: 'Please enter a text, a short declarative sentence is recommended.', placeholder: 'Please enter a text, a short declarative sentence is recommended.',
countWarning: 'Up to 200 characters.', countWarning: 'Up to 200 characters.',
indexWarning: 'High quality Knowledge only.', indexWarning: 'High quality Knowledge only.',
testing: 'Testing', testing: 'Test',
}, },
hit: { hit: {
title: '{{num}} Retrieved Chunks', title: '{{num}} Retrieved Chunks',

View File

@ -1,9 +1,9 @@
const translation = { const translation = {
title: '召回测试', title: '召回测试',
settingTitle: '召回设置', settingTitle: '召回设置',
desc: '基于给定的查询文本测试知识库的召回效果', desc: '根据给定的查询文本测试知识的召回效果。',
dateTimeFormat: 'YYYY-MM-DD HH:mm', dateTimeFormat: 'YYYY-MM-DD HH:mm',
recents: '最近查询', records: '记录',
table: { table: {
header: { header: {
source: '数据源', source: '数据源',