Refa: knowledge_graph chunk method is deprecated (#7220)

### What problem does this PR solve?

The knowledge_graph chunk method is deprecated and should no longer be
used. #7184.

### Type of change

- [x] Refactoring
This commit is contained in:
Yongteng Lei
2025-04-23 13:01:46 +08:00
committed by GitHub
parent 03672df691
commit 94181a990b
7 changed files with 7 additions and 28 deletions

View File

@ -69,7 +69,7 @@ def create(tenant_id):
chunk_method:
type: string
enum: ["naive", "manual", "qa", "table", "paper", "book", "laws",
"presentation", "picture", "one", "knowledge_graph", "email", "tag"
"presentation", "picture", "one", "email", "tag"
]
description: Chunking method.
parser_config:
@ -105,7 +105,6 @@ def create(tenant_id):
"presentation",
"picture",
"one",
"knowledge_graph",
"email",
"tag"
]
@ -315,7 +314,7 @@ def update(tenant_id, dataset_id):
chunk_method:
type: string
enum: ["naive", "manual", "qa", "table", "paper", "book", "laws",
"presentation", "picture", "one", "knowledge_graph", "email", "tag"
"presentation", "picture", "one", "email", "tag"
]
description: Updated chunking method.
parser_config:
@ -353,7 +352,6 @@ def update(tenant_id, dataset_id):
"presentation",
"picture",
"one",
"knowledge_graph",
"email",
"tag"
]