mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-02 03:10:42 +08:00

### What problem does this PR solve? #1965 ### Type of change - [x] New Feature (non-breaking change which adds functionality) --------- Co-authored-by: Kevin Hu <kevinhu.sh@gmail.com>
44 lines
1.2 KiB
JSON
44 lines
1.2 KiB
JSON
{
|
|
"components": {
|
|
"begin": {
|
|
"obj":{
|
|
"component_name": "Begin",
|
|
"params": {
|
|
"prologue": "Hi there!"
|
|
}
|
|
},
|
|
"downstream": ["answer:0"],
|
|
"upstream": []
|
|
},
|
|
"answer:0": {
|
|
"obj": {
|
|
"component_name": "Answer",
|
|
"params": {}
|
|
},
|
|
"downstream": ["exesql:0"],
|
|
"upstream": ["begin", "exesql:0"]
|
|
},
|
|
"exesql:0": {
|
|
"obj": {
|
|
"component_name": "ExeSQL",
|
|
"params": {
|
|
"database": "rag_flow",
|
|
"username": "root",
|
|
"host": "mysql",
|
|
"port": 3306,
|
|
"password": "infini_rag_flow",
|
|
"top_n": 3
|
|
}
|
|
},
|
|
"downstream": ["answer:0"],
|
|
"upstream": ["answer:0"]
|
|
}
|
|
},
|
|
"history": [],
|
|
"messages": [],
|
|
"reference": {},
|
|
"path": [],
|
|
"answer": []
|
|
}
|
|
|