---
id: "workshop:what-you-need-to-know-about-writing-a-prompt-for-ai-tools"
type: "InnovateUS workshop"
title: "What You Need to Know about Writing a Prompt for AI Tools"
url: "https://innovate-us.org/what-you-need-to-know-about-writing-a-prompt-for-ai-tools"
date: "2024-01-23"
duration: "60 minutes"
language: "English"
instructors: ["Brandon Brin"]
recording: "https://www.youtube.com/watch?v=ghKS5DcQcO0"
transcript: "automatic, from the recording"
source: "InnovateUS (innovate-us.org)"
licence: "CC BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0/), as stated on innovate-us.org"
---

# What You Need to Know about Writing a Prompt for AI Tools

InnovateUS workshop · 23 January 2024 · 60 minutes

InnovateUS is hosting a new “Artificial Intelligence Industry Series”, where speakers from leading technology companies will teach participants how to use specific artificial intelligence tools. We do not promote or endorse any particular products, but we want to offer our audience a chance to learn more about using specific upcoming tools for their everyday work. 

In this 60-minute hands-on session, Brandon Brin, Senior Technology Strategist at Microsoft, will teach participants how to use Microsoft Copilot and Bing chat and how to frame their prompts to receive better responses.

## Learning goals

- Learn how to use Microsoft Copilot and Bing chat
- Learn how to frame their prompts to receive better responses

## Speakers

- **Brandon Brin**, Sr. Technology Strategist, Microsoft

Recording: https://www.youtube.com/watch?v=ghKS5DcQcO0

## Transcript

Automatic transcript of the recording: names and terms can be misheard, and the times can be a few seconds off. Each time links to that moment of the video. The transcript alone: https://innovate-us.org/what-you-need-to-know-about-writing-a-prompt-for-ai-tools.txt (plain text) and https://innovate-us.org/what-you-need-to-know-about-writing-a-prompt-for-ai-tools.json (every segment with its start and end second).

**Unknown speaker**

