Fix DB assistant template error. (#4925)

### What problem does this PR solve?

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
Kevin Hu 2025-02-13 11:33:25 +08:00 committed by GitHub
parent 891ee85fa6
commit 50c99599f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -58,10 +58,7 @@
}, },
"Generate:BlueShirtsLaugh": { "Generate:BlueShirtsLaugh": {
"downstream": [ "downstream": [
"ExeSQL:QuietRosesRun", "ExeSQL:QuietRosesRun"
"Retrieval:SillyPartsCheer",
"Retrieval:BrownStreetsRhyme",
"Retrieval:OddSingersRefuse"
], ],
"obj": { "obj": {
"component_name": "Generate", "component_name": "Generate",
@ -77,10 +74,16 @@
"top_p": 0.3 "top_p": 0.3
} }
}, },
"upstream": [] "upstream": [
"Retrieval:SillyPartsCheer",
"Retrieval:BrownStreetsRhyme",
"Retrieval:OddSingersRefuse"
]
}, },
"Retrieval:BrownStreetsRhyme": { "Retrieval:BrownStreetsRhyme": {
"downstream": [], "downstream": [
"Generate:BlueShirtsLaugh"
],
"obj": { "obj": {
"component_name": "Retrieval", "component_name": "Retrieval",
"inputs": [], "inputs": [],
@ -100,12 +103,13 @@
} }
}, },
"upstream": [ "upstream": [
"RewriteQuestion:WildIdeasTell", "RewriteQuestion:WildIdeasTell"
"Generate:BlueShirtsLaugh"
] ]
}, },
"Retrieval:OddSingersRefuse": { "Retrieval:OddSingersRefuse": {
"downstream": [], "downstream": [
"Generate:BlueShirtsLaugh"
],
"obj": { "obj": {
"component_name": "Retrieval", "component_name": "Retrieval",
"inputs": [], "inputs": [],
@ -125,12 +129,13 @@
} }
}, },
"upstream": [ "upstream": [
"RewriteQuestion:WildIdeasTell", "RewriteQuestion:WildIdeasTell"
"Generate:BlueShirtsLaugh"
] ]
}, },
"Retrieval:SillyPartsCheer": { "Retrieval:SillyPartsCheer": {
"downstream": [], "downstream": [
"Generate:BlueShirtsLaugh"
],
"obj": { "obj": {
"component_name": "Retrieval", "component_name": "Retrieval",
"inputs": [], "inputs": [],
@ -150,8 +155,7 @@
} }
}, },
"upstream": [ "upstream": [
"RewriteQuestion:WildIdeasTell", "RewriteQuestion:WildIdeasTell"
"Generate:BlueShirtsLaugh"
] ]
}, },
"RewriteQuestion:WildIdeasTell": { "RewriteQuestion:WildIdeasTell": {
@ -302,43 +306,43 @@
"zIndex": 1001 "zIndex": 1001
}, },
{ {
"id": "xy-edge__Generate:BlueShirtsLaughb-Retrieval:SillyPartsCheerb", "id": "xy-edge__Retrieval:SillyPartsCheerb-Generate:BlueShirtsLaughb",
"markerEnd": "logo", "markerEnd": "logo",
"source": "Generate:BlueShirtsLaugh", "source": "Retrieval:SillyPartsCheer",
"sourceHandle": "b", "sourceHandle": "b",
"style": { "style": {
"stroke": "rgb(202 197 245)", "stroke": "rgb(202 197 245)",
"strokeWidth": 2 "strokeWidth": 2
}, },
"target": "Retrieval:SillyPartsCheer", "target": "Generate:BlueShirtsLaugh",
"targetHandle": "b", "targetHandle": "b",
"type": "buttonEdge", "type": "buttonEdge",
"zIndex": 1001 "zIndex": 1001
}, },
{ {
"id": "xy-edge__Generate:BlueShirtsLaughb-Retrieval:BrownStreetsRhymeb", "id": "xy-edge__Retrieval:BrownStreetsRhymeb-Generate:BlueShirtsLaughb",
"markerEnd": "logo", "markerEnd": "logo",
"source": "Generate:BlueShirtsLaugh", "source": "Retrieval:BrownStreetsRhyme",
"sourceHandle": "b", "sourceHandle": "b",
"style": { "style": {
"stroke": "rgb(202 197 245)", "stroke": "rgb(202 197 245)",
"strokeWidth": 2 "strokeWidth": 2
}, },
"target": "Retrieval:BrownStreetsRhyme", "target": "Generate:BlueShirtsLaugh",
"targetHandle": "b", "targetHandle": "b",
"type": "buttonEdge", "type": "buttonEdge",
"zIndex": 1001 "zIndex": 1001
}, },
{ {
"id": "xy-edge__Generate:BlueShirtsLaughb-Retrieval:OddSingersRefuseb", "id": "xy-edge__Retrieval:OddSingersRefuseb-Generate:BlueShirtsLaughb",
"markerEnd": "logo", "markerEnd": "logo",
"source": "Generate:BlueShirtsLaugh", "source": "Retrieval:OddSingersRefuse",
"sourceHandle": "b", "sourceHandle": "b",
"style": { "style": {
"stroke": "rgb(202 197 245)", "stroke": "rgb(202 197 245)",
"strokeWidth": 2 "strokeWidth": 2
}, },
"target": "Retrieval:OddSingersRefuse", "target": "Generate:BlueShirtsLaugh",
"targetHandle": "b", "targetHandle": "b",
"type": "buttonEdge", "type": "buttonEdge",
"zIndex": 1001 "zIndex": 1001