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
🤝 Work with me: www.azkytech.com/book-a-call
u saved my life
Thanks! This is a much needed video.
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 :)
@@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
@@zubair_nocode Near bullet-proof responses. Worth a video imo, especially when Assistants API itself is a little tricky to get around.
Shukriya!
Thank you Zubair bhai.
Really helpful. Thanks!
Oh bro, thank u so much! You have saved my life 🥰🥰
@@DioggGS thank you so much for the kind words
Thanks for this! Are you aware of anyone coaching or stamping templates for 3rd party servers for this use case?
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
thanks! a lot, is that possible to have a quick tutorial to display the chunks in the last part about streaming? thank you
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?
@@DonnieBalliet yea WU are used with the polling method. But only when needed.
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?
Hmm. I suggest slowly checking using step by step debug mode to see what went wrong
Great video! I watched twice. how can I get in touch with yOU?
Been getting issues with formatting. Instead of getting bolded words, it returns responses in **.
What would be the best solution for this?
@@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
@@zubair_nocode Yeap, in bold?
You got any videos/tutorials at hand on bbcode?
Thanks!
@@zubair_nocode I thought I had sent this already ... question was if you had any quick tutorial videos around this issue at hand?
Great video! Is there a way to download this as a template?
@@brodyjohnston04 afraid not yet
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?
hard to tell without doing a test. depends on prompt & length of response..
how do we make this so its per user account?
@@decentralisedproperties8066 save the thread ID in the database and add a field to relate it to the user
Could you share the server script at the final of the video? Appreciate your content a lot, thnx in advance
pastebin.com/RqTSiTVe
Need help. Reach out to me please
Please post the server script 🥲
pastebin.com/RqTSiTVe
@@zubair_nocode thanks!