What is the best way to do this?

I'm unsure if using workers for this case would work: I want to make openai api requests in the back end without showing the user my api key. Something like an api proxy. Of course, then I would need to authenticate to make sure regular people couldn't just use that to make requests. Could workers be a use case for this? Or another product. How would I do this>
1 Reply
Chaika
Chaika8mo ago
I think you got your question answered here right: https://discord.com/channels/595317990191398933/1138522314594582578/1235034321023275020 tldr being you can either use a worker or a worker and AI Gateway for caching and such out of the box
Want results from more Discord servers?
Add your server