Forum Discussion
Adding Chat GPT functionality to Storyline
Having your API code exposed is really not the best practice. It's almost like sending your credit card and expiration date through email. You can get the code to work, but as soon as it goes semi-live, you're transmitting the key on an open network.
What will happen is that your key will be revoked by OpenAI if the key becomes exposed, and it will eventually become exposed.
You really need an endpoint to work with and have the code on your endpoint work directly with OpenAI and your Storyline project.
Thanks for this - I am aware it's not best practice - and I saw in the GPT notes that they will invalidate the key if they think it has been compromised etc., but this is not being published - it's a proof of concept - then I will look at a more secure method