# Node-red-contrib-custom-chatgpt v1.2.10

**URL:** <https://discourse.nodered.org/t/node-red-contrib-custom-chatgpt-v1-2-10/77621>\
**Category:** Share Your Nodes\
**Created:** [16 April 2023 08:13 UTC](https://discourse.nodered.org/t/node-red-contrib-custom-chatgpt-v1-2-10/77621 "2023-04-16T08:13:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![HaroldPetersInskipp](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/haroldpetersinskipp/32/42319_2.png) [@HaroldPetersInskipp](https://discourse.nodered.org/u/HaroldPetersInskipp)\
**Post date:** [16 April 2023 08:13 UTC](https://discourse.nodered.org/t/node-red-contrib-custom-chatgpt-v1-2-10/77621/1 "2023-04-16T08:13:16Z")

</div>

> **[node-red-contrib-custom-chatgpt](https://flows.nodered.org/node/node-red-contrib-custom-chatgpt)**
>
> A Node-RED node that interacts with OpenAI machine learning models to generate text and image outputs like 'ChatGPT' and 'DALL·E 2'.

Install with

```auto
npm install node-red-contrib-custom-chatgpt

```

or using the built in palette manager.

Recent updates (since last update post)

Added:

- Included additional example. [`generate-node-red-nodes.json`](https://github.com/HaroldPetersInskipp/node-red-contrib-chatgpt/blob/main/examples/generate-node-red-nodes.json) demonstrates how to generate Node-RED nodes and import them directly into the editor automatically (proof of concept for Windows). OpenAI models will write the code for you based on simple parameters.
- Included support for using a proxy to access the OpenAI API. Set the `BaseUrl` property value to the proxy/vpn service's url that you would like to use.
- Included support for using case insensitive topics input with the `msg.topic` property.
- Included the ability to set the behavior Topic in the node's edit dialog. Once set-up the node can be controlled with as little as a single required message property `msg.payload`. Behavior can still be set dynamically by selecting `read from msg.topic` and setting the `msg.topic` to the desired behavior.

Changed:

- Updated help information displayed in the info tab of the editor. (improved formatting and documentation)
- Fixed properly setting `msg.topic` to lowercase characters.
- Removed unnecessary whitespace in node edit dialog.
- Updated help information displayed in the info tab of the editor. (less verbose "details" section)
- Updated error message and removed unnecessary whitespace.
- Updated `README.md` formatting and usage information.
- Updated help information displayed in the info tab of the editor. (`msg.max_tokens` support is now documented)
- Updated the included example to demonstrate new features.

[Full changelog](https://github.com/HaroldPetersInskipp/node-red-contrib-chatgpt/blob/main/CHANGELOG.md)

 ![](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/e/2e72df8f041596e4a6e9867eed3981c7fbce2236.png)
