Open AI Assistants API using Bubble | Complete Step by Step Tutorial | Build your own ChatGPT app

Поделиться
HTML-код
  • Опубликовано: 10 янв 2025

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

  • @zubair_nocode
    @zubair_nocode  3 месяца назад

    🤝 Work with me: www.azkytech.com/book-a-call

  • @IanMatthews-s7z
    @IanMatthews-s7z 2 месяца назад +2

    Absolutely fantastic run through of how to integrate with OpenAI. Your video has saved me many hours of trial and error - and it's great to see that you also address security issues within the approach. One slight enhancement I did was to use Air Alert to alert the current status to the user after each OpenAI run poll to see what the status was. Although you don't get partial responses back, at least the user can see that it's doing something in the background. I've also used gpt-4o-mini as the model rather than full-on gpt-4 to reduce costs of the chatbot

    • @zubair_nocode
      @zubair_nocode  2 месяца назад

      @@IanMatthews-s7z thank you so much for the kind words.
      And yes I love using air alert in various places as well for better UX and feedback

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

    Great video! thanks for sharing your knowledge!

  • @brandonmccrae5472
    @brandonmccrae5472 6 месяцев назад +2

    Thanks! This is a much needed video.

  • @fathertorque4504
    @fathertorque4504 3 месяца назад +3

    u saved my life

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

    How would you set up the in-progress - completed loop in a way that won’t break my WU?
    Thanks

  • @TechlarDigital
    @TechlarDigital 27 дней назад +1

    Im trying to implement a feature where after the user uploads a set of data, they are then able to ask the AI insights about it. However i keep getting an error (no response from the AI) when the user asks a question. My JSON formatting is correct and tried everything, but do u think it has something to do with privacy issues/ admin roles? (when uploading data manually, everything works fine).
    Pls help its for a project

    • @zubair_nocode
      @zubair_nocode  26 дней назад +1

      @@TechlarDigital how do you upload the file to openai?

    • @TechlarDigital
      @TechlarDigital 25 дней назад +1

      ​@@zubair_nocode i used the file uploader to let the user upload a csv file, after that i use a parser to convert it into a JSON format, saved it into my database and then in the API call, i send the saved data from my database as part of a prompt and another prompt for the user's question regarding the uploaded data

    • @TechlarDigital
      @TechlarDigital 24 дня назад +1

      @@zubair_nocode i used the file uploader to let the user upload a csv file, after that i use a parser to convert it into a JSON format, saved it into my database and then in the API call, i send the saved data from my database as part of a prompt and another prompt for the user's question regarding the uploaded data

    • @TechlarDigital
      @TechlarDigital 24 дня назад +1

      @@zubair_nocode i used the file uploader to let the user upload a csv file, after that i use a parser to convert it into a JSON format, saved it into my database and then in the API call, i send the saved data from my database as part of a prompt and another prompt for the user's question regarding the uploaded data

    • @TechlarDigital
      @TechlarDigital 24 дня назад

      @@zubair_nocode i used the file uploader to let the user upload a csv file, after that i use a parser to convert it into a JSON format, saved it into my database and then in the API call, i send the saved data from my database as part of a prompt and another prompt for the user's question regarding the uploaded data

  • @ikbenivo
    @ikbenivo 4 месяца назад

    Really helpful. Thanks!

  • @junaidnazir7869
    @junaidnazir7869 4 месяца назад

    Thank you Zubair bhai.

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

    Is there a reason you chose a front-end workflow vs a backend workflow?

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

      @@LafeSpace for the sake of the tutorial.
      For a production app , backend workflows likely better.
      But those are only on the paid plans

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

      @@zubair_nocode I would love to see that process. All the tuts I've seen only show front-end workflows.

  • @daviddang
    @daviddang 5 месяцев назад

    thanks! a lot, is that possible to have a quick tutorial to display the chunks in the last part about streaming? thank you

  • @aisaluk
    @aisaluk 2 месяца назад

    Would be amazing if you could make a video on 'function calling' with Assistants API. Good example could be building a function on retrieving accurate information from Pinecone while maintaning chat history :)

    • @zubair_nocode
      @zubair_nocode  2 месяца назад +1

      @@aisaluk that's quite an interesting use case.
      General function calling has come up before but haven't had the time to do it yet

    • @aisaluk
      @aisaluk 2 месяца назад

      ​@@zubair_nocode Near bullet-proof responses. Worth a video imo, especially when Assistants API itself is a little tricky to get around.
      Shukriya!

  • @DioggGS
    @DioggGS 5 месяцев назад

    Oh bro, thank u so much! You have saved my life 🥰🥰

    • @zubair_nocode
      @zubair_nocode  5 месяцев назад

      @@DioggGS thank you so much for the kind words

  • @businesshelp5848
    @businesshelp5848 6 месяцев назад +1

    Thanks for this! Are you aware of anyone coaching or stamping templates for 3rd party servers for this use case?

    • @zubair_nocode
      @zubair_nocode  5 месяцев назад

      not sure I understand 'stamping templates'. but there are plugins that have a small monthly fee and they maintain a 3rd party server for streaming

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

    Man I dont understand how to use Tools along bubble using Assistants. How to do that? Could you record a video?

  • @MortenJaszczur
    @MortenJaszczur 3 месяца назад

    I've tried following these instructions but find myself struggling with loop function where we use the "do ever x seconds"-only when state is in progress. To me it seems like this runs whenever and not just for the condition.
    Any ideas?

    • @zubair_nocode
      @zubair_nocode  2 месяца назад

      Hmm. I suggest slowly checking using step by step debug mode to see what went wrong

  • @DonnieBalliet
    @DonnieBalliet 5 месяцев назад

    Thanks for throwing these together. They are informative. However, I went down the polling method, and even though it only runs when the assistants call status is in progress, it still pings every second. I have to imagine that’s not ideal and that you’re using at least a workload unit every second With that method, right?

    • @zubair_nocode
      @zubair_nocode  5 месяцев назад

      @@DonnieBalliet yea WU are used with the polling method. But only when needed.

  • @aisaluk
    @aisaluk 3 месяца назад

    Been getting issues with formatting. Instead of getting bolded words, it returns responses in **.
    What would be the best solution for this?

    • @zubair_nocode
      @zubair_nocode  3 месяца назад

      @@aisaluk are you asking the AI to return some words in bold?
      Add in the prompt to return in bbcode. That is the default markup language that bubble uses in text element. Then it should show bold in the front end

    • @aisaluk
      @aisaluk 3 месяца назад

      @@zubair_nocode Yeap, in bold?
      You got any videos/tutorials at hand on bbcode?
      Thanks!

    • @aisaluk
      @aisaluk 3 месяца назад

      @@zubair_nocode I thought I had sent this already ... question was if you had any quick tutorial videos around this issue at hand?

  • @augmetaai
    @augmetaai 4 месяца назад

    How much does this cost in terms of Workload Units? Let's say someone has a 100 back and forth messages with an assistant on a given day, how much would this be in workload units?

    • @zubair_nocode
      @zubair_nocode  2 месяца назад

      hard to tell without doing a test. depends on prompt & length of response..

  • @IngresoMinimoDigital
    @IngresoMinimoDigital 6 месяцев назад

    Could you share the server script at the final of the video? Appreciate your content a lot, thnx in advance

  • @decentralisedproperties8066
    @decentralisedproperties8066 3 месяца назад

    how do we make this so its per user account?

    • @zubair_nocode
      @zubair_nocode  3 месяца назад +1

      @@decentralisedproperties8066 save the thread ID in the database and add a field to relate it to the user

  • @brodyjohnston04
    @brodyjohnston04 5 месяцев назад

    Great video! Is there a way to download this as a template?

    • @zubair_nocode
      @zubair_nocode  5 месяцев назад

      @@brodyjohnston04 afraid not yet

  • @karllittle4184
    @karllittle4184 5 месяцев назад

    Need help. Reach out to me please

  • @anthonychapov
    @anthonychapov 6 месяцев назад

    Please post the server script 🥲