chore: use qa language

This commit is contained in:
Joel
2024-12-17 17:35:42 +08:00
parent a1abbedc13
commit 4ef876db23
3 changed files with 4 additions and 2 deletions

View File

@@ -550,7 +550,7 @@ const StepTwo = ({
getRulesFromDetail()
getDefaultMode()
}
// eslint-disable-next-line react-hooks/exhaustive-deps
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [])
useEffect(() => {
@@ -658,7 +658,7 @@ const StepTwo = ({
/>
<div className='flex items-center gap-1'>
<TextLabel>
{t('datasetCreation.stepTwo.QALanguage')}
{t('datasetCreation.stepTwo.useQALanguage')}
</TextLabel>
<div className='z-50 relative'>
<LanguageSelect

View File

@@ -136,6 +136,7 @@ const translation = {
QATitle: 'Segmenting in Question & Answer format',
QATip: 'Enable this option will consume more tokens',
QALanguage: 'Segment using',
useQALanguage: 'Chunk using Q&A format in',
estimateCost: 'Estimation',
estimateSegment: 'Estimated chunks',
segmentCount: 'chunks',

View File

@@ -136,6 +136,7 @@ const translation = {
QATitle: '采用 Q&A 分段模式',
QATip: '开启后将会消耗额外的 token',
QALanguage: '分段使用',
useQALanguage: '使用 Q&A 分段,语言',
estimateCost: '执行嵌入预估消耗',
estimateSegment: '预估分段数',
segmentCount: '段',