mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-24 15:36:50 +08:00
### What problem does this PR solve? #9790 Close #9782 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
54 lines
1.2 KiB
JSON
54 lines
1.2 KiB
JSON
{
|
|
"components": {
|
|
"begin": {
|
|
"obj":{
|
|
"component_name": "File",
|
|
"params": {
|
|
}
|
|
},
|
|
"downstream": ["parser:0"],
|
|
"upstream": []
|
|
},
|
|
"parser:0": {
|
|
"obj": {
|
|
"component_name": "Parser",
|
|
"params": {
|
|
"setups": {
|
|
"pdf": {
|
|
"parse_method": "deepdoc",
|
|
"vlm_name": "",
|
|
"lang": "Chinese",
|
|
"suffix": [
|
|
"pdf"
|
|
],
|
|
"output_format": "json"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"downstream": ["chunker:0"],
|
|
"upstream": ["begin"]
|
|
},
|
|
"chunker:0": {
|
|
"obj": {
|
|
"component_name": "Chunker",
|
|
"params": {
|
|
"method": "general",
|
|
"auto_keywords": 5
|
|
}
|
|
},
|
|
"downstream": ["tokenizer:0"],
|
|
"upstream": ["chunker:0"]
|
|
},
|
|
"tokenizer:0": {
|
|
"obj": {
|
|
"component_name": "Tokenizer",
|
|
"params": {
|
|
}
|
|
},
|
|
"downstream": [],
|
|
"upstream": ["chunker:0"]
|
|
}
|
|
},
|
|
"path": []
|
|
} |