look at Generative AI Code. This exercise is completely optional, so if for some reason you don't complete it, that's totally fine, you don't need any of this to complete the rest of the course. But I hope you take a look at the code and have fun with it. Let's dive in. If you're accessing this on a desktop, then probably to the left of this video will be a code region that looks like this. Or if you're accessing this on a mobile device, then this may be on top of where you're watching the video, but you see this coding region with instructions that says for each of the two code cells below, click on the cell, then hit shift-enter on your keyboard to run the code. Or on, mobile device, there may be a play button that looks like this, that if you press the play button will have the same effect as hitting shift-enter on your keyboard, because it's harder to hit shift-enter on say a smartphone's keyboard. So let's do that. Step one of the instructions is I'm going to go to. CodeCell 1 by clicking my mouse on this gray region, and CodeCell 1 sets up the programming environment to use code to send prompts to OpenAI's cloud-hosted service. So I'm clicking my mouse here, and I'm going to hit Shift-Enter right now, and this number just changed to 1 to indicate that this is the first CodeCell that we just ran. In case you accidentally run this CodeCell twice or something, don't worry about it, it won't break that way. After having run code cell one, let's go to code cell two. Code cell two will define a prompt that will classify the sentiment of a restaurant review. Here we set the prompt to be equal to classify the final review as have a positive next sentiment, but output is really tasty. What this does is it defines a prompt, this is the prompt, and then it gets the large language model response to the prompt, and that's your response. And lastly, I'll print out this response. So that's what these three lines of code does. It defines a prompt. It gets a response from the large language model, and it prints out the response. So I'm going to hit Shift-Enter. Remember, I had to click on the cell to select it first, code cell two, then hit Shift-Enter. And this runs, and it says, positive sentiment. So please feel free to pause the video and try it yourself. Remember, click on the first code cell, then hit Shift-Enter or the play button, then click on the second code cell, and then hit Shift-Enter or the play button. After that, I'd encourage you to try changing the prompt. Change it to whatever you want and try again. So instead of, the banana pudding was really tasty, you may want to say, the banana cake was delicious. I'm going to hit Shift-Enter again, and oh good, there's also a positive sentiment. Notice this now says three, because this is now the third time. I just ran a cold cell. Feel free to change this to some other food review, your positive or negative sentiment, and see what results you get. When you're done with this, you can click on the nav bar to activity two, which will take us to a second slightly more complex code example.