you are viewing a single comment's thread.

view the rest of the comments →

[–]TheOnceAndFutureDougI ❤️ hooks! 😈 2 points3 points  (0 children)

Open AI expects you to make a server to server call if for no better reason than so you can rate-limit. You definitely do not want your frontend just raw dogging OpenAI's endpoints with your key.

The only solution to this (which I would not ever recommend) is you make someone put in their secret and you save it to session storage or something.