AI Assistant Streaming with

Поделиться
HTML-код
  • Опубликовано: 4 июл 2024
  • In this community requested video we enhance a sample chat application in FlutterFlow to support Open AI Assistant Streaming directly from a #BuildShip workflow. Streaming is common in chat style applications which slowly returns content as its being delivered from external services. This is a familiar site in tools such as #chatgpt.
    #FlutterFlow does not directly support streaming but with a little #lowcode and a helpful walkthrough video you will be up and running in no time. As always I provide a starter project which can be used in FlutterFlow to follow along in this video. Once complete you will be familiar on how to implement this type of functionality in your own applications.
    Disclaimer: Streaming cannot only be tested using a local simulator or mobile device using Local Run. Please do not test this in the web browser as streaming is not supported. Also my BuildShip Foundation course is work in progress and will gradually be released in the NoCode Academy as each section is completed.
    _____
    Starter Project - app.flutterflow.io/project/ai...
    Final Project - app.flutterflow.io/project/ai...
    🔥 Looking for more content? Checkout the details below!
    _____
    Chapters
    00:00 Introduction
    00:44 Sample Application Demo
    02:15 Steps for success
    04:28 BuildShip Workflow creation
    13:14 FlutterFlow Starter Project Overview
    22:38 FlutterFlow customisation
    36:00 Application Test
    37:41 Summary + Outro
    _____
    🚀 The Digital Pro's NoCode Academy: www.thedigitalpro.co.uk
    (Support the channel and go ad-free! 😉)
    👍 Looking for premium content on RUclips? Join as a channel member: / @the_digitalpro
    🔥 If you love my content why not consider buying me a coffee, it's really appreciated: www.thedigitalpro.co.uk/coffee
    👍 Support the channel and grab yourself a free FlutterFlow account by clicking here: www.thedigitalpro.co.uk/flutt...
    🎉 Your love is much appreciated ... A like to this video is like a High Five!!! Thank you all.

