Turn OpenAI's API Responses From Text to JSON Easily With Function Calling In Bubble

  Рет қаралды 3,730

Blank Slate Labs

Blank Slate Labs

Күн бұрын

In this video we will turn ‪@OpenAI‬'s Chat Completions responses into structured JSON arrays (lists) using their Function Calling feature. Everything will be built in ‪@BubbleIO‬ with no code and no plugins (other than the API Connector). 🙌
Included:
How to structure the OpenAI Chat Completions API call with a JSON Schema.
How to turn the initial response as a text string of the JSON format into usable JSON in Bubble using Bubble's Backend Workflows
How to use the structured data in your Bubble app.
Resources: blankslatelabs...

Пікірлер: 22
@roberthayes4312
@roberthayes4312 8 ай бұрын
This is the cleanest solution I've seen to converting strings into usable JSON. Appreciate the detailed walkthrough here!
@davewliu
@davewliu 10 ай бұрын
Your tutorials are the clearest and best in the bubble community. Feel like these videos should have 20x views!
@BlankSlateLabs
@BlankSlateLabs 5 ай бұрын
So appreciated!
@ajmound790
@ajmound790 9 ай бұрын
So damn helpful. Every last one of your videos goes through something I need right now and can't find documented anywhere else. Wanted to just say thank you!
@PocketRiches
@PocketRiches 9 ай бұрын
Make more bubble videos, please. Yours are the best. 😁
@xuyaoren
@xuyaoren Жыл бұрын
Exactly what I need, thanks for your effort.
@BlankSlateLabs
@BlankSlateLabs 11 ай бұрын
Glad it helped!
@malekaimischke2444
@malekaimischke2444 Жыл бұрын
thank you for this video!
@BlankSlateLabs
@BlankSlateLabs Жыл бұрын
No problem!
@watchparth
@watchparth 4 ай бұрын
Super cool!!
@tima3829
@tima3829 10 ай бұрын
Hi, which browser do you use? :) It looks cool
@BlankSlateLabs
@BlankSlateLabs 5 ай бұрын
Arc Browser!
@ninovizi
@ninovizi 3 ай бұрын
Hey, what tool are you using for those effects as your mouse moves? There's so many startups for that already - wondering which you picked!
@BlankSlateLabs
@BlankSlateLabs 3 ай бұрын
I am team screen.studio :)
@Fannyvieira1
@Fannyvieira1 9 ай бұрын
thank you so much
@procrastinateXrok
@procrastinateXrok 6 ай бұрын
Next video please continue and put them into list
@BlankSlateLabs
@BlankSlateLabs 5 ай бұрын
nice, good suggestion. lemme put something together. (also can update with json mode vs. function calling)
@SashaShumylo
@SashaShumylo 5 ай бұрын
How to save it in DB as a separate entities?
@BlankSlateLabs
@BlankSlateLabs 3 ай бұрын
Two steps: 1. Create a backend workflow that takes in the parameters. So in this example: - keyword (data type text) - sentiment (data type text or an option set) within that workflow, you would create a new thing, and set the values based on the parameters. 2. Schedule API workflow on a list. Select the list from the response and configure to pass the parameter values for each item in the list.
@SashaShumylo
@SashaShumylo 3 ай бұрын
@@BlankSlateLabs thank's, the biggest problem was how to select the proper data type.
@abbeyjackson4362
@abbeyjackson4362 7 ай бұрын
Thank you for this tutorial! With it I was able to get data returned in a consistent format (finally!) but I am really struggling to use the json that is returned and wonder if you might be able to help me figure it out. I have the following json which I was able to get returned to me from OpenAI using function calling. I need to display the raw json array of products for each category in a different display group. In otherwords I am trying to extract the json string under products for each category and displaying the extracted json in a display group. I both need to display the raw products json for each category separately as well as USE this raw products array in a future API call. I absolutely can not figure out how to do this. I have been trying for several days. I have tried a few different plugins to no avail. Does anyone know how to do this? { "lists": [ { "category": "ENUMValue1", "products": [ { "name": "name1", "rating": 95, "url": "url1" }, { "name": "name2", "rating": 95, "url": "url2" }, ] }, { "category": "ENUMValue2", "products": [ { "name": "name1", "rating": 95, "url": "url1" }, { "name": "name2", "rating": 95, "url": "url2" }, ] }, { "category": "ENUMValue3", "products": [ { "name": "name1", "rating": 95, "url": "url1" }, { "name": "name2", "rating": 95, "url": "url2" }, ] } ] }
@BlankSlateLabs
@BlankSlateLabs 5 ай бұрын
Hiiii so sorry for the delay. you probably already solved this, but if not, feel free to email me at hello [at] blankslate-labs.com and happy to chat through options.
龟兔赛跑:好可爱的小乌龟#short #angel #clown
01:00
Super Beauty team
Рет қаралды 68 МЛН
Хасанның өзі эфирге шықты! “Қылмыстық топқа қатысым жоқ” дейді. Талғарда не болды? Халық сене ме?
09:25
Демократиялы Қазақстан / Демократический Казахстан
Рет қаралды 346 М.
This dad wins Halloween! 🎃💀
01:00
Justin Flom
Рет қаралды 11 МЛН
REAL 3D brush can draw grass Life Hack #shorts #lifehacks
00:42
MrMaximus
Рет қаралды 11 МЛН
Function Call with OpenAI using Bubble.io
11:57
Zero-Code
Рет қаралды 1,5 М.
How To Add Text Generation To A Bubble App With OpenAI (Completions API)
29:45
Building With Bubble
Рет қаралды 1,8 М.
SUPERCHARGE your Bubble.io AI builds using GPT-4-Turbo + JSON mode
38:55
Multimodal AI API with No Code - using visual backend builder
15:40
OpenAI API Function Calling -  Hands-on Tutorial for AI Developers!
17:20
Pydantic is all you need: Jason Liu
17:55
AI Engineer
Рет қаралды 180 М.
Get structured Json Output from OpenAI GPT API Consistently!
14:56
龟兔赛跑:好可爱的小乌龟#short #angel #clown
01:00
Super Beauty team
Рет қаралды 68 МЛН