[0:03](https://youtu.be/ghKS5DcQcO0?t=3) Brandon, thank you for being with us.

**Brandon Brin**

[0:07](https://youtu.be/ghKS5DcQcO0?t=7) Thank you so much for the warm welcome, the introduction, as well as the opportunity, and thank all of you for joining us on this Thursday afternoon, well, Tuesday afternoon, rather, wherever you may happen to be. I didn't realize that we were having an international audience. Unfortunately, a lot of content here is sort of US-specific, but not to say that you couldn't sort of get some valuable content out of this as well. So like Hannah said, and I just want to make sure everyone can see my screen. I'm pretty sure you can, but you can't let me know. I can see it. Perfect. Thanks, Hannah. So like I said, I'm a senior technology strategist working in Microsoft's state and local government practice. I'm based out of Boston, Mass. If you're local to Boston, I actually live in Quincy, which is not Boston, but if you're not from here, well, Boston, right? I've been at Microsoft for about two years, right? So in that time, I'd like to think that in the grand scheme of our team, I have the fun job, and it's because I get to play with the technology, and also get to work with our customers, and specifically in the state government space, to help solve problems, right? Sometimes it's old technology. Sometimes, like what we're going to discuss today, it's something that's relatively new, groundbreaking, right? Bleeding edge, right? So with that, the scope for today is what you need to know about writing a prompt for AI tools, right? So AI tools come in sort of a variety of different shapes, and sizes, and flavors, right? So I think specifically we'll ground the conversation today on generative AI.

[1:43](https://youtu.be/ghKS5DcQcO0?t=103) You're welcome, Roy. Thank you. Have a great day. All right. So before we get to that, just a little bit about me. Originally from St. Thomas in the U.S. Virgin Islands. Most of my family lives back in the Caribbean, so I get the opportunity to head back there quite a bit. I also train Brazilian Jiu-Jitsu, so I get to stay active, and at least I've got a get-out-of-jail-free card, or a reason to get out of the office at six o'clock every day. So working at Microsoft, prior to that I spent a number of years working at the state legislature, which I think I want to say I saw one or two familiar names on this call from the state house there, so hello. But a lot of great opportunity working directly supporting, you know, sort of the organization as well as the business, like giving me a good sort of visibility in terms of sort of what are some of the challenges that, you know, not just legislatures, but sort of all branches of government and workers in there will typically face, right? So for our agenda today, so we're going to ground ourselves on what is...

[2:55](https://youtu.be/ghKS5DcQcO0?t=175) Right? We're going to talk a little bit about what are prompts, right? You may have heard the term prompt engineering. We'll kind of unwind that and hopefully simplify that, and then put that into practice so that we can get more out of our generative AI tools, right? So from a tooling perspective, you know, I think I wanted to focus this discussion today on tools that you can, you folks can use along with me today or, you know, that are generally freely available, right? So I think from our perspective here at Microsoft, leveraging Microsoft Copilot through either the sidebar in the Edge browser. So if you don't have the Edge browser, it's freely available. You can get this on Windows, on macOS, and it has a very interesting... We'll get to the... When we get to the demo portion, we'll sort of step through how to use that, but that's where we're going to spend most of our time today. So if you're interested in driving along, by all means, you can leverage Edge. What I will say though is that in organizations where if you're using a managed computer, right? If you're at work right now, chances are it's possible that the administrators at your organization may have restricted access to that Edge sidebar, in which case you may just want to head to bing.com and then select Copilot, right? So wanted to make sure that we were using tools that were, you know, freely available, accessible.

[4:25](https://youtu.be/ghKS5DcQcO0?t=265) There's no, you know, paywall or anything along those lines. The benefit there is we actually give you access to GPT-4, which is sort of like the latest and the greatest of the large language models, at least so far, and there's no cost associated with that. So you get to kick the tires, right? And then I think the fun part of this is we're going to step through some prompts leveraging those best practices, but apply it in a government context to solve what I would consider to be real-world problems, or at least examples of what could be real-world problems for us. And then last but not least, we've got time at the end for a Q&A, right? So first question, well, before we even get to prompts, is what is generative AI, right? So AI has been around for quite a while, and it's, you know, had an influence and an impact on a number of aspects of our lives, right? But I feel as if the past year or so, generative AI has really taken center stage in its ability to really sort of, and I don't want to use the pun, but like transform the industry, right? So whenever we hear the word, whenever you hear chat GPT, right, the GPT at the end actually stands for generative pre-trained transform. And effectively, that's just a fancy way of saying that it's a language expert, and it's a language expert that's powered by an immense database of internet books, PDFs, content, you know, basically you can think of all of the internet, of all of the information that may be available on the internet, or at least a subset of that, is really what is the heart of the GPT, right? You may have also heard the term large language model, right? These effectively refer to the same thing, at least for the purposes of our conversation today. I think for the purposes of this conversation, we're going to keep things relatively high level, right? There are engineering courses out there that get really

[6:29](https://youtu.be/ghKS5DcQcO0?t=389) deep into the weeds. I think we want to sort of keep things high level so that it's as accessible as possible, right? While you may have heard of chat GPT, there are also other GPTs out there. There's something called the codex model, and that's a GPT that's been specifically trained to produce code, right? So think Python, C sharp, Java, Ruby for my developers out there, right? Things that you know, languages that you know and love, right? And then last but not least, Dolly is a modified GPT that's specifically designed and trained to craft or create images, right? Based on text descriptions. Please create an apple sitting on a teacher's desk, right? And it will draw that for you, right? So prompts, prompting specifically is how you chat with the large language model, right? It's how you kick off a question or a starting part point. And it's really the way the means by which we're able to tap into the knowledge and the capabilities of the large language model, right? So in terms of prompts, right, I feel like there's a lot of complexity or an air of complexity around the topic of prompt engineering, right? It sounds fancy. It's like, oh, we've got to be an engineer, like full disclosure.

[7:53](https://youtu.be/ghKS5DcQcO0?t=473) I am not an engineer. I am an aspiring developer and I'm a technologist. You know, I've been at this for a while, but that being said, I think the advent of large language models is particularly interesting because we are all now developers. We're all engineers. We're all coders, right? And the reason for that is because the programming language is English. So that's where we're going to spend our time today, right? I think we could finish right now. Talks over prompts or instructions, right? So every time you hear prompt engineering or prompts, optimizing prompts, like we're talking about instructions, right? The best way to look at a large language model or the way that we interact with the large language model is to pretend as if it's an assistant working on it, like starting on its very first day on the job. It doesn't have context. It doesn't have experience. It may have knowledge, but it doesn't necessarily know how to apply that to be effective for my needs, right? So it's absolutely critical that we spend time being very deliberate in terms of how we provide instructions to the model so that we can get the answers or the responses that we're looking for, right? So I want to spend a little bit of time talking about a framework for how we evaluate or how we assess our prompts that we give our large language model. And forgive me, there's only two more slides and then we get to the fun part, right? So as we step through our prompts, right? We'll typically look at them in the lens or evaluate them with the lens of these five criteria, right? Context, right? Context is everything with the large language models. From what point of view am I asking it to write something?

[9:40](https://youtu.be/ghKS5DcQcO0?t=580) From what domain of knowledge am I asking it to provide an answer, right? In terms of instructions, what am I asking it to do, right? Am I asking it to draft an email or a LinkedIn post? Am I asking it to compare and contrast to disparate items? Maybe I'm asking it to list something, right? In terms of questions, I may very well just be asking a question or maybe having an action, right? There's some overlap between these two categories, so don't necessarily read a lot too much into it. But I think for me, if I were to prioritize two, I would say the context and the output are probably the most significant. And those are what we'll look at our prompts as we step through these in a moment. Examples is another element of an effective prompt. Idea being, if I'm asking for something, maybe if I'm asking my large language model to assess a body of text, for example, maybe an email to see whether or not a constituent is eligible for a particular program, I may want to give it an example of a message from a constituent where they are eligible and maybe an example of a message from a constituent where that constituent was ineligible, right? Basically training it or pre-training it rather to give us the answer or the response that we're looking for. And last but certainly not least is output. And the question is what are you looking for in terms of output? Are we looking for a paragraph, a sentence, an email, a draft of a formal letter? Are we looking for a blog post, right? And we'll talk a little bit in a moment about formatted output, which I think is probably one of the more interesting things about being able to leverage Bing is because we're able to output in a number of formats that I think are going to be particularly useful for this audience, right? So moving on to just some general tips around prompting and large language models, sort of how do we give instructions,

[11:43](https://youtu.be/ghKS5DcQcO0?t=703) right? So use direct instruction, right? And clear questions. It sounds pretty simple, right? But I feel very early on when ChatGPT sort of hit the site, there was no instruction name, right? There was no, this is the guide to ChatGPT. It was just sort of, you would get in and you'd ask some questions and maybe you'd get some very interesting responses. It might be right, it might be wrong. Maybe some consideration about how you may apply that to an enterprise context, but you want to be direct. You want to be concise with your language. Additionally, like I said, context. We want to make sure that we're providing any relevant information or data that's going to support the output that we're looking for, right? We want to make sure that we can give some examples in our prompts if that's something that perhaps the model's not giving you the answer that you're looking for. There's also a technique where we effectively iterate, where we start with a simple prompt, maybe something like, hey, give me a list of RMV locations that are closest to Quincy, Massachusetts. It's actually one we've got on the list, right?

[12:52](https://youtu.be/ghKS5DcQcO0?t=772) And then we can continue to ask questions based on that context, right? To further refine the results that we're getting, right? We also have the ability to use personas, right? Like this is a powerful tool that we'll show in a minute. And then last, but certainly not least, is using delimiters in programming speak or separators, right? If I'm referencing content, perhaps an article, maybe an email, I can include that in my prompt, in my instruction, but I want to make sure I include that in quotes or curly braces or brackets so that it's clear to the model the difference between my prompt and the data or the information that I'm referencing, right? And we'll show a few examples of that in a moment, right? So with that, let's transition to the fun stuff, right? So feel free to work alongside, but I'm leveraging Edge. This is actually my personal computer, so it's not managed by an organization. We do give enterprise administrators the ability to restrict access to this sort of thing. So we've seen that some agencies have seen fit to do that. So again, if you're at work and you have Edge, there's a possibility that this might be disabled for you, in which case you can feel free just to head over to bing.com and click on Copilot, but I'm going to open up the Copilot Edge page here, right? And now I still have the ability to browse to websites, but I've got the large language model or the GPT available here on the sidebar so that it can help as I'm sort of doing my work, right? I think the differentiator here, particularly when you're leveraging a tool like Bing versus maybe some tools like OpenAI's ChatGPT, is that Bing has access to the internet, right? So as you're layering a search engine on top of our large language model to go and research, find,

[14:57](https://youtu.be/ghKS5DcQcO0?t=897) and source information, and then build that information into the responses. I think that's going to be particularly useful in some of the examples that I'm going to show in a moment. A very simple example of how we can leverage a prompt is to translate text. I know we can translate hundreds of languages leveraging ChatGPT and leveraging Bing. So an example of a prompt here, I'm just going to go ahead and paste this in, and I hope the sizing is okay. If not, I might be able to resize here, but I'll read the prompt aloud. Translate the text below into Brazilian Portuguese. So from an action perspective, I'm asking it to translate from a context. I'm asking it to translate what the text that's below, and you'll notice that I've included that text in quotes, so it is clear to the model what I'm asking to translate into Brazilian Portuguese. I'll go ahead and submit that and wait for that to come back.

[16:06](https://youtu.be/ghKS5DcQcO0?t=966) And for those of you out there who are either Portuguese or Brazilian Portuguese speakers, you can keep us honest here, but based on my rudimentary understanding, it looks somewhat correct. And then I can likewise translate that subsequently into a number of languages. So I think that based on all of the capabilities that we're going to discuss today, realize that we have the ability to leverage this tool not only to generate insights based on a number of data points and pieces of information, but we also have the ability just to translate, which I think has been around for a while. But the ability for us to ask questions in one language and receive responses in another, and with the language translation happening on the fly, is a particular ability. So I'm going to go ahead and reset this session, resetting the context for the session, because like a good assistant anyway, it doesn't remember the last prompt or the last instruction you gave it. So in this case, I want to wipe the slate clean, and I'll give an example of editing text. And these are very rudimentary examples. We're going to step into things that are a little bit more advanced, right? So pasting in a new example, draft an email. That's my action.

**Unknown speaker**

[17:19](https://youtu.be/ghKS5DcQcO0?t=1039) Brandon? Yes.

**Audience**

[17:21](https://youtu.be/ghKS5DcQcO0?t=1041) Can I interrupt you for a second? There's a few folks in the chat who are having some trouble getting to the page. Could you maybe just walk through for folks again, how to get onto Copilot so they can follow along with you and put in their own prompts?

**Brandon Brin**

[17:38](https://youtu.be/ghKS5DcQcO0?t=1058) Absolutely. So I'm in the Edge browser, so I'm using the Edge bar. But if you're using a different browser, what you can do is just go to bing.com, right? And in the top of the screen, you'll see just to the right of the Microsoft Bing logo, we have the chat option. And then you'll get to a page that's very similar to the sidebar. And when I say similar, because when we get to some of the more advanced examples, we're going to be drawing on information that's actually in the browser. You'll notice I've got a few tabs pre-loaded with content. So you'll be able to follow along to begin with, but referencing the content, you would need to be using the Edge

**Audience**

[18:19](https://youtu.be/ghKS5DcQcO0?t=1099) browser. So I hope that's helpful. Thank you.

**Brandon Brin**

[18:21](https://youtu.be/ghKS5DcQcO0?t=1101) Great. So the prompt that we're adding here is draft an email to the Connecticut Department of Revenue Services asking for details about the statewide cannabis tax, right? So I'm being very deliberate. What's the output that I want? I want an email, right? I'm asking it to draft something, right? What is the something? I'm like, what's the context? It's to the Connecticut Department of Revenue Services. The what is about the state cannabis tax, right? And I'm getting a relatively generic email. Hi, sir or madam. Hope this finds you well, et cetera, et cetera. But perhaps I want to change the voice. I want to change the tone of this message, right? Straightforward. I'm just going to enter the text, redraft this email to be more friendly, right? So I don't necessarily need to capture the essence of what I'm trying to accomplish on the first pass, right? Because it's remembering the context. I can continue to iterate. I can continue to work on this and ask it to revise, redraft, re-add until I get the result that I'm looking for, right? So I just asked it redraft to be a little bit more friendly, right? Hey, we got an extra line. I hope this email finds you well, et cetera. Hey. But to add a little bit more color here, perhaps I want to add a paragraph or rather I'm interested in opening a cannabis dispensary in Connecticut later this year. And that's really the context for my message, right? So I'm going to say add a paragraph indicating that I'm interested in opening a cannabis dispensary in Waterbury later this year, right? I'm doing my best to apply very clear intentions. What am I asking for?

[20:00](https://youtu.be/ghKS5DcQcO0?t=1200) I want a paragraph, right? What is the context? It is of me opening a cannabis dispensary in Waterbury, which is not happening anytime soon, but nonetheless, right? You'll see that I've gotten additionally, I'm interested in opening a cannabis. Would you please provide me with additional information on requirements, procedures, et cetera, right? And I can continue to iterate on this until I have the end result that I'm looking for, right? But the idea is we don't necessarily, it's not a one and done. We don't necessarily need to just ask one, you know, have like a mega prompt where we ask for sort of all and try to refine that to get all of the things we want on the

**Audience**

[20:36](https://youtu.be/ghKS5DcQcO0?t=1236) first shot. We can continue to refine until we get what we need. Brandon, can I also ask you to zoom into the right-hand side of your screen as you're doing the prompts, just so we can see the

**Brandon Brin**

[20:49](https://youtu.be/ghKS5DcQcO0?t=1249) text that it's delivering a little bit easier? Let me see. So the only struggle is like I can

**Audience**

[20:55](https://youtu.be/ghKS5DcQcO0?t=1255) zoom the left-hand side, the content, but the edge sidebar specifically isn't zoomable. Okay, gotcha.

**Brandon Brin**

[21:02](https://youtu.be/ghKS5DcQcO0?t=1262) So I hope it's not too much of an obstacle here. No, that's all right. Especially helpful when you read out some parts of it. Perfect. So to transition over to formatted output, I feel like now this is where we're sort of get to sort of the, we'll call it the meat and the potatoes here. So I'm gonna, I'm going to ask for a list in this case. I'm going to ask for a list of five registry of motor vehicle locations that are closest to where I live, Quincy, Mass. Right. The benefit here is even if the model itself, right, didn't actually have the information in terms of where these locations are, Bing has the ability to search the internet and then return those results to me in real time. Right. So I asked, and I was very specific in my prompt. I wanted five, what are V locations and then where Quincy Mass, right. But I didn't really articulate or specify the format. So it just gave me a numbered list. Right. But maybe I'm putting together something, a new employee package or something along those lines, or maybe I want to use this information in a different context. Right. So I can go ahead and specify a format, list these locations in a table.

[22:36](https://youtu.be/ghKS5DcQcO0?t=1356) Right. Now, interestingly enough, I didn't go so far as to specify what columns I was looking for, right. But it made some assumptions and specified location, address, distance, as well as the hours in which they're available. All right. And there's a little inconsistency here. When I was working with this yesterday, I actually would get a, an Excel icon here that I could click on and I could actually download this as an Excel spreadsheet, which, you know, in this example, maybe more or less useful, but I think in some more real world, like applicable answer, like where we're at really sort of asking for like a large quantity of data. Right. It can be particularly useful for us to quickly export that into Excel, but nonetheless, we have the ability to highlight, copy, and paste this in if we needed to. Right. In the interest of time, likewise, for my developers out there, perhaps I have a application specific, you know, use case that I need to use this information for, I'd be able to say, hey, well, convert this to JSON. For those of you that are unfamiliar, JSON is a pretty standard format for presenting, let's say, sort of like structured data for use in applications.

[24:04](https://youtu.be/ghKS5DcQcO0?t=1444) Right. So it's understands the format that I'm looking for. It understands when I say convert this, this in this case is the output of my previous prompt. Right. Which was the table that we had. So now this is something that I can then copy and paste into a database that I'm working on, maybe an application or a system. Right. And use this information in a more meaningful way. Right. So this is the portal that I use. Right. But ultimately, I'm looking to try to solve a

**Audience**

[24:36](https://youtu.be/ghKS5DcQcO0?t=1476) problem here. And this is this is helping me do that. Brandon, can I interrupt you for a second? On my edge, there's a there's a little divide between the the presentation and the co-pilot. And I can slide my co-pilot screen to the left and make it very large. Is your co-pilot?

**Brandon Brin**

[25:02](https://youtu.be/ghKS5DcQcO0?t=1502) You can make it even larger. So actually, it's funny you say this. I was actually researching this internally yesterday. I my if you notice, as I slide mine to the left. Right. While the window itself gets larger, the text does not. Oh, OK. And even if you hold control and spin up or down on the on the mouse wheel, you don't get any change in size

**Audience**

[25:27](https://youtu.be/ghKS5DcQcO0?t=1527) as you would. My text got larger, actually. Well, I'm jealous. You know that maybe maybe if you can

**Brandon Brin**

[25:36](https://youtu.be/ghKS5DcQcO0?t=1536) throw in the chat, maybe what what platform you're using. I'd just be curious to see if you're like you're using edge, maybe what version of edge, because this is using the latest version of edge. OK. So in the interest of time, I'll just continue. I hope it's not too. I hope the text isn't too small for folks to see. Again, I'm going to continue to read the prompts aloud. So I hope that that's still helpful. All right. So in terms of content creation. Right. I think this is a particularly advantageous use case for a large language models. Why? Because it's time consuming. Right. Most of the time, writing emails is not a pleasurable experience, nor is writing things like press releases. Right. But there are things that we need to do, and they're very important for the business. Right. So being able to leverage a tool like Copilot or ChatGPT in order to do that is very critical. Right. So I have a prompt draft a press release for a government agency announcing the launch of a new solar energy rebate program.

[26:43](https://youtu.be/ghKS5DcQcO0?t=1603) Right. Now, this is a prompt is relatively generic. Right. Because I if I'm actually in need of a press release, right, like I work at a specific government agency in a specific state or locality, and I'm going to need some details on that rebate program. Right. So without those details, Bing or ChatGPT will sort of take it upon itself to be creative and provide a framework and make some assumptions. Right. But in order for this to be impactful, particularly for, you know, working in state government, I might want to refine this so that I can get something that's a little bit more a little bit more useful to what I'm trying to accomplish. Right. So we'll use a new prompt. Right. And to read it aloud, you are a communications director for the Rhode Island Office of Energy Resources. The agency is launching a solar energy rebate program on February 1st called Road to Renewables, which will provide rebates to homeowners who've had solar systems installed. The program will pay a maximum of $20,000 and homeowners may apply online at RI.gov, draft a one page press release announcing this program. Right. This is a long prompt, but an important one. And I'm going to go ahead and kick that off. But the reason is because I'm applying a persona. Right. I'm giving it, hey, you are a communications director. Right.

[28:10](https://youtu.be/ghKS5DcQcO0?t=1690) Which may not be all that obvious, but provides a certain level of context to the large language model to affect the way the tone, the structure of the content that's being generated here. Right. And because I've gone on to add additional details such as the road of the program, the launch date, the maximum payouts, as well as where homeowners can apply. Right. I'm getting a much more, I would say, effective or closer to an end product of what I would want versus just the generic draft a press release. Right. So in the interest of time, I'm going to pivot to referencing external content, because I feel like that is the most impactful. At least as I've seen through some of these examples that we've put together today. Right. So context. Context is everything. At least in this case, when we're working with the large language model. So the benefit of leveraging being in the sidebar in this instance, something that I learned recently was that we can limit the context to the site that we're currently browsed to. Right. So in this case, I have an executive order from Governor Glenn in the Commonwealth of Virginia, and it's an executive order on artificial intelligence, which we're seeing come across from multiple states. Right. So leveraging Bing, I can actually set the context to this specific document. Right. So I'll use the prompt and I'll be very direct in terms of my ask. My question is, please summarize. That's my action. Summarize the executive order from where from this page into a few sentences. Right. I'll go ahead and.

[30:02](https://youtu.be/ghKS5DcQcO0?t=1802) Submit that, and effectively what's happening here is the document that I'm on, if it's local to my computer, it's actually being uploaded to Bing, and Bing is, so this is an interesting, so I'm actually going to go ahead and reset, and this is actually a good callout, right. I actually spent some time over the past few days testing each one of these prompts to ensure that the output is as expected, right. In that instance, it was actually giving me information for an executive order that was not on the screen at all. I think it was an executive order from two years ago, right. So realize that there are limitations in some of these platforms, right. Yeah, the design, at least the way that we look at them internally, is to get us maybe 70 or 80 percent of the way there, with the remaining 20 being one validation. You can see it's coming back, and it's giving me the same thing, right, January of 2021. So in some cases, now I can, because I'm, this is a public order, right, I can even go so far as to say something along the lines of, please summarize the executive order number 30 in 2024 from Glenn Youngkin, right, and Bing will search the internet and capture this information for me. But just realize, I think it's a good call out that, you know, working with the models, they're not perfect, right. But I want to move on to another example. It's a relatively simple one.

[31:28](https://youtu.be/ghKS5DcQcO0?t=1888) In the example here, in the content, the context here is a grant program for students here in the Commonwealth. It's called the cash grant, right. And what we're going to ask is to create a FAQ for that grant program, based on the information from the site. So first, let's reset. And again, create a FAQ for the cash grant program, based on the information detailed on the site. the entire contents of this document, and submitted it with our prompt, asking for a possible FAQ. So now the model, effectively, what we've done is we've actually taken the content, So it's got the context of the entire document, and it's able to summarize that in a way that's And submitted it with our prompt, asking for a possible FAQ. So it's got the context of the entire document, and it's able to summarize that. And based on my ask for an FAQ, right, understanding Q&A structure, and what are some of the common questions that we would expect in an FAQ to address, it's able to generate that pretty easily, right. So I want to move on to another example, and we can reset the context here. Here in the Commonwealth, Governor Healey announced a pretty sizable spending program, a capital spending program for modernizing IT, right, something which I think we all welcome, to sort of improve innovation and security, etc., right. But imagine I'm a social media manager. In fact, you know what, I'm going to telecopilot.

[33:08](https://youtu.be/ghKS5DcQcO0?t=1988) You are a social media manager for Massachusetts Governor Maura Healey, tasked with sharing content on LinkedIn. Cleverly, or creatively, condense the press release on this site into a concise and valuable summary that presents the essence of the content and delivers immediate value to your audience. Now, some of the language, I'd say, like, I'll characterize it as the flowery language there, may not necessarily have a significant impact on the quality of the response that I get here, but by just alone giving it the context or the persona of you are a social media manager, right, comes along with it, certain writing styles. It comes along and within the writing styles in terms of word choice, as well as length and formatting, etc., right. So I'm giving it a better perspective in terms of what is the output that I'm looking for, right. And this is actually pretty good, right. I've got a headline, bolded, right. I've got a bulleted list here that breaks down some of the key points from this press release. And I could simply copy and paste this into LinkedIn, right. Maybe I want to make some refinements based on sort of some stylistic standards that the office has, right. And we're ready to go.

[34:28](https://youtu.be/ghKS5DcQcO0?t=2068) All right. Another example that I want to give is with respect to constituent services, right. So this is a website for the New Jersey Motor Vehicle Commission, and it outlines some of the steps that a first-time applicant for a driver's license would need to take, right, taking the knowledge test, practice driving, etc., right. So this is the criteria, right, for a driver's license. What I'm going to do is we can leverage Bing Chat or frankly any large language model to draft email replies, which I think we might have done earlier, right. But in this case, I'm saying draft an email reply to the message below using information from this site, right. So I'm drafting a response, but in this case, you'll see I've got email text. I need to delete that, right. And that's an example of formatting the content that I want to reference, right. So I could use quotes. I could use curly braces. In that case, I had square brackets. But in this case, I'll use two quotes. If you can't see them, they're too small, right. And I've got an email, assumably coming from a constituent. Dear New Jersey MVC, I'm writing to inquire about the process of obtaining a first driver's license in New Jersey. I'm a resident, etc., etc., etc., right. So what have I got? I've got an instruction. I want to draft an email reply, right. I want, what do I want to base that reply on? I want to base it on, base that on the information that's on this website, right. And then what is the email that we're referencing? It's this email here that's in quotes from Bradley James, right. So this is like, I'd say like a little bit more of an advanced use case in the sense that we're providing information in terms of the email.

[36:19](https://youtu.be/ghKS5DcQcO0?t=2179) We're also referencing information that's publicly available through a website. And we're using that information to help craft our response here, right. So you can see it's drafting that email and it's pulling the content from that website in order to help construct that reply, right. Laying out some of the criteria or the steps that need to be taken. I'm going to go ahead and reset and we'll reorient on the Delaware Department of Agriculture, which administers a number of grant community grant programs for a variety of causes, right. All of which I would assume are very good. So something very simple prompt is list the grant programs on this site. This particular of all of the use cases have been particularly of interest, given the number of grant programs that are typically available to municipalities, businesses, et cetera, right. But the sort of disparate nature of the information about those grant programs, right. So we've got the ability to reference our state content, right. So we're not necessarily pulling content from the web. We're specifically searching this page and only providing information based on this page. But maybe I want to take this a step further, right.

[37:45](https://youtu.be/ghKS5DcQcO0?t=2265) Like we can all summarize or we can all, you know, copy and paste the specific grants and some information about them. But maybe I want to explore what are the differences between these grants, right. Because the time it would take for us to read through the details of each grant program, right, I could just as soon ask my large language model to do that. And what it's effectively doing, and I may need to refine this further because it actually didn't give me what I was expecting. I was expecting sort of a compare and contrast. But I can say something along the lines of I'm all out the similarities and differences between the grant programs listed. Right. And it's able to do that. So another example of being very deliberate and very specific in terms of what I'm asking for and also what is the action that I'm looking for.

[38:54](https://youtu.be/ghKS5DcQcO0?t=2334) I'm specifically asking it to call out similarities and differences, right. So I want to pivot to a topic that is near and dear to my heart, and that's explaining complex topics, right. I could, you know, sort of racking my brain for what is a complex topic in a state, municipal, or federal government context. Procurement. Always procurement, right. So this is a page from the Commonwealth of Massachusetts' sort of procurement website and sort of guidelines in terms of procurement for executive branch agencies, right. It's full of all of the details that we know and love, right. But maybe I just want to simplify this. Maybe I'm onboarding new staff and I really want to make this accessible so that they can hit the ground running, right. Maybe I'll use a prompt such as explain the requirements for using Commonwealth of Massachusetts' state contracts for procurement. Very general question.

[39:56](https://youtu.be/ghKS5DcQcO0?t=2396) All right. And I'm going to likely get a somewhat detailed response here. I'm actually going to go, I could actually go back, in the interest of time I won't, but we could actually go back and be specific and say, hey, explain the requirements for using Commonwealth of Massachusetts' state contracts for procurement from this website, right. The PDF or the site that I'm on right now, so that it's only pulling from this context. And then we can refine this further and say, explain this information to me. Use simple language and assume that I have no knowledge of government procurement, right. The idea is perhaps it might summarize some of the content from the document, but the document is still somewhat, and I would call technical, right. The ability to make that technical sort of information available or equitable to folks who might not necessarily have that government procurement background, incredibly important, right. So that is another area where we're able to leverage the large language model using our instructions, our prompts, right, to really craft the output. Last and certainly not least, I have an example from the Massachusetts State Senate, right. And this is a journal of the Senate and it's basically a sort of a rough idea, you can think of it as meeting minutes for the activities that take place within the Senate, right. But it's written in a, I would say, less accessible sort of way, right. So what I'm going to ask here is, I want to explain, rather here, let me refresh my, reset my context here. I want to explain Massachusetts State Senate session proceedings by simplifying the information from where on this page for an eighth grade audience, right. You'll notice Bing is actually coming up and saying, let's not save

[42:02](https://youtu.be/ghKS5DcQcO0?t=2522) this conversation. The reason being the PDF file is local to my computer and it doesn't want to make the assumption that that is a publicly available document, right. So just sort of highlighting some of the ways that we approach privacy in terms of sort of not maintaining that conversation history, right. So it's uploaded the copy of that document or included the text of that document in my prompt along with my ask to explain it in a simplified way, right. Giving it a persona, an eighth grade audience, which really is just to say, you know, use simple language and sort of stay away from sort of complex topics or if you were going to explain complex topics, do so in a simplified way. And it does a pretty good job. Now I didn't ask for a bulletized list, right, but it took the liberty to do that. It's actually doing a pretty good job. The state Senate met at 1106. You'll notice none of the language here is particularly called legalese, right. It's not particularly technical language by any means, but this is something that also, again, can be useful for us to generate insights based on some information, right. So I hope these examples, I see we're out of time, so I hope that these examples have been helpful. I think a lot of these examples we can leverage, you can take advantage of from a prompt engineering perspective or instructions with other large language models. I just think the value of leveraging Bing is that we get to, we get to bring our data into the game. So with that, I'll stop there. And by all means, if you have any questions, we also have Tyler McLaughlin, who's our data and AI specialist, who should be on the call as well. And he's here to help

**Audience**

[43:48](https://youtu.be/ghKS5DcQcO0?t=2628) answer any questions that you folks might have. Thank you so much, Brandon. And actually before you start, stop screen sharing, we had a question earlier, which was around like, what's the difference between asking questions in Copilot versus Bing.com? Could you, just for the sake of an example, could you take one of these that you've used in Copilot and just walk

**Brandon Brin**

[44:09](https://youtu.be/ghKS5DcQcO0?t=2649) people through what it would look like if they're going directly on Bing.com? Yeah, absolutely. So I think the best way to think about it is if I need to use, or if I want to use the context of information, whether that's a PDF document that I have open in the browser, maybe that's a website that I have open in my browser, that I need to use the edge sidebar because the Bing website, it doesn't have awareness of the context of the other sites that I have open in my browser. Right. So that's to say that the examples that we started with, right, the examples like, you know, translate text below into Portuguese, where we include that text in the prompt, right? Those are going to be, we're going to get similar results, both from the chat that's in the sidebar, as well as the chat that's on Bing.com. So like the way that I look at it is, do I? What do I need to use or reference information that's in my browser right now? If not, then I can just use the Bing site. And that's primarily the reason why I didn't use the Bing site is because most of the content was referencing external content.

**Audience**

[45:16](https://youtu.be/ghKS5DcQcO0?t=2716) That's really helpful. So could you just do like one, any kind of example on that? It doesn't have to be one of these just walk people.

**Brandon Brin**

[45:28](https://youtu.be/ghKS5DcQcO0?t=2728) There we go. So I'll close the sidebar just because it's a little redundant. Right. So if I had to Bing.com, I click on Copilot. I have a very similar experience here. So a good example. I just lost my notes. I'll ask to list each zip code in Portland, Maine, along with population size. And it goes and lists that. Aha, there's my Excel option. So there are some small differences. And I think this is something that I was looking for earlier that was missing. Right. I've asked it to list each zip code with population size. It inferred that I wanted a table. And oh, by the way, I have the ability to export that content directly into Excel. And now I have that information here ready for transformation or whatever initiative that I want.

[46:32](https://youtu.be/ghKS5DcQcO0?t=2792) And like I said, right, like the only catch here is that I can't reference I can't say reference data from this site. Right. Because there's no there's no way for me to show it what site that I'm on. So for that purpose, I would need the side, the edge sidebar version of Copilot. But for all intents and purposes, they're effectively the same.

**Audience**

[46:52](https://youtu.be/ghKS5DcQcO0?t=2812) Thank you. And just if if you could just one more time walk folks through how to get the Copilot chat window on the side.

**Brandon Brin**

[47:01](https://youtu.be/ghKS5DcQcO0?t=2821) Absolutely. So if you're using Bing and here I want to.

**Audience**

[47:08](https://youtu.be/ghKS5DcQcO0?t=2828) If you can zoom in a little bit more on your screen.

**Brandon Brin**

[47:12](https://youtu.be/ghKS5DcQcO0?t=2832) Just so that it's so that it's clear. So a little bit more legible. Apologies. So the way that we get to access the sidebar in Edge, we need to go all the way to the top right hand corner. And there's what we call the Copilot icon. It's the it's the icon that's in the in the top left top right hand corner. If you click on that, that's what gets you to the edge sidebar. Right. So you see you'll see some of the historical content I have here. If you haven't used it before. Right. This is how that screen or that window should look. Right. It should look very similar to when we access Copilot and Bing dot com. It's just two different ways to effectively get to the same engine. Just one gives us the ability to leverage content that's in the browser and that being the sidebar. And then the other is just sort of a standalone Web site. We also have a Copilot app for that's freely available for iOS and for Android that allows you to access the same capabilities which are powered by GPT-4 on your mobile devices as well.

**Unknown speaker**

[48:16](https://youtu.be/ghKS5DcQcO0?t=2896) OK, now I'm going to just stop the recording.

* * *

Original page: https://innovate-us.org/what-you-need-to-know-about-writing-a-prompt-for-ai-tools · Licence: CC BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0/), as stated on innovate-us.org
