Artus
BBuildShip
•Created by Artus on 6/15/2024 in #❓・buildship-help
Problem Streaming OpenAI Assistant
Hello to Everyone in the community !
I am trying to get "letter by letter" streaming but I am not abble to make it work -- streaming answers combining Buildship & Flutterflow as per @thedigitalpro tutorials 😓.
Here below are details : thanks in advance for you help ! After writing directly to the support team, I understand that my buildship workflow is correctly functional (this one as per : https://buildship.app/remix/f69bbd6b-eac8-4fd0-b864-498b35f5f23d) 👉I implemented the Assistant Streaming Model by Buildship shown here: https://www.youtube.com/watch?v=B0g0FWqWSLg. And it does work BUT this provides a "word by word" streaming. It is not a "letter by letter" streaming like the one you can see on ChatGPT (even by making changes to the "writeInterval" I could not achieve such UX) ==> Maybe I am missing something here ? 👉As mentionned above, I also implemented solutions from @thedigitalpro. Those allows for "letter by letter" streaming. BUT unfortunately I was not able to make streaming work - tried both solutions here https://www.youtube.com/watch?v=HVWWEaWRgo8 and here https://www.youtube.com/watch?v=BoaxDTUwWxw ==> I checked multiple time my Flutterflow workflow ad could not find a bug there (I checked the custom action code that connects to Buildship and processes streaming, I checked Supabase and chats do come in, I cheked the arguments and action workflows into widgets and all complies with tutorials. ==> The only thing I noticed is that "threadId" does not stick in Flutterflow (shows NULL). Maybe that blocks streaming ? (Although first chat answer does not stream either and it does not require threadId) abilities. ➡️Maybe there is something I am missing and I should deep dive into to solve my issue ?⬅️ Thanks a lot again for your support ! Artus
Here below are details : thanks in advance for you help ! After writing directly to the support team, I understand that my buildship workflow is correctly functional (this one as per : https://buildship.app/remix/f69bbd6b-eac8-4fd0-b864-498b35f5f23d) 👉I implemented the Assistant Streaming Model by Buildship shown here: https://www.youtube.com/watch?v=B0g0FWqWSLg. And it does work BUT this provides a "word by word" streaming. It is not a "letter by letter" streaming like the one you can see on ChatGPT (even by making changes to the "writeInterval" I could not achieve such UX) ==> Maybe I am missing something here ? 👉As mentionned above, I also implemented solutions from @thedigitalpro. Those allows for "letter by letter" streaming. BUT unfortunately I was not able to make streaming work - tried both solutions here https://www.youtube.com/watch?v=HVWWEaWRgo8 and here https://www.youtube.com/watch?v=BoaxDTUwWxw ==> I checked multiple time my Flutterflow workflow ad could not find a bug there (I checked the custom action code that connects to Buildship and processes streaming, I checked Supabase and chats do come in, I cheked the arguments and action workflows into widgets and all complies with tutorials. ==> The only thing I noticed is that "threadId" does not stick in Flutterflow (shows NULL). Maybe that blocks streaming ? (Although first chat answer does not stream either and it does not require threadId) abilities. ➡️Maybe there is something I am missing and I should deep dive into to solve my issue ?⬅️ Thanks a lot again for your support ! Artus
4 replies