Create a Text Completion ChatGPT A.I. Bot With Django
Learn to Connect Your Django Python Apps To OpenAI The Fast And Easy Way!
Created by John Elder | 2 hours on-demand video course
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 Text Completion Artificial Intelligence API. You’ll be surprised just how quickly you can create some pretty cool looking apps! We’ll use Python, Django, and the Bootstrap Framework to build a cool Chatbot app that connects to OpenAI. You’ll be able to type ChatGPT-like questions to straight from your app, and receive an OpenAI response that is output to the screen of your app.
We’ll also use a database to save all of the questions and answers that you’ve typed into your app, and we’ll query that database and output the answers on their own web page. We’ll add stylish Pagination to the page as well so that you can page through the responses. 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.
What you’ll learn
- Intro To the OpenAI Text Completion API
- Intro To Django
- Intro Use of Python
- How To Connect to an API With Django
Recommended Course
The Complete ChatGPT Web Development Code Along – Javascript