Socket
Book a DemoInstallSign in
Socket

node-red-contrib-plugin-chatgpt

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-plugin-chatgpt

Ask ChatGPT plugin for Node-RED flow editor

latest
Source
npmnpm
Version
0.0.5
Version published
Maintainers
1
Created
Source

node-red-contrib-plugin-chatgpt

Ask ChatGPT plugin for Node-RED flow editor

This plugin supports generating Markdown document by ChatGPT for Node-RED flows in tab. You can use the generated document as a draft of what the flow is and how the flow is executed.

How to install

Run the following command in your Node-RED user directory - typically ~/.node-red

    npm install node-red-contrib-plugin-chatgpt

Set the OpenAI key to OPENAI_API_KEY as the environment variable. In macOS or Linux environment, you can use the export command to set the environment variable.

    export OPENAI_API_KEY=<API key>

The API key can be obtained from the OpenAI website. https://platform.openai.com/account/api-keys

How to use

  • Create a flow and click the Deploy button.

  • Double-click the tab to open the following user interface. And then, click the "Ask ChatGPT" button.

  • The ChatGPT will automatically generate the Markdown document from the deployed flow and paste it into the editor area.

  • After clicking the "Done" button, you can see the documentation in the "Information" tab.

This plugin dramatically reduce time-consuming task to write the document of the Node-RED flow.

Note

This plugin requires Node-RED v3.1 or later to work with Mermaid diagrams.

Keywords

node-red

FAQs

Package last updated on 19 Jul 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts