# Write Function Node Code with ChatGPT

**URL:** <https://discourse.nodered.org/t/write-function-node-code-with-chatgpt/78147>\
**Category:** Share Your Nodes\
**Created:** [3 May 2023 11:36 UTC](https://discourse.nodered.org/t/write-function-node-code-with-chatgpt/78147 "2023-05-03T11:36:24Z")\
**Posts on this page:** 1\
**Showing post:** 19

<div class="post-metadata">

**Author:** ![MaxBaines](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/maxbaines/32/81476_2.png) [@MaxBaines](https://discourse.nodered.org/u/MaxBaines)\
**Post date:** [26 July 2023 13:55 UTC](https://discourse.nodered.org/t/write-function-node-code-with-chatgpt/78147/19 "2023-07-26T13:55:38Z")

</div>

If it helps define this, I recently commented about OpenAi and privacy in another thread. There is a difference in privacy policy for API's and ChatGPT.

- When using the OpenAI API's your data is not retained or used to train models.
- When using ChatGPT your data is retained and used to train models.

> [@\[ANNOUNCE\] OpenAi Node-RED Plugin](https://discourse.nodered.org/t/announce-openai-node-red-plugin/80007/13):
>
> Another item not mentioned yet by me, which may be of some concern or interest is privacy of your data. There is often some confusion in most communities and indeed professions at the minute about how OpenAi treat you data, I needed to look into this as part of my job, hopefully the following helps - The plugin, sends and receives responses from the OpenAI API. When using the OpenAI API's your data is not retained or used to train models, for details see: Note, this is a different policy to …

Compliance and DPA are inline with any other cloud Provider or SaaS.

---

_[View the full topic](https://discourse.nodered.org/t/write-function-node-code-with-chatgpt/78147)._
