-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathfiles.json
110 lines (110 loc) · 2.46 KB
/
files.json
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
[
{
"id": "c95856327794f489",
"type": "tab",
"label": "File Examples",
"disabled": false,
"info": "",
"env": []
},
{
"id": "2eb6bac23f83d38b",
"type": "group",
"z": "c95856327794f489",
"style": {
"stroke": "#999999",
"stroke-opacity": "1",
"fill": "none",
"fill-opacity": "1",
"label": true,
"label-position": "nw",
"color": "#a4a4a4"
},
"nodes": [
"54186a1f39edeeac",
"c9e22fbc2113f3a0",
"cff979baa8adcc5d",
"90a86dfe209b300e"
],
"x": 94,
"y": 139,
"w": 672,
"h": 142
},
{
"id": "54186a1f39edeeac",
"type": "inject",
"z": "c95856327794f489",
"g": "2eb6bac23f83d38b",
"name": "File Reference",
"props": [
{
"p": "payload.file",
"v": "/path/to/my/file.txt",
"vt": "str"
},
{
"p": "payload.purpose",
"v": "assistants",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"x": 220,
"y": 240,
"wires": [
[
"90a86dfe209b300e"
]
]
},
{
"id": "c9e22fbc2113f3a0",
"type": "debug",
"z": "c95856327794f489",
"g": "2eb6bac23f83d38b",
"name": "Response",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 660,
"y": 240,
"wires": []
},
{
"id": "cff979baa8adcc5d",
"type": "comment",
"z": "c95856327794f489",
"g": "2eb6bac23f83d38b",
"name": "Upload Single File",
"info": "",
"x": 210,
"y": 180,
"wires": []
},
{
"id": "90a86dfe209b300e",
"type": "OpenAI API",
"z": "c95856327794f489",
"g": "2eb6bac23f83d38b",
"name": "Uplad File",
"service": "",
"method": "createFile",
"x": 440,
"y": 240,
"wires": [
[
"c9e22fbc2113f3a0"
]
]
}
]