mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 12:32:30 +08:00
### What problem does this PR solve? #1594 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
45 lines
1.6 KiB
JSON
45 lines
1.6 KiB
JSON
{
|
|
"components": {
|
|
"begin": {
|
|
"obj":{
|
|
"component_name": "Begin",
|
|
"params": {
|
|
"prologue": "Hi there!"
|
|
}
|
|
},
|
|
"downstream": ["answer:0"],
|
|
"upstream": []
|
|
},
|
|
"answer:0": {
|
|
"obj": {
|
|
"component_name": "Answer",
|
|
"params": {}
|
|
},
|
|
"downstream": ["categorize:0"],
|
|
"upstream": ["begin"]
|
|
},
|
|
"categorize:0": {
|
|
"obj": {
|
|
"component_name": "Categorize",
|
|
"params": {
|
|
"llm_id": "deepseek-chat",
|
|
"category_description": {
|
|
"product_related": {
|
|
"description": "The question is about the product usage, appearance and how it works.",
|
|
"examples": "Why it always beaming?\nHow to install it onto the wall?\nIt leaks, what to do?"
|
|
},
|
|
"others": {
|
|
"description": "The question is not about the product usage, appearance and how it works.",
|
|
"examples": "How are you doing?\nWhat is your name?\nAre you a robot?\nWhat's the weather?\nWill it rain?"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"downstream": [],
|
|
"upstream": ["answer:0"]
|
|
}
|
|
},
|
|
"history": [],
|
|
"path": [],
|
|
"answer": []
|
|
} |