4 ms·
> is to have your app only communicate with a backend you own and call the openAI from there. I'm a bit baffled anyone puts anything secret on software people
by hospitalJail 4y ago
> is to have your app only communicate with a backend you own and call the openAI from there.
I'm a bit baffled anyone puts anything secret on software people are using. This service needs to be online anyway.
Anyway, seems like a lazy programmer thing.
- judge2020 4y agoRunning a server even to proxy requests takes a lot of work, since you now need your own auth system and have to manage scaling. If you take the plunge, a serverless architecture like Cloudflare Workers makes scaling automatic, but you still have to do some heavy lifting to either have an API key or auth system and abuse protections (otherwise they just spam your API instead of directly stealing your OpenAI api key).
- counttheforks 4y agoYou probably don't need to scale if all you're doing is auth and proxying requests. If you get to the point where you do need to scale, you can probably afford to figure it out.
- psychphysic 4y agoEr.... Just ask gpt4 to how to do it obviously.
- politician 4y agoOr, a lazy ChatGPT auto-generated code copy-paste thing.