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.
Solution: Create a funny chatbot - part 1
From the course: OpenAI API for Python Developers
Solution: Create a funny chatbot - part 1
(ambient music) - [Instructor] Now let's begin with our funny chat bot challenge. And the first thing that we would like to do is maybe to change this title to make it more personal and also funny. And my recommendation is also to check out the documentation for the library Streamlit, which is very simple to get started with and user friendly. There is even one section for generative AI with one code example to build a chatbot driven by AI. And here, for example, it's going to set this title. So we're going to do the same, actually, we're going to replace the one that we have for now. Let's go back to the project and I'm going to go ahead and replace this one. So that's going to be st, which is short for Streamlit, then title. And here I'm going to write Funny Chatbot App. And I'm going to go look for this imagery with tears of joy. Okay, so I'm going to look for this one, copy it, then go back to my project. And I'm going to replace this with this new emoji. Let's go back to the…
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
-
-
-
-
-