How to ACTUALLY use Chat-GPT with Python | Complete Tutorial

preview_player
Показать описание
Do you want to use the Chat-GPT API from your Python scripts? In this video you learn how to get a Chat-GPT API key, how to connect with the API from Python, how to get structured JSON response and how to use Function Calling!

⭐️ Copy the source code here ⭐

⭐️ Links ⭐

⭐️ Timestamps⭐
00:00 - Intro
00:24 - How to use Chat-GPT API in Python?
01:07 - How to get Chat-GPT API key?
01:49 - How to safely store your Chat-GPT API key in Python?
03:53 - How to use GPT-4 API in Python?
04:24 - How to get structured JSON response from Chat-GPT?
06:58 - How to store Chat-GPT output in Excel with Python?
09:49 - Setting up the population database with SQLite3 and DB Browser
11:58 - Chat-GPT Function Calling with Python

⭐️ Follow me ⭐

❗ Some of my videos contain affiliate links. When you click on these kind of links, I get a small percentage in case you make a purchase via the website. Be aware that this doesn't cost you anything - you never pay more than the standard retail price.

#chatgptapi #chatgpt #python
Рекомендации по теме
Комментарии
Автор

Friend... I can't thank you enough for this video. I've spent hours trying to mix and match the code from various videos that are out of date, or don't explain anything properly. The OpenAI site's API reference was basically non-sense to me. Even GTP 4o uses the "old" syntax. And when I told it to check the latest info on the openai git site, it still gave me the wrong code! Anyways, Thank you thank you thank you! I will be coming back regularly and hopefully you'll have more videos on using the latest from OpenAi APIs. Be well!

semperadmeliora
Автор

Great video! Easiest sub of my life...

wahwahwally
Автор

Great video thomas...i will try this weekend

zvxgupk
Автор

i dont understand and you didn't explain whats the first screen on your video we see? what programme is that?

shabanafzal
Автор

i need to use chatgpt api where i give input it provides an output for me but i am not able to get the correct code mostly i am getting error i used the code that you have shown in the video for the same purpose but still its giving me error what should i do

GameMaster-hqup