node-red-contrib-plugin-chatgpt 0.0.4

Ask ChatGPT plugin for Node-RED flow editor

npm install node-red-contrib-plugin-chatgpt

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-chagpt

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

  1. Create a flow and click the Deploy button.

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

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

  2. 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.

Node Info

Version: 0.0.4
Updated 1 year, 7 months ago
License: Apache-2.0
Rating: 1.0 1

Categories

Actions

Rate:

Downloads

0 in the last week

Keywords

  • node-red
  • chatgpt

Maintainers