Комментарии • 58

  • @the_digitalpro
    @the_digitalpro  Месяц назад +1

    🔥Looking for more content, further content, and a helpful community? Why not consider joining The Digital Pro's #Nocode Academy at www.thedigitalpro.co.uk

  • @MarlonVan
    @MarlonVan Месяц назад +1

    You are a Legend. Almost everything I have leaned on Flutterflow is from your videos, Thank you so much. I have contributed the the success of my first app, appreciate all your videos mate.

    • @the_digitalpro
      @the_digitalpro  Месяц назад

      Wow, thank you! I'm happy with the legend status! haha

  • @kellyumerah
    @kellyumerah Месяц назад

    You're amazing Steve 💯👌
    Keep helping the community ❤️

  • @janmolski
    @janmolski Месяц назад +1

    You are the GOAT! Thank you for that tutorial!

    • @the_digitalpro
      @the_digitalpro  Месяц назад +1

      Wow never been called a GOAT before but I'll take the Greatest of all time than a traditional 🐐. Thank you. 😊

  • @MarlonVan
    @MarlonVan Месяц назад +1

    I just signed up to the nocode academy, looking forward to learning more

    • @the_digitalpro
      @the_digitalpro  Месяц назад

      Thank you Marlon. Great to have you as a member.

  • @MyInspireSphere
    @MyInspireSphere Месяц назад +5

    What is the advantage of using Buildship Vs. The built in Flutterflow APIs?

    • @ericjam3z
      @ericjam3z Месяц назад +1

      I am not a professional but from what I understand: one feature is more security (from what I've been hearing)? And if you need to adjust anything in the backend, you do not need update your complete app. Let me know if you find any other benefits...

    • @the_digitalpro
      @the_digitalpro  Месяц назад

      Yes Eric is right. Additionally, by using BuildShip, you can take advantage of all the integration options to tailor the assistant response. The BuildShip team have done a number of example videos showcasing the power of adding additional nodes to their Assistant Node.

  • @clinbrokers
    @clinbrokers Месяц назад +1

    Thanks for the great video. Love it ❤

    • @the_digitalpro
      @the_digitalpro  Месяц назад +1

      You are most welcome thanks for the comment 😀

  • @David_tommy
    @David_tommy Месяц назад +1

    The video have been waiting for ages ❤️❤️❤️ thanks digital pro

    • @the_digitalpro
      @the_digitalpro  Месяц назад +1

      You are most welcome. Appreciate a like on the video if you don't mind ... ❤

    • @David_tommy
      @David_tommy Месяц назад +1

      @@the_digitalpro have Done that already sir

  • @melvinjongen1697
    @melvinjongen1697 Месяц назад +2

    Nice Steve more of this

    • @the_digitalpro
      @the_digitalpro  Месяц назад

      Thank you very much. I'll try my best 👌 👍

  • @christinaarwent436
    @christinaarwent436 23 дня назад

    Could you please make a video on just this again (FlutterFlow and BuildShip) but using end user data from within Supabase to influence the responses from ChatGPT? In other words, an OpenAI assistant that is hooked up to user data in Supabase, all assembled in BuildShip for deployment to FlutterFlow.

  • @oussamanocode
    @oussamanocode Месяц назад +1

    Great job

  • @joebradley_atk
    @joebradley_atk Месяц назад +1

    Absolutely love your videos, and I can’t thank you enough for taking the time to make and share all of this information. Would you potentially be able to create a tutorial on how to create shared lists between users using flutter flow and Supabase? Using your goals tracking app as an example, this feature would allow to users to view and update each other’s goals. Thank you!

    • @the_digitalpro
      @the_digitalpro  Месяц назад

      Thank you for this suggestion. Let me consider it. Thanks.

  • @daleoshea4204
    @daleoshea4204 12 дней назад

    If I just want to get one response each time a bottom sheet is shown (not a back and forth chat experience), but I want the response to have instructions, what’s the best approach? Basic chat completion query with a system message for each call or have an assistant with the instructions?

  • @romanlozovytskyi5411
    @romanlozovytskyi5411 Месяц назад +1

    Thank you for gteat work. Can you help? In my app (Ai-BuildShip-Stream-Assistant-Final) I can only get an answer to one question, after the second question I do not receive answers from the assistant.

    • @the_digitalpro
      @the_digitalpro  Месяц назад

      Hmm. Have you checked if BuildShip is returning a response in the BuildShip logs? Also have you tried testing with the final project included in the description?

  • @janmolski
    @janmolski Месяц назад +1

    I would love to see also a video on how to make a history of these conversations available. I tried myself but it's harder than I thought to save the history somewhere and let users come back to their messages. If there's such video in the NoCode Academy... let me know I would gladly join just for this one wideo.

    • @the_digitalpro
      @the_digitalpro  Месяц назад +2

      Funny enough the exact question was asked in the Academy yesterday about saving chat history. This is very achievable and I'll look to sort something out by way of an example. I'll let you if I can muster something up.

    • @janmolski
      @janmolski Месяц назад

      @@the_digitalpro Thanks! Have you seen the "FlutterFlow - OpenAI Assistant (Stream Response to Firestore)" node in Buildship? Can it be used to have the Assistant Stream with saving the conversation directly in firebase? Maybe it can be used for that?

    • @bedirhano.2269
      @bedirhano.2269 Месяц назад

      @@the_digitalpro I'm interested as well!

  • @janmolski
    @janmolski Месяц назад

    I would love to see voice a assistant using OpenAI or 11 Labs tts streaming node and Openai streaming node in Buildship with frontend in FF. Waiting for LLM to finish the response and then for the TTS to finish takes so much time. It would be awesome to have a voice assistant with little.

  • @luvfashionltd
    @luvfashionltd Месяц назад

    That is legend. Can you please advise how can I send the images to the Assistant API?

  • @MatthewFusco-bi5jh
    @MatthewFusco-bi5jh Месяц назад

    When adding my URL and trying to test it via local run on phone. Im getting an error saying "streamresponse https", im adding in my buildship url as needed.

  • @itsmeoguzhan
    @itsmeoguzhan Месяц назад

    I have connected to the Firestore database and I can see the message I sent, but how can I view the incoming messages as a stream and how can I add the message as an updated document? I would be grateful if you could help.

  • @efrenhaw
    @efrenhaw Месяц назад +2

    I've watched this video 3 times and trying to go step by step even last time at 0.75 speed to see if I miss something. I got no errors on my flutterflow app, but when I run it, it does not work. The console says is a "TypeError: Cannot read properties of null (reading 'toString')"
    I've tried using my API end point from buildship in the project Steve provides, and it works there, so no problem with my buildship. Did anybody else get this error?
    If somebody knows how to fix it, I would appreciate it! Thanks

    • @the_digitalpro
      @the_digitalpro  Месяц назад

      In FlutterFlow make sure your Component State Variable called threadId is a String and the Nullable checkbox is ticket. Make sure there is no value/or space in the threadId Initial Field Value. Please check this first. Oh also make sure threadId has a capital I

    • @efrenhaw
      @efrenhaw Месяц назад +1

      @@the_digitalpro I finally I was able to fix it. In the chat send button in the last argument for the custom action with name threadID in the default value I just placed an empty space, and it is finally working.

    • @the_digitalpro
      @the_digitalpro  Месяц назад

      Awesome good work.

  • @SoHo2808
    @SoHo2808 10 дней назад

    If I got buidhsip error: ClientException with SocketException: Failed host lookup: 'url' , is that a problem with my emulator? I am using visual studio code + android emulator. Or a problem with the code? - I just dont get responses when streaming

  • @janmolski
    @janmolski Месяц назад

    I replicated this project but I have a bug, the messages from the bot often start with a blank line. Like this:

    Hello, I’m not familiar with this topic…

  • @leonlim1625
    @leonlim1625 Месяц назад

    Thanks Steve for another super cool tutorial. I am keen to join The Digital Pro's but not sure if there are tutorials on Google Maps to track locations of users or properties and would appreciate your advice please.

    • @the_digitalpro
      @the_digitalpro  Месяц назад

      Hello. No worries. I do not currently have any Google Maps content in the Academy at this time. Sorry about that.

  • @fundamental_bob
    @fundamental_bob 26 дней назад

    thank you for your work! i have implemented this into my chat app,
    but i got an issue, where is the concurrency? if i ask a question from 2 devices at the same time, only 1 of them is receiving an answer. how can i resolve that?

    • @fundamental_bob
      @fundamental_bob 25 дней назад

      buildship does receive 2 requests at the same time and they are completed. but 1 of the devices never called onStreamCallback and after some delay went straight to onCompleteCallback. why?

  • @janmolski
    @janmolski Месяц назад

    The response from OpenAI sometimes is formatted so it has **Title** to bold text. It's not displayed correctly by FlutterFlow. Do you know how can I make it work? Is there a simple solution?

    • @the_digitalpro
      @the_digitalpro  Месяц назад

      Have you tried strictly telling it to only return text and not formatting? Just a guess.

  • @QqQq-me2jq
    @QqQq-me2jq Месяц назад +1

    Hello my friend, my question is outside this video, my friend, can you teach me how to use Username in flutterflow ؟

    • @the_digitalpro
      @the_digitalpro  Месяц назад

      Can you provide me with a little more context? Perhaps I can point you in the right direction to something that I may have already covered on my channel. Thanks.

    • @QqQq-me2jq
      @QqQq-me2jq Месяц назад

      @@the_digitalpro My friend, I mean, I am the one who makes a social networking application. I want to create a username for each person without the username being repeated.

  • @aliammad1902
    @aliammad1902 29 дней назад

    the starter project file is not wokring for me to clone, any ideas?

    • @the_digitalpro
      @the_digitalpro  29 дней назад

      Hello. I have corrected this. It was changed due to a most recent update to FlutterFlow but it is all working now. Sorry for any trouble.

  • @snakeater225
    @snakeater225 29 дней назад

    I tried to clone the project but it says restricted. I also joined your academy but could not find it there. :(

    • @the_digitalpro
      @the_digitalpro  29 дней назад +1

      Hello. I have corrected this. It was changed due to a most recent update to FlutterFlow but it is all working now. Sorry for any trouble.

  • @itsmeoguzhan
    @itsmeoguzhan Месяц назад +1

    Does it support Gpt 4o?

    • @the_digitalpro
      @the_digitalpro  Месяц назад

      Yes absolutely. You just need to change the model in the setup of assistant within the OpenAI dashboard for the specific assistant.

  • @pedrojt7688
    @pedrojt7688 Месяц назад

    @the_digitalpro thank you for the tutorial video but currently I am having the issue that it say invalid prompt any advice would be really appreciated

    • @the_digitalpro
      @the_digitalpro  Месяц назад +1

      Thank you. My only immediate guess is that the prompt is not being passed in correctly. I am guessing the error coming back is from OpenAI itself.