Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Create a Code Writing ChatGPT A.I. Site With Django Python
Rating: 4.6 out of 5(146 ratings)
1,009 students

Create a Code Writing ChatGPT A.I. Site With Django Python

Learn to Connect Your Django Python Apps To OpenAI The Fast And Easy Way!
Created byJohn Elder
Last updated 11/2023
English
English [Auto],Japanese [Auto],

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

Course content

7 sections37 lectures2h 39m total length
  • Introduction1:47

    Create an ai code generator and code fixer site with django and python using the OpenAI API to generate and fix code, with user login and per-user saved snippets.

  • Install Python1:28

    Download and install Python from python.org, ensure the add Python to path option is checked, and reinstall if needed before proceeding to the text editor and terminal setup.

  • Install Sublime Text and Git Bash Terminal3:21

    Install Sublime Text and the Git Bash terminal to write code and run commands for this course, setting up before Django.

  • Set Up A Virtual Environment3:49

    Set up a project directory, create and activate a Python virtual environment, then install Django and OpenAI to build a code writing ChatGPT AI site.

  • Django Start Project and App2:35

    Create a Django project named code bot and an app called website, run migrations, and launch the local server to verify setup.

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 (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.



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