Master OpenAI JSON Response Format for Interactive Websites

preview_player
Показать описание
Learn how to use the new OpenAI JSON object response format to dynamically render websites based on the response. I'll show you how to build a quiz app that consistently display us three questions of which one is correct, which changes the colors of the page based on the user's.

Just want to know how to configure your API call to get the JSON response format? Jump to:
09:04 How to use JSON response format

🕒 Chapters:
00:00 Intro
00:15 Live Demo
01:33 Example JSON response from OpenAI
02:10 Getting started
03:19 Fork the quiz app
09:04 How to use JSON response format
13:20 How the Quiz app backend works
16:40 How the frontend gets the backend response
19:11 Outro

#OpenAI #assistants #openaiapi #nodejs
Рекомендации по теме
Комментарии
Автор

You can also specify a JSON structure for the response with functions. Have you looked into this? I would assume it's more reliable but haven't tested it out much yet.

Great video BTW :-)

sdygqeo
Автор

Thank you so much for introducing Gadget .. I am looking for something like this exactly

MaliRasko