Course Information
Course Overview
Learn to Connect Your Django Python Apps To OpenAI The Fast And Easy Way!
In this course I'll teach you how to make web apps for Django and Python, and how to connect those apps to the OpenAI (makers of ChatGPT) Text Completion Artificial Intelligence API and have it fix code that you submit as well as write code that you ask it to write.
We'll use Python, Django, and the Bootstrap Framework to build a cool Coding website that connects to OpenAI.
You'll be able to:
Submit your Code and have the A.I. suggest fixes
Ask The A.I. To write code for you.
Choose from over a dozen programming languages
Save your code responses to the Database
View Past Code Responses from the Database
We'll use a database to save all of the code answers that you've received from the OpenAI API, and we'll query that database and output the answers on their own web page.
Finally, I'll discuss how to connect to OpenAI with an API Key, query the engine, and parse the responses in the correct way and output the answers to the homepage of your Django app.
If you've seen ChatGPT recently and want to learn how to use these tools programmatically, then this is the course for you!
We'll use the Bootstrap CSS Framework to make our Django web app look a little more modern and professional. This will allow us to make our site look great, very quickly and easily-- without knowing much about design.
Course Content
- 7 section(s)
- 37 lecture(s)
- Section 1 Setup and Installation
- Section 2 Version Control With Git and Github
- Section 3 Build Out The Website
- Section 4 OpenAI API
- Section 5 User Authentication
- Section 6 Save Code To Database
- Section 7 Conclusion
What You’ll Learn
- Intro To the OpenAI Text Completion API
- Intro To Django
- Intro Use of Python
- How To Connect to The OpenAI API With Django
Reviews
-
RRayees AC
Very nice presentations.
-
任任点
Everything was good at the beginning, I choose the course because I want ot build a webapp in a very quick. But one lesson 'install prism" totally didn't work it took me a lot of time to fix the code. I understand that libraries update fast but at list text message would help.
-
KKhaled Ramo
Overall, the OpenAI section is outdated. I created an account with OpenAI. I added the API key to views.py. When I have to suggest a code, it shows that the model `text-davinci-003` has been deprecated. I checked the docs/deprecations site from OpenAI, and it shows that `text-davinci-003` was shut down on January 2024. I changed the text-davinci-003 with the recommanded replacement gpt-3.5-turbo-instruct. When you suggest a code, it shows the error. You exceeded your current quota; please check your plan and billing details. I didn't use any of the credit, and it says I have to upgrade my plan. To use the gpt-3.5-turbo-instruct, I've got to change the code snippet to handle the errors, which is no easy task to integrate into this application.
-
YYogesh Kumar
The course is so helpful I build this web application for my portfolio and chatgpt is trending nowadays. He(the. course leader ) is also helped me when I am stuck som where thank you John