Realm Functions Stream

Hello.
I’m using the Realm Serverless Functions and was wondering if there was an option to return not an object but a stream of data.
My functions pulls information from the DB and then uses it to send an open-ai request. I want to return the stream of data from the open-ai request instead of waiting for it to finish (which can take up to ten seconds). Any ideas?
Many thanks to all those helping