@inductiv/node-red-openai-api 1.4.0 → 1.6.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 +30 -6
- package/package.json +3 -8
package/README.md
CHANGED
|
@@ -40,12 +40,11 @@ After installation, find your node in the **AI** palette category labeled "OpenA
|
|
|
40
40
|
- **Configurable and Flexible**: Adapt to a wide range of project requirements, making it easy to integrate AI into your IoT solutions.
|
|
41
41
|
- **Powerful Combinations**: Utilize Node-RED's diverse nodes to build complex, AI-driven IoT workflows with ease.
|
|
42
42
|
|
|
43
|
-
## Release Notes (v1.
|
|
43
|
+
## Release Notes (v1.6.0)
|
|
44
44
|
|
|
45
|
-
- Upgraded to OpenAI Node API Library package dependency v4.
|
|
46
|
-
- Supporting OpenAI's new [
|
|
47
|
-
-
|
|
48
|
-
- Code stability & formatting updates
|
|
45
|
+
- Upgraded to OpenAI Node API Library package dependency [v4.72.0](https://www.npmjs.com/package/openai/v/4.72.0)
|
|
46
|
+
- Supporting OpenAI's new [Predicted Outputs](https://platform.openai.com/docs/guides/predicted-outputs) functionality.
|
|
47
|
+
- New expressive voices for [audio generation API](https://platform.openai.com/docs/guides/audio) chat completion requests.
|
|
49
48
|
|
|
50
49
|
## What's New in Version 1.x
|
|
51
50
|
|
|
@@ -64,7 +63,32 @@ Version 1.0 of the **node-red-openai-api** node brings significant enhancements
|
|
|
64
63
|
- Some functions and settings from previous versions may no longer be compatible with this update.
|
|
65
64
|
- List responses now exist at the top level of the `msg.payload` object; previously `msg.payload.data`.
|
|
66
65
|
|
|
67
|
-
I recommend reviewing
|
|
66
|
+
I recommend reviewing existing flows and testing them with this new version in a development environment before updating to ensure a smooth transition. This will help you take full advantage of the enhanced features while managing any necessary adjustments in your existing applications.
|
|
67
|
+
|
|
68
|
+
## OpenAI API Compatible Servers
|
|
69
|
+
|
|
70
|
+
Node-RED OpenAI API Works with your favorite OpenAI API compatible servers, including:
|
|
71
|
+
|
|
72
|
+
- [Baseten](https://www.baseten.co/)
|
|
73
|
+
- [Cloudflare Workers AI](https://developers.cloudflare.com/workers-ai/)
|
|
74
|
+
- [Groq](https://groq.com/)
|
|
75
|
+
- [Hugging Face Inference API](https://huggingface.co/docs/api-inference/tasks/chat-completion)
|
|
76
|
+
- [Jan](https://jan.ai/)
|
|
77
|
+
- [Lightning AI](https://lightning.ai/)
|
|
78
|
+
- [LiteLLM](https://www.litellm.ai/)
|
|
79
|
+
- [llama.cpp](https://github.com/ggerganov/llama.cpp?tab=readme-ov-file)
|
|
80
|
+
- [llamafile](https://github.com/Mozilla-Ocho/llamafile)
|
|
81
|
+
- [LlamaIndex](https://www.llamaindex.ai/)
|
|
82
|
+
- [LM Studio](https://lmstudio.ai/)
|
|
83
|
+
- [LMDeploy](https://github.com/InternLM/lmdeploy)
|
|
84
|
+
- [LocalAI](https://localai.io/)
|
|
85
|
+
- [Mistral AI](https://mistral.ai/)
|
|
86
|
+
- [Ollama](https://ollama.com/)
|
|
87
|
+
- [OpenRouter](https://openrouter.ai/)
|
|
88
|
+
- [Titan ML](https://www.titanml.co/)
|
|
89
|
+
- [Vllm](https://docs.vllm.ai/en/v0.6.0/index.html)
|
|
90
|
+
- [gpt4all](https://github.com/nomic-ai/gpt4all)
|
|
91
|
+
- and many more...
|
|
68
92
|
|
|
69
93
|
## Contribute
|
|
70
94
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inductiv/node-red-openai-api",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"description": "Enhance your Node-RED projects with advanced AI capabilities.",
|
|
5
5
|
"main": "node.js",
|
|
6
6
|
"engines": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"node-red",
|
|
17
17
|
"aiot",
|
|
18
18
|
"openai",
|
|
19
|
-
"gpt-4o",
|
|
19
|
+
"gpt-4o-audio-preview",
|
|
20
20
|
"ai",
|
|
21
21
|
"openai api",
|
|
22
22
|
"iot",
|
|
@@ -30,12 +30,7 @@
|
|
|
30
30
|
"low-code"
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"openai": "~4.
|
|
34
|
-
},
|
|
35
|
-
"devDependencies": {
|
|
36
|
-
"eslint": "^9.2.0",
|
|
37
|
-
"eslint-plugin-jest": "^28.5.0",
|
|
38
|
-
"prettier": "^3.2.5"
|
|
33
|
+
"openai": "~4.72.0"
|
|
39
34
|
},
|
|
40
35
|
"author": "Allan Bunch",
|
|
41
36
|
"license": "MIT",
|