@inductiv/node-red-openai-api 1.3.0 → 1.4.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.
- package/README.md +3 -4
- package/node.html +12 -0
- package/package.json +7 -11
package/README.md
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
1
|
# @inductiv/node-red-openai-api
|
|
3
2
|
|
|
4
3
|
   
|
|
@@ -41,10 +40,10 @@ After installation, find your node in the **AI** palette category labeled "OpenA
|
|
|
41
40
|
- **Configurable and Flexible**: Adapt to a wide range of project requirements, making it easy to integrate AI into your IoT solutions.
|
|
42
41
|
- **Powerful Combinations**: Utilize Node-RED's diverse nodes to build complex, AI-driven IoT workflows with ease.
|
|
43
42
|
|
|
44
|
-
## Release Notes (v1.
|
|
43
|
+
## Release Notes (v1.4.0)
|
|
45
44
|
|
|
46
|
-
-
|
|
47
|
-
-
|
|
45
|
+
- Upgraded to OpenAI Node API Library package dependency v4.47.1
|
|
46
|
+
- Supporting OpenAI's new [gpt-4o](https://platform.openai.com/docs/models/gpt-4o) model capabilities
|
|
48
47
|
- Updated the node's documentation panel
|
|
49
48
|
- Code stability & formatting updates
|
|
50
49
|
|
package/node.html
CHANGED
|
@@ -1387,6 +1387,18 @@
|
|
|
1387
1387
|
<span class="property-type">boolean</span>
|
|
1388
1388
|
</dt>
|
|
1389
1389
|
<dd>If set, partial message deltas will be sent, like in ChatGPT.</dd>
|
|
1390
|
+
|
|
1391
|
+
<dt class="optional">
|
|
1392
|
+
stream_options
|
|
1393
|
+
<a
|
|
1394
|
+
href="https://platform.openai.com/docs/api-reference/chat/create#chat-create-stream_options"
|
|
1395
|
+
target="_blank"
|
|
1396
|
+
><i class="fa fa-external-link fa-sm" aria-hidden="true"></i
|
|
1397
|
+
></a>
|
|
1398
|
+
<span class="property-type">object</span>
|
|
1399
|
+
</dt>
|
|
1400
|
+
<dd>Options for streaming response. Only set this when you set ```stream: true```.</dd>
|
|
1401
|
+
|
|
1390
1402
|
<dt class="optional">
|
|
1391
1403
|
temperature
|
|
1392
1404
|
<a
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inductiv/node-red-openai-api",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "Enhance your Node-RED
|
|
3
|
+
"version": "1.4.0",
|
|
4
|
+
"description": "Enhance your Node-RED projects with advanced AI capabilities.",
|
|
5
5
|
"main": "node.js",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": ">=12.0.0"
|
|
@@ -16,30 +16,26 @@
|
|
|
16
16
|
"node-red",
|
|
17
17
|
"aiot",
|
|
18
18
|
"openai",
|
|
19
|
+
"gpt-4o",
|
|
19
20
|
"ai",
|
|
20
21
|
"openai api",
|
|
21
|
-
"assistants v2",
|
|
22
|
-
"batch requests",
|
|
23
|
-
"vector store",
|
|
24
22
|
"iot",
|
|
25
23
|
"node-red-contrib",
|
|
26
24
|
"automation",
|
|
27
25
|
"smart devices",
|
|
28
|
-
"node-red
|
|
26
|
+
"node-red node",
|
|
29
27
|
"artificial intelligence",
|
|
30
28
|
"api integration",
|
|
31
|
-
"llm",
|
|
32
|
-
"slm",
|
|
33
29
|
"ai agent",
|
|
34
30
|
"low-code"
|
|
35
31
|
],
|
|
36
32
|
"dependencies": {
|
|
37
|
-
"openai": "~4.
|
|
33
|
+
"openai": "~4.47.1"
|
|
38
34
|
},
|
|
39
35
|
"devDependencies": {
|
|
40
|
-
"eslint": "^
|
|
36
|
+
"eslint": "^9.2.0",
|
|
41
37
|
"eslint-plugin-jest": "^28.5.0",
|
|
42
|
-
"prettier": "^3.
|
|
38
|
+
"prettier": "^3.2.5"
|
|
43
39
|
},
|
|
44
40
|
"author": "Allan Bunch",
|
|
45
41
|
"license": "MIT",
|