FlowFuse / node-red-function-gpt

A Node-RED node that adds "Ask ChatGPT" option to a duplicate of the built-in function node.
Apache License 2.0
29 stars 2 forks source link

Client-side ChatGPT Config #13

Closed joepavitt closed 1 year ago

joepavitt commented 1 year ago

Description

Currently, when you add a new "function-gpt" node you need to select the ChatGTP Config node and click "Deploy" before you can ask it a question.

Our ChatGPT interaction operates server-side (to protect your API key), so Node-RED needs that in the runtime first, before a call to ChatGPT can be made.

Ideally, we'd be smarter here and pass client-side creds along with the call such that we can use any changes made by the user at the time of the call.

Have you provided an initial effort estimate for this issue?

I have provided an initial effort estimate