mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-25 08:06:48 +08:00
Update dataset config and retrieval testing (#11958)
### What problem does this PR solve? 1. Refactor the order of the dataset config items. 2. Refactor the text of retrieval test. 3. Refactor typos ### Type of change - [x] Refactoring --------- Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
@ -196,8 +196,8 @@ export default {
|
|||||||
learnMore: 'Built-in pipeline introduction',
|
learnMore: 'Built-in pipeline introduction',
|
||||||
general: 'General',
|
general: 'General',
|
||||||
chunkMethodTab: 'Chunk method',
|
chunkMethodTab: 'Chunk method',
|
||||||
testResults: 'Test results',
|
testResults: 'Results',
|
||||||
testSetting: 'Test setting',
|
testSetting: 'Setting',
|
||||||
retrievalTesting: 'Retrieval testing',
|
retrievalTesting: 'Retrieval testing',
|
||||||
retrievalTestingDescription:
|
retrievalTestingDescription:
|
||||||
'Conduct a retrieval test to check if RAGFlow can recover the intended content for the LLM.',
|
'Conduct a retrieval test to check if RAGFlow can recover the intended content for the LLM.',
|
||||||
@ -338,7 +338,7 @@ export default {
|
|||||||
autoParse: 'Auto parse',
|
autoParse: 'Auto parse',
|
||||||
rebuildTip:
|
rebuildTip:
|
||||||
'Re-downloads files from the linked data source and parses them again.',
|
'Re-downloads files from the linked data source and parses them again.',
|
||||||
baseInfo: 'Basic info',
|
baseInfo: 'Basic',
|
||||||
globalIndex: 'Global index',
|
globalIndex: 'Global index',
|
||||||
dataSource: 'Data source',
|
dataSource: 'Data source',
|
||||||
linkSourceSetTip: 'Manage data source linkage with this dataset',
|
linkSourceSetTip: 'Manage data source linkage with this dataset',
|
||||||
|
|||||||
@ -252,22 +252,7 @@ export default function DatasetSettings() {
|
|||||||
{t('knowledgeConfiguration.baseInfo')}
|
{t('knowledgeConfiguration.baseInfo')}
|
||||||
</div>
|
</div>
|
||||||
<GeneralForm></GeneralForm>
|
<GeneralForm></GeneralForm>
|
||||||
<Divider />
|
|
||||||
<div className="text-base font-medium text-text-primary">
|
|
||||||
{t('knowledgeConfiguration.globalIndex')}
|
|
||||||
</div>
|
|
||||||
<GraphRagItems
|
|
||||||
className="border-none p-0"
|
|
||||||
data={graphRagGenerateData as IGenerateLogButtonProps}
|
|
||||||
onDelete={() =>
|
|
||||||
handleDeletePipelineTask(GenerateType.KnowledgeGraph)
|
|
||||||
}
|
|
||||||
></GraphRagItems>
|
|
||||||
<Divider />
|
|
||||||
<RaptorFormFields
|
|
||||||
data={raptorGenerateData as IGenerateLogButtonProps}
|
|
||||||
onDelete={() => handleDeletePipelineTask(GenerateType.Raptor)}
|
|
||||||
></RaptorFormFields>
|
|
||||||
<Divider />
|
<Divider />
|
||||||
<div className="text-base font-medium text-text-primary">
|
<div className="text-base font-medium text-text-primary">
|
||||||
{t('knowledgeConfiguration.dataPipeline')}
|
{t('knowledgeConfiguration.dataPipeline')}
|
||||||
@ -292,7 +277,6 @@ export default function DatasetSettings() {
|
|||||||
data={pipelineData}
|
data={pipelineData}
|
||||||
handleLinkOrEditSubmit={handleLinkOrEditSubmit}
|
handleLinkOrEditSubmit={handleLinkOrEditSubmit}
|
||||||
/> */}
|
/> */}
|
||||||
|
|
||||||
<Divider />
|
<Divider />
|
||||||
<LinkDataSource
|
<LinkDataSource
|
||||||
data={sourceData}
|
data={sourceData}
|
||||||
@ -300,6 +284,22 @@ export default function DatasetSettings() {
|
|||||||
unbindFunc={unbindFunc}
|
unbindFunc={unbindFunc}
|
||||||
handleAutoParse={handleAutoParse}
|
handleAutoParse={handleAutoParse}
|
||||||
/>
|
/>
|
||||||
|
<Divider />
|
||||||
|
<div className="text-base font-medium text-text-primary">
|
||||||
|
{t('knowledgeConfiguration.globalIndex')}
|
||||||
|
</div>
|
||||||
|
<GraphRagItems
|
||||||
|
className="border-none p-0"
|
||||||
|
data={graphRagGenerateData as IGenerateLogButtonProps}
|
||||||
|
onDelete={() =>
|
||||||
|
handleDeletePipelineTask(GenerateType.KnowledgeGraph)
|
||||||
|
}
|
||||||
|
></GraphRagItems>
|
||||||
|
<Divider />
|
||||||
|
<RaptorFormFields
|
||||||
|
data={raptorGenerateData as IGenerateLogButtonProps}
|
||||||
|
onDelete={() => handleDeletePipelineTask(GenerateType.Raptor)}
|
||||||
|
></RaptorFormFields>
|
||||||
</MainContainer>
|
</MainContainer>
|
||||||
</div>
|
</div>
|
||||||
<div className="text-right items-center flex justify-end gap-3 w-[768px]">
|
<div className="text-right items-center flex justify-end gap-3 w-[768px]">
|
||||||
|
|||||||
Reference in New Issue
Block a user