In this video, we’ll learn how to use the ChatGPT API in Python.
⭐️ Get access to thousands of Python tutorials, data science guides and more on Medium for $5/month using this link: https://frank-andrade.medium.com/membership
🔗 Get your API key: https://platform.openai.com/account/api-keys
🔗 Documentation: https://platform.openai.com/docs/api-reference/chat/create
🔗 Code: https://github.com/ifrankandrade/chatgpt
🔥 My FREE ChatGPT Cheat Sheet: https://frankandrade.ck.page/08c94cf1c1
My Free Cheatsheets
==================
🤖 Python Automation: https://frankandrade.ck.page/44559e1ae7
🐍 Python for Data Science Cheat Sheet: https://frankandrade.ck.page/26b76e9130
📐 R for Data Science: https://frankandrade.ck.page/7b621bc82c
🛢️ SQL for Data Science:https://frankandrade.ck.page/f2fbbdc6db
🌐 Web Scraping: https://frankandrade.ck.page/ca38420833
📘 My eBook 「Code Less Earn More」: https://frankandrade.ck.page/3b520320ac
Social Media
===========
🎮 Discord: https://discord.gg/6xyQaj8bJK
🔗 LinkedIn: https://www.linkedin.com/in/thepycoach/
🐥 Twitter: https://twitter.com/ThePyCoach
✏️ Medium: https://frank-andrade.medium.com/
😺 GitHub: https://github.com/ifrankandrade
My Courses
==========
🔥 Join My Automation Course in Python: https://www.udemy.com/course/automate-your-life-with-python/?referralCode=7FA8B361D7A92B03A8C3
🔥 Join My Python for Data Science Bootcamp: https://www.udemy.com/course/python-for-data-science-bootcamp-2022-from-zero-to-hero/?referralCode=649B94757CB7A3A4756F
🔥 8-hour Web Scraping Course in Python: https://www.udemy.com/course/web-scraping-course-in-python-bs4-selenium-and-scrapy/?referralCode=291C4D7FF6F683531933
💰 Make money using your Programming & Data Science skills: https://codelessearnmore.teachable.com/p/make-extra-income-writing-as-a-programmer-or-data-scientist
Support My Work
==============
💵 PayPal: https://www.paypal.com/donate/?hosted_button_id=FV6C563QKSYGS
——————–
Content:
0:00 Intro
0:44 Get API key and install library
1:42 User Role
5:49 System Role
10:42 System Role
🔥 Get my FREE ChatGPT Cheat Sheet: https://frankandrade.ck.page/08c94cf1c1
Good stuff!!
Great video! Like others, do you think you can create a video and/or write a Medium article on how to train GPT on custom data (documentation)? Love to learn more on this topic. Thanks in advance!
Is this api paid or free ?
Does using assistant add to the amount of tokens used per interaction and response? Is it resending past messages to maintain context?
Thank you for the video by the way. Very informative.
thank you for teaching me. 謝謝你的幫助
Awesome.. Keep it up.
good morning, great video. getting an error on the api key, it claims it doesnt exist…
Can you compare the api and pro version in terms of value such as pricing, speed, etc? Thanks
I'm getting a bunch of errors from various py files in the openai package. Any tips on troubleshooting? It also says "openai.error.InvalidRequestError: That model does not exist"
How to make a chatbot that interacts with potential customers on my website? I am a solar consultant and want the chat to assess, qualify and occasionally close my customers.
is this whisper api?
I got an error=>module 'openai' has no attribute 'ChatCompletion'. Why?
Such a great video, super clear explanations as well. Could you do a video on how to train gpt on custom data sets soon?
Awesome tut. Thank you. Have you got any vids, or could you show us how to have chatGPT work from a provided context? For example, a repository of PDFs, like instruction manuals / procedures?
Very helpful. Especially assistant rule to save history. This is the most needed feature. Many thanks
Thanks for the insightful video, much appreciate. However, I have a question. Can we create a specific product ML using ChatGPT?
And thanks for this informative video!
I'd be interested in a similar video to write a program that uses ChatGPT API to generate code and then execute it. Maybe generate unit tests or other validation to cross check it? Catch errors and then ask ChatGPT to debug its generated code?
Great work Frank! Thank you! Did you share the notebook somewhere ?
Amzaing video! Thank you
Awesome video! The only video that explains what I was looking for! Thank you!
Wow! I'm very beginner to Python. I wonder if you could suggest if I could do this under my Telegram Bot? I tried some but I face errors. :/
This is great!
What can actually be done with the ChatGPT API in Python?
A great video
Great content as always