Refactor : Allow search multiple datasets (#14685)

### What problem does this PR solve?

Refactor : Allow search multiple datasets
1. support /datasets/search
2. get rid of /graph/search, use /graph

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
- [x] Refactoring
This commit is contained in:
Wang Qi
2026-05-08 19:01:35 +08:00
committed by GitHub
parent 26d70189b6
commit 7d35e40c7b
5 changed files with 214 additions and 18 deletions

View File

@@ -65,7 +65,7 @@ export default {
rmKb: `${restAPIv1}/datasets`,
getKbDetail: (datasetId: string) => `${restAPIv1}/datasets/${datasetId}`,
getKnowledgeGraph: (knowledgeId: string) =>
`${restAPIv1}/datasets/${knowledgeId}/graph/search`,
`${restAPIv1}/datasets/${knowledgeId}/graph`,
knowledgeGraph: (datasetId: string) =>
`${restAPIv1}/datasets/${datasetId}/graph`,
deleteKnowledgeGraph: (knowledgeId: string) =>