@inductiv/node-red-openai-api 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,77 @@
1
+ [
2
+ {
3
+ "id": "1dc20442cfd01082",
4
+ "type": "tab",
5
+ "label": "Runs Example",
6
+ "disabled": false,
7
+ "info": "",
8
+ "env": []
9
+ },
10
+ {
11
+ "id": "a6e237adf232aed1",
12
+ "type": "inject",
13
+ "z": "1dc20442cfd01082",
14
+ "name": "runs payload",
15
+ "props": [
16
+ {
17
+ "p": "payload.thread_id",
18
+ "v": "thread_z6eZuA1LGsRE6FvoSVcnq12q",
19
+ "vt": "str"
20
+ }
21
+ ],
22
+ "repeat": "",
23
+ "crontab": "",
24
+ "once": false,
25
+ "onceDelay": 0.1,
26
+ "topic": "",
27
+ "x": 270,
28
+ "y": 260,
29
+ "wires": [
30
+ [
31
+ "bf9fee6ecdfaf14d"
32
+ ]
33
+ ]
34
+ },
35
+ {
36
+ "id": "8e69d4f8d638f265",
37
+ "type": "debug",
38
+ "z": "1dc20442cfd01082",
39
+ "name": "response",
40
+ "active": true,
41
+ "tosidebar": true,
42
+ "console": false,
43
+ "tostatus": false,
44
+ "complete": "payload.data",
45
+ "targetType": "msg",
46
+ "statusVal": "",
47
+ "statusType": "auto",
48
+ "x": 620,
49
+ "y": 260,
50
+ "wires": []
51
+ },
52
+ {
53
+ "id": "bf9fee6ecdfaf14d",
54
+ "type": "openai-api",
55
+ "z": "1dc20442cfd01082",
56
+ "name": "list runs",
57
+ "service": "",
58
+ "method": "listRuns",
59
+ "x": 440,
60
+ "y": 260,
61
+ "wires": [
62
+ [
63
+ "8e69d4f8d638f265"
64
+ ]
65
+ ]
66
+ },
67
+ {
68
+ "id": "7d779ed24d92fbf7",
69
+ "type": "comment",
70
+ "z": "1dc20442cfd01082",
71
+ "name": "Returns a list of runs belonging to a thread.",
72
+ "info": "",
73
+ "x": 340,
74
+ "y": 200,
75
+ "wires": []
76
+ }
77
+ ]
@@ -0,0 +1,67 @@
1
+ [
2
+ {
3
+ "id": "ec716b03b671e83a",
4
+ "type": "tab",
5
+ "label": "Threads Example",
6
+ "disabled": false,
7
+ "info": "",
8
+ "env": []
9
+ },
10
+ {
11
+ "id": "f2673e84297dc231",
12
+ "type": "inject",
13
+ "z": "ec716b03b671e83a",
14
+ "name": "thread payload",
15
+ "props": [
16
+ {
17
+ "p": "payload.thread_id",
18
+ "v": "thread_z6eZuA1LGsRE6FvoSVcnq12q",
19
+ "vt": "str"
20
+ }
21
+ ],
22
+ "repeat": "",
23
+ "crontab": "",
24
+ "once": false,
25
+ "onceDelay": 0.1,
26
+ "topic": "",
27
+ "x": 320,
28
+ "y": 240,
29
+ "wires": [
30
+ [
31
+ "e0bcde3186fc61aa"
32
+ ]
33
+ ]
34
+ },
35
+ {
36
+ "id": "a23c4434e0afbcf2",
37
+ "type": "debug",
38
+ "z": "ec716b03b671e83a",
39
+ "name": "response",
40
+ "active": true,
41
+ "tosidebar": true,
42
+ "console": false,
43
+ "tostatus": false,
44
+ "complete": "payload",
45
+ "targetType": "msg",
46
+ "statusVal": "",
47
+ "statusType": "auto",
48
+ "x": 740,
49
+ "y": 240,
50
+ "wires": []
51
+ },
52
+ {
53
+ "id": "e0bcde3186fc61aa",
54
+ "type": "openai-api",
55
+ "z": "ec716b03b671e83a",
56
+ "name": "retrieve thread",
57
+ "service": "",
58
+ "method": "getThread",
59
+ "x": 540,
60
+ "y": 240,
61
+ "wires": [
62
+ [
63
+ "a23c4434e0afbcf2"
64
+ ]
65
+ ]
66
+ }
67
+ ]
package/icons/icon.png ADDED
Binary file