Python + ChatGPT? START HERE!! | Complete Tutorial

Опубликовано: 14 Октябрь 2024
на канале: Thomas Janssen | Tom's Tech Academy
4,071
62

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 ⭐
https://tomstechacademy.com/code-exam...

⭐️ Links ⭐
🔗 Get Chat-GPT API Key: https://platform.openai.com/api-keys
🔗 Download DB Browser for SQLite: https://sqlitebrowser.org/
🔗 Download the country data: https://data.worldbank.org/indicator/...

⭐️ 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 ⭐
💼 LinkedIn:   / thomas--janssen  
✅ Instagram:   / tomstechacademy  

❗ 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