Course Content
Investigate the potential of AI in your practice
In this lesson, you’ll discover many exciting ways that educators are tapping into AI tools to advance their teaching practice. Three key benefits will be discussed: time-savings, differentiation, and lesson enhancement. Fictional educator scenarios are used to provide helpful context as you prepare for upcoming activities in this course. You’ll also learn some helpful tips for completing the activities. In addition to the activities hosted directly on the Teacher Center site, this course will ask you to perform tasks in the AI tool of your choice, such as Gemini or ChatGPT. The instructions for these activities will be written for Gemini, which is freely available, but select whichever tool you like. Keep in mind that different tools may produce different results — getting an output that doesn’t match the activity is OK, as long as you review it to make sure it’s accurate and useful.
0/24
Generative AI for Educators

In this lesson, you’ll continue learning about prompts and how to write the best prompt you can to get the desired output — often referred to as “prompt engineering.” As a part of this exploration, you’ll also practice using shots, or examples included in a prompt, as well as ways to troubleshoot when an output doesn’t meet expectations.

Engineer prompts for success

Previously, you learned about the five “parts” of prompt-writing:

  1. Persona: Identify your role.

  2. Aim: State your objective.

  3. Recipients: Specify the audience.

  4. Theme: Describe the style, tone, and any related parameters.

  5. Structure: Note the desired format of the output.

Just as high-quality ingredients help you cook a delicious meal, high-quality prompts lead to excellent outputs. This is why thoughtful prompt-writing is so useful: It helps ensure you’re including the best possible information in your prompt.

To better understand effective prompts, compare how a person and an AI tool might respond to the same question. Imagine you’re a vegetarian planning a trip to San Francisco. You might ask your friend, “Which restaurants in San Francisco are good?” Because your friend knows you’re vegetarian, they’ll likely suggest places with delicious veggie options. However, if you ask the same question to an AI tool, it probably will recommend popular restaurants regardless of their menu options, unlike your friend who considers your preferences. AI tools often lack context and understanding, which is why clear and specific instructions are so important.

To increase the likelihood that your own prompts produce the desired output, always be clear about what you want the tool to do. There are multiple ways to use AI’s capabilities to help boost productivity and creativity:

  • Generate content

  • Summarize a lengthy document’s main points

  • Sort and label different categories for review

  • Extract information from a text and transform it into a structured format that’s easier to understand

  • Translate text between different languages

  • Edit a piece of content’s tone from formal to casual and confirm grammatical accuracy

  • Problem-solve solutions for a variety of challenges

Specifying the particular kind of task you want an AI tool to perform provides key information that the tool needs to understand your expectations. 

A popular approach to prompt engineering involves including examples in the prompts, often called “shots.” Shots help AI tools better understand the expected output. Prompts are organized by how many examples they contain: zero, one, or a few. Additionally, there is chain-of-thought (COT) prompting, where a tool is explicitly told to think step-by-step. Check each tab to learn more!

Zero-shot prompting

Zero-shot prompts don’t include any examples about the desired output. 

Zero-shot prompting works best when asking for simple, direct responses. This can be a useful way to brainstorm or get general inspiration from AI. An input might be:

Prompt: 

I am a middle school theater teacher. I need to promote auditions for our winter play to incoming 6th-graders. Generate eye-catching fliers with no more than 25 words that can be put up around school.

Or

Prompt:

Generate a packing list for a two-night summer camping trip at a lakeshore with four adults and three kids.

These prompts can be classified as zero-shot prompts because they do not provide any examples of the desired output. While they are descriptive and informative prompts, they do not provide any examples.

One-shot prompting

One-shot prompts include one example of the desired input and output. 

One-shot prompting can be a useful way to refine a response more than a zero-shot prompt.  This can help steer the LLM in the right direction, especially if the task requires a specific format or style. A one-shot prompt could be: 

Prompt: 

I am a high school reading specialist. Provide ways that I can motivate and engage struggling readers in my classroom. As an example: High-Interest Texts: [Select reading materials that align with students’ interests, cultures, and backgrounds.]

This prompt can be classified as a one-shot prompt because it provides one example of the desired output. In this case, the example is a High-Interest Text. In this prompt, you’d provide an example of a reading material that aligns with your students’ interests, cultures, and backgrounds.

Or

Prompt:

I am a sixth-grade math teacher. Create 1 fun and realistic word problem for 11-year-old students. The word problem must multiply 2-digit numbers and 3-digit numbers together, for example: 24 x 322 or 14 x 556.

This prompt can be classified as a one-shot prompt because it provides one example of the desired output. In this case, the example is a multiplication equation with the desired format and requested number of digits. 

