Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Create a Text Completion ChatGPT A.I. Bot With Django
Rating: 4.3 out of 5(24 ratings)
155 students

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 byJohn Elder
Last updated 11/2023
English

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

Course content

6 sections30 lectures2h 1m total length
  • Introduction2:30
  • Install Python2:51

    Download and install Python from python.org, choose the current version (3.11.1), and add Python to path so you can run it anywhere. Then proceed to install Django and other tools.

  • Install Sublime Text and Git Bash Terminal3:21
  • Create Virtual Environment3:01
  • Install Django and OpenAI2:18
  • Create Django App3:34
  • Get The Course Source Code0:04

Requirements

  • No special tools are necessary to take this course
  • A Basic Understanding of Python and Django Is Helpful

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.



Who this course is for:

  • This course is geared towards anyone who's interested in programming ChatGPT from Open AI.
  • This course is aimed towards beginers through intermediate Coders who want to learn the to build Apps With Django and Python