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 Tkinter
Rating: 4.5 out of 5(418 ratings)
1,751 students

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

Learn to Connect Your Python Apps To OpenAI The Fast And Easy Way!
Created byJohn Elder
Last updated 1/2023
English

What you'll learn

  • Intro To the OpenAI ChatGPT API
  • Introductory To Intermediate TKinter
  • Introductory To Intermediate CustomTkinter
  • Introductory Use of Python

Course content

5 sections24 lectures1h 25m total length
  • Introduction2:13

    Learn to build a desktop chat bot in Python with a Tkinter interface that connects to the OpenAI GPT API using an API key, prompts the bot, and displays responses.

  • Install Python1:55

    Download and install Python, check the add Python to path option, and reinstall if needed to ensure a proper setup before continuing with the course.

  • Sublime Text And Gitbash Terminal2:48

    Set up Sublime Text and the Git Bash terminal on Windows, download the latest versions, and walk through default installation to prepare your coding environment for the course.

  • OpenAI API Key1:57

    Sign up for a free OpenAI account to obtain your API key and $18 in credits, then copy and store the key to connect to OpenAI.

  • Virtual Environment3:06
  • Pip Install Libraries1:54
  • Create Our App!4:12

Requirements

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

Description

In this course I'll teach you how  to make graphical user interfaces for Python using TKinter, 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, Tkinter, and CustomTkinter to build a cool Chatbot app that connects to OpenAI, maker's of ChatGPT.

You'll be able to send ChatGPT-like questions straight from your app, and receive a response that is output to the screen of your app.


We'll use davinci-003, the most advanced model offered by OpenAI to get our 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.


If you've seen ChatGPT recently and want to learn how to use these types of tools programmatically, then this is the course for you!


We'll use the customTkinter library to make our Tkinter app look a little more modern and professional.  Some people think that Tkinter is a little old and stodgy looking.  The CustomTkinter library solves that problem very easily. 


We won't dive into customTkinter in great detail in this course, we'll just use bits of it here and there to make our app look more modern.  So if you have no experience with customTkinter, you won't have any trouble following along; I'll walk you through it step by step!

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 TKinter and Python