Hey Team, We are wanting to figure out how to steam through a cloud code function to the front end of our app. We would like to have our cloud code function connect to Open AI and stream from Open AI and then send it over to our front end. We think this may be like messaging but different? Thouhts?
A Cloud Code function is meant to be a short-lived runtime process. With the constraints Backendless applies to cloud code, the approach you described will not work. However, a better approach would be with FlowRunner, which already provides the capability to connect to OpenAI and push data to the UI. Please see the following section of the docs, which includes a video demonstrating the approach:
Regards,
Mark
How would we use this on an external front end. Does FlowRunner have a API streaming endpoint for connecting to an external front end.