Feat: Support deleting knowledge graph #6747 (#6748)

### What problem does this PR solve?

Feat: Support deleting knowledge graph #6747

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-04-02 11:20:37 +08:00
committed by GitHub
parent 3ae1e9e3c4
commit fc02929946
6 changed files with 90 additions and 14 deletions

View File

@ -32,7 +32,8 @@ import LayoutRecognize from '../layout-recognize';
import ParseConfiguration, {
showRaptorParseConfiguration,
} from '../parse-configuration';
import GraphRagItems, {
import {
UseGraphRagItem,
showGraphRagItems,
} from '../parse-configuration/graph-rag-items';
import styles from './index.less';
@ -316,7 +317,7 @@ const ChunkMethodModal: React.FC<IProps> = ({
<ParseConfiguration></ParseConfiguration>
</DatasetConfigurationContainer>
)}
{showGraphRagItems(selectedTag) && <GraphRagItems></GraphRagItems>}
{showGraphRagItems(selectedTag) && <UseGraphRagItem></UseGraphRagItem>}
{showEntityTypes && <EntityTypesItem></EntityTypesItem>}
</Form>
</Modal>