OpenAI ChatGPT API in Python | 2023

Опубликовано: 03 Март 2026
на канале: Data Science Basics
586
13

The ChatGPT API is now available for developers to start using. In this video, I use the new API to create a simple ChatBot using few lines of python code. Feel free to use the code from GitHub and practice it yourself.

Time Stamps:
00:00 Intro
01:50 Create account in OPENAI and get the api key
03:14 Store the OPENAI_API_KEY securely and read it.
04:48 Install openai python package
05:40 Load the model and Create a replica of ChatGPT
09:34 Conclusion

GitHub link for code: https://github.com/sudarshan-koirala/...

ChatGPT API announcement: https://openai.com/blog/introducing-c...

Create account in OPENAI website: https://platform.openai.com/

*Youtube: https://www.youtube.com/@datascienceb...
*LinkedIn:   / sudarshan-koirala  
*Twitter:   / mesudarshan  

#openai #chatgpt #api #python