Few-shot prompting

Few-shot prompts include two or more examples of the desired input and output. 

The examples improve the tool’s performance by providing additional context. This is particularly useful for complex tasks where a single example might not be enough. The extra examples help the LLM grasp the desired outcome and respond accordingly. Few-shot prompting is useful for getting back specific formatting or details in the output. For instance: 

Prompt: 

I am an environmental science teacher planning tasks for a field trip to a watershed. Help me plan tasks for the field trip. Example tasks:

  • Watershed selfie: Take a picture. Write a caption personifying its role. 

  • Water sampling: Collect a sample. Gather temperature and pH information.

This prompt can be classified as a few-shot prompt because it includes two examples of the desired output. The “Watershed selfie” and “Water sampling” tasks both describe the type of activity and description length desired in the output.

COT prompting

COT prompts ask the AI tool to follow your chain-of-thought. That means you’ll prompt the AI tool to think step-by-step. This is useful for reasoning tasks or exploratory analysis. A COT prompt might state:

Prompt: 

I am a high school teacher. Some of my students struggle with time management. What are five strategies I can use in my classroom to help them? Think this through step-by-step.

This prompt can be classified as a COT prompt because it explicitly asks the AI tool to think step-by-step. While the prompt asks for five strategies, it doesn’t provide any examples. Although it doesn’t provide any examples, the prompt is not classified as a zero-shot prompt because it asks the AI tool to think step-by-step.

Prompt engineering is often an iterative process. Sometimes, even when you provide clear and specific instructions, you may not get the output you want on your first try. When this happens, simply revise your prompt to improve the output. Here is a list of potential issues that might affect your output and tips for how to address them:

Understand that different AI models perform differently:

Each AI model is developed with unique training data and programming techniques, and each has different background knowledge about specific domains. This means models sometimes respond to similar prompts in different ways and might fail to provide an adequate response to some prompts. Taking an iterative approach will produce the best results.

Ask key questions:

As you know, it’s essential to critically evaluate outputs. Remember the questions to ask yourself: 

  • Is the output accurate?

  • Is the output unbiased?

  • Does the output include sufficient information?  

  • Is the output relevant to my project or task? 

  • Is the output consistent if I use the same prompt multiple times? 

Provide Context:

Consider the earlier example about asking for restaurant recommendations from an AI tool: Because the context about needing vegetarian options wasn’t included, the tool was unlikely to deliver useful recommendations. If your output isn’t specific enough or doesn’t meet your needs, consider what supporting information the tool could use to produce better results.

Using examples, or “shots”

Including examples to clarify the input and output of your prompt can help fine-tune the output and get you closer to what you need.

 
 Experiment with phrasing:

Your choice of words can also significantly affect the output. Experimenting with different words and phrases can help you obtain the most useful output. AI tools respond best to prompts with clear action verbs. Additionally, negation can be difficult for the tool to parse, so prompts should be framed in a positive, actionable manner, rather than specifying what isn’t wanted.

Check out an example of how an educator might use this checklist on an actual prompt: 

The scenarios portrayed in this project are fictitious. They are intended for pedagogical purposes only.

Hello there! I am a guidance counselor at a high school in Pennsylvania. One of the ways I support my students is by connecting them with college programs that match their career interests as they take the next step in their education journey. For example, I recently had a student who was excited about animation and motion graphics design. They were interested in going to a college with an animation program in our state, but they weren’t sure where to start. As a first step, I wanted to create a list of colleges in Pennsylvania that have animation programs for them. My goal was for this list to include some key details about the colleges in a well-organized format so my student could read over the list and get some insight into each school.

At first, I just wrote, ‘Help me find colleges with animation programs in Pennsylvania.’ The output contained a lot of useful information, but it wasn’t formatted in a way that was easy to read and find what the student wanted to know. I thought about what I really wanted to ask the AI tool to do, and decided that organizing the information in a table would make it easier to read and understand. 

With that in mind, I added a little more context to my prompt: “Help me find colleges with animation programs in Pennsylvania and organize the options in a table.” This gave me an output with an organized table that provides useful information about the location of each college and the specific type of degree it offers.

My student was primarily interested in public schools, so I refined the output even more by asking the tool to include a column that indicates whether a college is private or public: “Help me find colleges with animation programs in Pennsylvania and organize the options in a table with a column showing whether they are public or private.”

This generated a new table with all of the information I wanted to share with my student. By iterating on my prompt until the right output was delivered, I gave my student exactly what they needed!

 

 

 
Scroll to Top