Create a Text Completion ChatGPT A.I. Bot With Django

Learn to Connect Your Django Python Apps To OpenAI The Fast And Easy Way!

4.50 (19 reviews)
Udemy
platform
English
language
Web Development
category
instructor
136
students
2 hours
content
Nov 2023
last update
$54.99
regular price

What you will learn

Intro To the OpenAI Text Completion API

Intro To Django

Intro Use of Python

How To Connect to an API With Django

Description

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.



Content

Introduction And Setup

Introduction
Install Python
Install Sublime Text and Git Bash Terminal
Create Virtual Environment
Install Django and OpenAI
Create Django App
Get The Course Source Code

Create Django App

Django Settings and URLS
Build The Homepage
Base.html and Bootstrap
Add A Navbar
Add The ChatGPT Response Box
Add A Bootstrap Web Form
Form Processing

OpenAI API

Create an OpenAI Account
Create an OpenAI API Request
Parse the OpenAI Response
Multiline Response

Database

Create A Database Model
Save To Database
Create DB Webpage
Query the Database on the Webpage
Delete Items from the Database
Error Handling

Pagination

Set Up Pagination
Pagination Variables
Pagination: Next - Last
Pagination Numbers
Finishing Up

Conclusion

Bonus Lecture

Screenshots

Create a Text Completion ChatGPT A.I. Bot With Django - Screenshot_01Create a Text Completion ChatGPT A.I. Bot With Django - Screenshot_02Create a Text Completion ChatGPT A.I. Bot With Django - Screenshot_03Create a Text Completion ChatGPT A.I. Bot With Django - Screenshot_04

Reviews

Gasper
September 28, 2023
Great course, a clear structure. Maybe a little too fast, I had to pause a video a lot :) I already bought another two courses from John.
SinanAslan2578
August 4, 2023
ı learn how to make connection with chatgbt and django project and ı believe can do all kind of languages from now. thanks
Doug
April 14, 2023
enjoyed the course. I appreciated that it moved pretty quickly and got to the point, but pretty well covered everything.

Coupons

DateDiscountStatus
2/7/202388% OFF
expired

Charts

Price

Create a Text Completion ChatGPT A.I. Bot With Django - Price chart

Rating

Create a Text Completion ChatGPT A.I. Bot With Django - Ratings chart

Enrollment distribution

Create a Text Completion ChatGPT A.I. Bot With Django - Distribution chart
5099798
udemy ID
1/20/2023
course created date
1/29/2023
course indexed date
Bot
course submited by