-
Notifications
You must be signed in to change notification settings - Fork 92
Expand file tree
/
Copy pathconfig.json
More file actions
87 lines (87 loc) · 2.01 KB
/
config.json
File metadata and controls
87 lines (87 loc) · 2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"nodes": [
{
"id": "triggerNode_1",
"type": "triggerNode",
"position": {
"x": 0,
"y": 0
},
"data": {
"nodeId": "graphqlNode",
"trigger": true,
"values": {
"nodeName": "API Request",
"responeType": "realtime",
"advance_schema": "{\n \"topic\": \"string\"\n}"
}
}
},
{
"id": "LLMNode_398",
"type": "dynamicNode",
"position": {
"x": 0,
"y": 0
},
"data": {
"nodeId": "LLMNode",
"values": {
"nodeName": "Generate Text",
"tools": [],
"prompts": [
{
"id": "187c2f4b-c23d-4545-abef-73dc897d6b7b",
"role": "system",
"content": "Give me insight on topic: {{triggerNode_1.output.topic}}"
}
],
"memories": "[]",
"messages": "[]",
"generativeModelName": {}
}
}
},
{
"id": "graphqlResponseNode_231",
"type": "dynamicNode",
"position": {
"x": 0,
"y": 0
},
"data": {
"nodeId": "graphqlResponseNode",
"values": {
"nodeName": "API Response",
"outputMapping": "{\n \"output\": \"{{LLMNode_398.output.generatedResponse}}\"\n}"
}
}
}
],
"edges": [
{
"id": "triggerNode_1-LLMNode_398",
"source": "triggerNode_1",
"target": "LLMNode_398",
"sourceHandle": "bottom",
"targetHandle": "top",
"type": "defaultEdge"
},
{
"id": "LLMNode_398-graphqlResponseNode_231",
"source": "LLMNode_398",
"target": "graphqlResponseNode_231",
"sourceHandle": "bottom",
"targetHandle": "top",
"type": "defaultEdge"
},
{
"id": "response-graphqlResponseNode_231",
"source": "triggerNode_1",
"target": "graphqlResponseNode_231",
"sourceHandle": "to-response",
"targetHandle": "from-trigger",
"type": "responseEdge"
}
]
}