mirror of
https://github.com/langgenius/dify.git
synced 2026-01-05 22:15:52 +00:00
chore: use qa language
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -136,6 +136,7 @@ const translation = {
|
||||
QATitle: '采用 Q&A 分段模式',
|
||||
QATip: '开启后将会消耗额外的 token',
|
||||
QALanguage: '分段使用',
|
||||
useQALanguage: '使用 Q&A 分段,语言',
|
||||
estimateCost: '执行嵌入预估消耗',
|
||||
estimateSegment: '预估分段数',
|
||||
segmentCount: '段',
|
||||
|
||||
Reference in New Issue
Block a user