From the course: OpenAI API for Python Developers
Unlock the full course today
Join today to access over 24,900 courses taught by industry experts.
Project setup and overview
From the course: OpenAI API for Python Developers
Project setup and overview
- [Instructor] For this example, we create a chat bot that can generate conversational replies and simulate human-like conversations thanks to the power of the GPT large language models, and this will serve as a basic starting example for future projects, and also, if you ever want to build your own customized chat bot using OpenAI. So first things first, you want to download the starter projects, and we're going to go through the instructions in the read-me file. So first you want to create a virtual environment, then to activate the virtual environment, you're going to run this script. Next we're going to install the packages, and also, we must remember to set up an API key, and finally we're going to run this script to start the projects. For this project, we connect to the chat completion API. The chat models are large deep learning models that are trained on a large amount of data, giving the applications like ChatGPT the ability to understand and process natural language and…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
Introduction to conversational AI2m 26s
-
(Locked)
Project setup and overview3m 11s
-
(Locked)
Authentication and configuration2m 38s
-
(Locked)
Define a system message with instructions2m 11s
-
(Locked)
Making requests and generating chat completions6m 6s
-
(Locked)
Challenge: Create a funny chatbot2m 11s
-
(Locked)
Solution: Create a funny chatbot - part 14m 26s
-
(Locked)
Solution: Create a funny chatbot - part 24m 51s
-
-
-
-
-