node-red-contrib-chatgpt
v0.1.0
Published
Node-RED node for chatgpt
Downloads
145
Maintainers
Readme
node-red-contrib-chatgpt
Node-RED node to access the ChatGPT API
Install
Run the following command in your Node-RED user directory - typically ~/.node-red
npm install node-red-contrib-chatgpt
Usage
- Get the API key from the OpenAI API portal (https://platform.openai.com/account/api-keys)
- Add the API key to the ChatGPT node property
- Pass the text via
msg.payload
to the ChatGPT node
And then the ChatGPT node will output the answer.