- Published on
ChatGPT and GPT-3 - An Introduction
- Authors
John Partee
GPT-3 and ChatGPT - The magic of language understanding
GPT-3 and ChatGPT are like having a conversation with super smart AI. They can understand and respond to prompts in a way that feels natural and human-like. The kicker is its really good at stringing all sorts of words together - from letters to recipes to programs.
How it works - Call and response
Think of it like a game of call and response. You give the program a prompt, something you want to know or say, and the program will respond with something that makes sense based on what it has learned.
Example:
chatGPT
prompt: Hey, do you know what's the capital of France?
response: Of course! Paris is the beautiful capital of France.
Getting better replies with better questions
GPT-3 and ChatGPT can understand and respond to prompts, but the more specific and relevant the prompt, the better the response. It's like asking a question that's on point, the better the question, the better the answer. Think of it like having a conversation with a friend, if you're asking about their day, you might get a general answer, but if you ask about a specific event that happened, you'll get a more detailed response. The same goes for GPT-3 and ChatGPT, the more specific the prompt, the more specific and accurate the response.
Example:
chatGPT
prompt: What's the GDP per capita of the United States in 2020?
response: The GDP per capita of the United States in 2020 was $62,794.
Example:
chatGPT
prompt: Can you give me the recipe for a Margherita pizza?
response: Of course! For a Margherita pizza, you will need:
-1 lb pizza dough
-1/2 cup tomato sauce
-8 oz mozzarella cheese, sliced
-1/4 cup grated Parmesan cheese
-1/4 cup chopped fresh basil
-Salt and pepper to taste
1. Preheat the oven to 500 degrees F (260 degrees C).
2. Roll out the pizza dough on a lightly floured surface to the desired thickness.
3. Spread tomato sauce over the dough, leaving a 1/2-inch border around the edge.
4. Arrange mozzarella slices on top of the sauce.
5. Sprinkle Parmesan cheese, basil, salt and pepper on top.
6. Bake in the preheated oven for 10-15 minutes, or until crust is golden brown and cheese is bubbly.
Not perfect, but pretty darn good
It's important to remember that these programs are not perfect, but they're pretty darn good. They are constantly learning and improving, but sometimes they might not understand a prompt or might give a response that doesn't make sense. It's always a good idea to review the responses before using them in a real-world setting.
Example:
chatGPT
prompt: Hey, what's the weather like today?
response: It's sunny and warm with a high of 75 degrees.
GPT Does not know the weather. Don't trust it. ChatGPT will probably laugh at you, but GPT-3 will just tell you what it thinks you would like the weather to be. Try it. It's cool.
But if you take a few (programmatic, or copy and paste!) steps to hand it data, it's shockingly good at stuff like summarizing facts. Something like this will yield actually decent results:
chatGPT
Weather Data:
City | Temp (F) | Humidity | Wind (mph) | Precip (in)
-------|----------|----------|------------|------------
NYC | 75 | 60 | 10 | 0.5
LA | 80 | 40 | 15 | 0
Chicago| 70 | 50 | 20 | 1
Prompt: Generate a short weather summary for today based on the above data, including warnings and recommendations
Response: Good morning, today's weather is expected to be warm and sunny with temperatures ranging from 70 to 80 degrees Fahrenheit. In NYC, there is a chance of precipitation, so it's recommended to bring an umbrella. In Chicago, there is also a chance of precipitation, so it's recommended to bring an umbrella and a jacket. Wind speeds will be between 10-20 mph, so it's also recommended to bring a jacket or other appropriate clothing or accessories. Keep an eye on local weather forecasts and be prepared for any changes.
I'm a programmer - I use it all the time to write code for me, just by giving it an idea of what I'm doing like that. I literally paste in some code I'm working on.\ I have to work with it to get exactly what I need, but it's just faster than I am. You just have to ask it to help. And yeah - it can help with that too, just ask how you could use it for something you need to get done.
Start Your ChatGPT Journey
ChatGPT is a powerful tool for generating human-like responses. The possibilities are endless with this model, but it all starts with taking the first step. Why not try pasting some of our prompts and see how ChatGPT responds? Or browse our site for more ideas and inspiration on how to use ChatGPT to its full potential. The best time to learn GPT is a year ago, but the second best time is today.