Let’s Code a Fun Creative Chatbot
Create an account at
www.CreateMakeLearn.org
Follow our journey with creative uses of AI in education on the Create Make Learn BLOG
How Might We Create a Chatbot that guides us through the Solar Eclipse?
Click here to open this project in CreatiCode. ��Press Green Flag to start.
Note: I just learned that you have to be signed into CreatiCode for the ChatGPT connection to work.
Sign in as a students for easy access. This will also allow you to 'SEE INSIDE" and see the actual code.
Let’s set the scene for our project. �Change the STAGE / Background.
Add a Sprite
Describe/Draw backdrop:
Describe/Draw a Chatbot Character:
What welcome message should we start with:
What prompt do you want to try?
Use the purple OpenAI ChatGPT: SYSTEM request block to give ChatGPT a role with some rules for how it responds. ��Notice that this is the SYSTEM REQUEST code. This is the perfect code to use when you want to give ChatGPT instructions, but don't want an answer back.
Here is an example PROMPT:
You are an umpbraphile who has a great understanding of solar eclipses who helps students understand what will happen during a solar eclipse. Your responses are limited to 150 words or less. Do not respond to any questions that are not related to eclipses.
Set up the rules (behind the scene)
Add a Chat Window Interface
Name your chatbot character. What welcome message should we start with:
Setup a way for display what user type in the chat window
Let’s interact with Chat GPT