mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-11-13 06:40:51 +08:00
### What problem does this PR solve? Feat: Put the configuration of different parsing methods into separate components. #5467 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
1 parent
014f2ef900
commit
2c7428e2ee
29 files changed
+662
-227
No files matched your search
@@ -0,0 +1,9 @@
|
||||
import { DocumentParserType } from '@/constants/knowledge';
|
||||
|
||||
export function isKnowledgeGraphParser(parserId: DocumentParserType) {
|
||||
return parserId === DocumentParserType.KnowledgeGraph;
|
||||
}
|
||||
|
||||
export function isNaiveParser(parserId: DocumentParserType) {
|
||||
return parserId === DocumentParserType.Naive;
|
||||
}
|
||||
Reference in new issue
Block a user