#iOS Mobile Application + Server side ChatGPT API Requests + Streaming

2 messages · Page 1 of 1 (latest)

grim oasis
#

I'm currently exploring ways to securely implement ChatGPT API streaming, but I'm finding it quite challenging. It seems that Firebase Cloud Functions, which could be used for remote requests, don't support streaming. On the other hand, running the operation locally might expose the API key in the source code.

Could anyone please kindly offer suggestions or share their experiences on how to effectively implement ChatGPT API streaming? Your insights would be greatly appreciated!

steel moat
#

Make a custom API probably using python, and then use it in your application, this way the api key will not be exposed and you can make changes on the go