yego.me
💡 Stop wasting time. Read Youtube instead of watch. Download Chrome Extension

Prompting basics | Introducing Khanmigo | Khanmigo for students | Khan Academy


5m read
·Nov 10, 2024

In this video, we're going to see that you can have very different experiences with the same AI, and a lot of that is depending on how we prompt the AI. So before we even start doing some prompting ourselves or even understanding what that means, let's just play around a little bit.

So I'm here on my account on Chat GPT, and I'm using GPT-4 as my model. The underlying model, remember, Chat GPT is the application; it can use different models. I could use GPT-3, 3.5, or GPT-4. In this case, these are from OpenAI.

Let's say that I want help understanding some concept in science. So let's say, uh, I want to understand how—let's say—how photosynthesis works! I really want to understand.

So over here, Chat GPT, using GPT-4, it's essentially creating a bit of an article. This is very similar to what I would see if I were to go to Wikipedia or if I were to just do a web search. It's actually giving a very lengthy article, whether I’m in the mood of reading this or not.

Photosynthesis is a fascinating process that allows plants, algae, and some bacteria... It talks about the absorption of light. This is a pretty involved article, but once again, not that different than what I would find if I went to Wikipedia or the internet.

Now, as a comparison, let's go to Kigo and do the same thing. I'm using the "Tutor Me in Math and Science" activity, and conmigo—this version of Kigo—is still using the same underlying model; it is using GPT-4, at least at the time of me making this video.

But let me ask the same question: I want to understand how photosynthesis works! Ah, photosynthesis! The magic trick plants use to turn sunlight into food! Let's dive in. First, can you tell me what you already know about photosynthesis?

So now you're thinking, wait, this is the exact same underlying model, but it's doing something very different here. Here, it's really acting like a tutor, and instead of just giving me a big verbal dump of an article, it is actually asking me a question.

Well, I could keep going into it. Well, I know that it's how plants convert sunlight into food. Great start! Now let's dig a bit deeper. Photosynthesis involves two main stages; can you name them? Interesting!

So it's really trying to quiz me, making sure that I'm understanding this. I could obviously spend hours talking about photosynthesis with Kigo, but that's not the point of this video. The point of this video is, why is Kigo behaving so differently than that interaction we saw with Chat GPT, even though it's using the same underlying model?

The answer is prompting. There are other things that work with Kigo, but for the most part, the KH Academy team has created prompts that encourage, direct, or steer—actually, the right word is "steering"—a model to act as a Socratic tutor, not to give big verbal dumps like you saw, but to ask questions, make sure the students understand, and then dig a little bit deeper.

Now, you might wonder, what does a prompt like that look like? Well, I could do that here on Chat GPT. Although it takes a little bit more work, I could say something like, "You are a Socratic tutor; I am your student. Try..." Well, let's just start with that as a simple prompt.

I will ask you questions, and I'm going to copy and paste this. There are more efficient ways of doing this, but just so that you... I’ll copy it for now so we can use it later and see. Let's see what it does.

I'm ready to help you explore and understand any questions you have. What's on your mind today? It's already doing something very different than what we saw in that previous example when I just asked how photosynthesis works.

So I say I want to know how photosynthesis works! All right, great topic! Let's start by exploring the basics of photosynthesis together.

So it's still not doing what Kigo did; it's still, you know, giving me maybe a little bit more verbiage or more text than I might like. So let's start over here. Let's start another thread, and this time, I copy and pasted, "You are a Socratic tutor; I am your student. I will ask you questions. Keep your responses as short as possible," and let's just do that for now.

So that was essentially my prompt.
Understood, please go ahead with your question: How does photosynthesis work?

Let's see how it's responding now.

So photosynthesis converts light energy into chemical energy; plants use sunlight. So it is doing what I asked it to do; it's giving a shorter response. Would you like more detail? But it's still just kind of giving me the answer.

So I want it to be more Socratic. Let's do this: "You're a Socratic tutor. I am your student. I will ask you questions; keep your responses as short as possible, and try to ask me questions on my understanding rather than just giving me answers."

And see what it does now. So, how does photosynthesis work?

Photosynthesis is a process plants use to make their own food. Can you tell me where it primarily takes place in the plant?

So you can see it's getting closer to what we just saw with conmigo by giving it that prompt. That prompt that we saw at the beginning every time it goes back and forth with the AI, the AI sees this at the beginning of our conversation stream, and that essentially primes the AI to behave in that way.

You could do prompts to do some pretty fun things. So let's say you... Actually, let me just—I should have copied and pasted. Actually, I think I can go back here. Let me copy and paste what I just had, and let me create a new thread, a new conversation.

"Speak in the tone of Dr. Seuss." Let's see what happens.

Oh, a question you have, my dear friend indeed! A curious mind is a wonderful seed. Now ask away, don’t delay; let's proceed! What's on your mind? What knowledge do you need?

I kind of like this one: How does photosynthesis work?

In a leafy green world where the sunlight's a treat, plants take in the light—oh so right and so neat! But how do they do it, you ask? Isn’t that sweet? Can you guess what they need besides light from the sun to make sugar and food and have all of their fun?

So there you go; that's prompting! By giving it clear instructions of what you want, especially when you begin, and later, we'll talk about how you can save this so you don't have to write this every time, or there's ways to do it depending on what app you need.

But this is how you can steer an AI—a large language model—to behave in the way that is useful to you.

More Articles

View All
How to get out of a rut? Mental healing series episode 1
It’s literally 4 AM, and I still haven’t studied yet. Why is this happening? Just why? I think I’m gonna sleep for years. I misunderstood the meaning of productivity. Being more productive didn’t mean I was doing the most important work. It only meant I w…
It Started: The Worst Market Collapse In 50 Years | Michael Burry
What’s up, Graham? It’s guys here, and it’s official: the stock market makes absolutely no sense. Despite weak earnings, a recession that’s all but confirmed, and JP Morgan’s recent warning that the market could fall another 20%, prices have begun to do t…
Learning the Art of Traditional Tattooing on the Cook Islands | Short Film Showcase
The tools belong to the poor islanders. Tarter Tao was current in the islands. It’s just that colonialism had wiped it out. There’s not anyone else here doing traditional. The revival here started out from tattoo machine. The machine is not connected to …
The Next Housing Market Crash (Worse Than 2008)
What’s up, Graham? It’s Guys here, and 2023 is already shaping up to be an absolute mess. Thieves have reportedly stolen 2 million dimes from the back of a van in Philadelphia. A teenager was banned for climbing into and getting stuck in a claw machine. H…
a chill day in my life
Good morning guys, it’s currently 11:20 a.m. - answering YouTube comments - okay so now it’s 12 and I think it’s enough scrolling so I’m just gonna delete all of the social media apps because it takes a lot of time. Let’s do my skincare - skincare time -…
Before You Visit Angkor Wat, Here's What You Need to Know | National Geographic
Eager to experience a spectacular sunrise at Cambodia’s ancient Angkor Wat? Here’s everything you need to know to get to this iconic site and make the most of your visit. Angkor Wat is actually just one of over a thousand temples that make up the ancient…