Forum Discussion
Adding Chat GPT functionality to Storyline
This easily exposes your API key which is against the OpenAI TOS and can be
easily hacked by anybody using your course. This is NOT the proper way to
use ChatGPT inside of a course.
You should recall this message.
I allready stated that its not safe. And people should use it serverbased or on a cloudservice. Nevertheless this is the principle to get it working.
- AdamScormit7 months agoCommunity Member
I read that you said it was unsafe, but why give the unsafe version when you
know there are lots of IDs out there that will take this idea and run it in
a production environment? It's a fun new shiny object to chase. I assume
lots of people.Instead, explain what an endpoint is and how to use Vercel to be an endpoint
that is the middleware to be used between the OpenAI and the application.
Explain what CORS means and how the endpoint stores the private key so it's
not exposed.I feel like by exposing this code on the forum, it's like showing a kid
where the keys are and how to drive a car, but then reminding them that they
can't drive until they are old enough as you leave for work.In my modest and humble opinion, Articulate, as a leader and innovator,
should not show how to do something half-baked like this. Leave that to the
hacks on YouTube that thrive on clickbait.- MathNotermans-97 months agoCommunity Member
Explaining things like that i gave up on on this forum. And i completely agree with the statement about Articulate. It is their responsibility to ensure the runtime version is safe. Their own code is heavily obsfuscated but a users code is easily copyable.