BuildShipBBuildShip
Powered by
Rich91R
BuildShip•2y ago•
6 replies
Rich91

How to remove "Null" added to all returned open streams content

Hi, I’m currently developing a simple app using FlutterFlow, and I’ve implemented a streaming OpenAI call using a template. I’ve added the necessary keys for OpenAI and an assistant with Fileseach enabled. However, I’m encountering an issue where a Null value is being appended to the end of the stream content, and occasionally, a “Source” value is also included in the stream returned by the Buildship API. The “Source” value shouldn’t be mixed with the data, but it appears to be. How can I fix this and remove the Null values, as well as prevent the “Source” from being included in the stream?
Solution
@Rich91 If you add a new OpenAI Streaming node from the node explorer into your project and copy over the inputs from your old node to your new node, you shouldn't experience the null issue any longer. Let us know how you get on.
Jump to solution
BuildShip banner
BuildShipJoin
Join founders, builders, devs using Low-code / No-code to create backend, APIs, scheduled Jobs, automation, AI workflows
7,971Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Remove quotes
кармаКкарма / ❓・buildship-help
2y ago
Content publishing
AntonioAAntonio / ❓・buildship-help
13mo ago
Request to remove CometAPI Community node
TensorNullTTensorNull / ❓・buildship-help
7mo ago
Ai books template Error: 400 Invalid value for 'content': expected a string, got null.
absoluteapoorvAabsoluteapoorv / ❓・buildship-help
3y ago