Рет қаралды 1,826
💸 Become a beta tester for my "From 0 to OpenAI API hero" course! Enjoy the already discounted rate of just 15€ (50% off the original price) in exchange for your valuable feedback. 👉 rok-benko-s-sc...
In today's tutorial, we are going to look at a feature that was released on OpenAI's first-ever DevDay, which is how to get an OpenAI API response in JSON format. I'll show you an example in both Python and Node.js.
⭐ Code ⭐
GitHub repository: github.com/rok...
Code for this tutorial: github.com/rok...
🙌 Support 🙌
If you would like to support me, subscribe to my KZfaq channel ( / @rokbenko ). Don't forget to click the bell 🔔 to get a notification when I release a new video.
👇 Contact 👇
GitHub: github.com/rok...
StackOverflow: stackoverflow....
LinkedIn: / rokbenko
🎞️ Timestamps 🎞️
00:00 - Intro
00:14 - Code for this tutorial
00:28 - OpenAI DevDay announcement
00:42 - SDK update
00:57 - Python and Node.js examples
02:10 - Check if the response is a valid JSON
02:23 - Run Python and Node.js examples
03:01 - Outro
#AI #OpenAI