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

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ต.ค. 2024
  • 🤝Work with me: www.azkytech.c...
    Discover how to integrate the ‪@OpenAI‬ Assistants API with ‪@BubbleIO‬ in this comprehensive tutorial.
    There's everything you need to build and test AI-powered web apps.
    You'll learn to create threads and handle API calls.
    There's also a bonus tip for avoiding leaking prompts!!
    ⏰ Chapters:
    00:09 Introduction and Overview
    01:06 Setting Up (API Connector Plugin, Open AI playground)
    03:02 Creating the Assistant in Playground
    04:51 Understanding Threads and Messages
    12:04 Running and Managing API Calls in Bubble
    33:54 Securing Your API and Preventing Prompt Leaks
    41:06 Front End and Backend on Bubble
    01:14:21 Streaming for Long Responses and final thoughts
    Don't forget to subscribe to my channel / @zubair_nocode
    Follow me on
    Twitter / zubair_nocode
    LinkedIn / zubairlk
    Build apps without code using Bubble. Sign up today
    bubble.pxf.io/...
    #nocode #ai

ความคิดเห็น • 35

  • @zubair_nocode
    @zubair_nocode  15 วันที่ผ่านมา

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

  • @fathertorque4504
    @fathertorque4504 20 วันที่ผ่านมา +1

    u saved my life

  • @brandonmccrae5472
    @brandonmccrae5472 3 หลายเดือนก่อน +2

    Thanks! This is a much needed video.

  • @aisaluk
    @aisaluk 7 วันที่ผ่านมา

    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  7 วันที่ผ่านมา +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 7 วันที่ผ่านมา

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

  • @junaidnazir7869
    @junaidnazir7869 หลายเดือนก่อน

    Thank you Zubair bhai.

  • @ikbenivo
    @ikbenivo หลายเดือนก่อน

    Really helpful. Thanks!

  • @DioggGS
    @DioggGS 3 หลายเดือนก่อน

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

    • @zubair_nocode
      @zubair_nocode  3 หลายเดือนก่อน

      @@DioggGS thank you so much for the kind words

  • @businesshelp5848
    @businesshelp5848 3 หลายเดือนก่อน +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  3 หลายเดือนก่อน

      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

  • @daviddang
    @daviddang 3 หลายเดือนก่อน

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

  • @DonnieBalliet
    @DonnieBalliet 2 หลายเดือนก่อน

    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  2 หลายเดือนก่อน

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

  • @MortenJaszczur
    @MortenJaszczur 23 วันที่ผ่านมา

    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  11 วันที่ผ่านมา

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

  • @chileanexperiment
    @chileanexperiment 2 หลายเดือนก่อน

    Great video! I watched twice. how can I get in touch with yOU?

  • @aisaluk
    @aisaluk หลายเดือนก่อน

    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  หลายเดือนก่อน

      @@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 หลายเดือนก่อน

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

    • @aisaluk
      @aisaluk หลายเดือนก่อน

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

  • @brodyjohnston04
    @brodyjohnston04 3 หลายเดือนก่อน

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

    • @zubair_nocode
      @zubair_nocode  3 หลายเดือนก่อน

      @@brodyjohnston04 afraid not yet

  • @augmetaai
    @augmetaai หลายเดือนก่อน

    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  11 วันที่ผ่านมา

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

  • @decentralisedproperties8066
    @decentralisedproperties8066 29 วันที่ผ่านมา

    how do we make this so its per user account?

    • @zubair_nocode
      @zubair_nocode  24 วันที่ผ่านมา +1

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

  • @IngresoMinimoDigital
    @IngresoMinimoDigital 3 หลายเดือนก่อน

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

    • @zubair_nocode
      @zubair_nocode  3 หลายเดือนก่อน +1

      pastebin.com/RqTSiTVe

  • @karllittle4184
    @karllittle4184 3 หลายเดือนก่อน

    Need help. Reach out to me please

  • @anthonychapov
    @anthonychapov 3 หลายเดือนก่อน

    Please post the server script 🥲

    • @zubair_nocode
      @zubair_nocode  3 หลายเดือนก่อน

      pastebin.com/RqTSiTVe

    • @anthonychapov
      @anthonychapov 3 หลายเดือนก่อน

      @@zubair_nocode thanks!