Prompt Engineering - Going Deeper and Deeper

Tuesday, 16/04/2024 | 08:00 GMT by Louis Parks
  • Leveraging the power of AI to make your life easier.
  • ChatGPT is intimidating, but it doesn’t have to be.
  • Get the most of ChatGPT by learning how to ask questions.
ai

Prompt engineering. What is it? It’s a fancy way of saying “asking questions”, or perhaps, “asking better questions”. In this article, the latest in a series, we’re diving into the art of getting great answers out of ChatGPT. In order to put these pieces together, I’ve been taking an online course, the details of which are in the first post and you can find the second post here.

It’s important to note that the course is huge and these are very much the Cliffs Notes.

So, here we go. Prompt Engineering Part 2.

They're on to something.

Output Templates

What are output templates? Basically, they’re ways of telling ChatGPT exactly how you want your answers presented. In the previous article we covered custom instructions, which gives general instructions on how you want ChatGPT to answer. However, just like creating a template for questions, you can also do the same for answers.

So, if ask ChatGPT to recommend some great restaurants in Nicosia, for example, you could ask as follows:
“Give me five restaurant recommendations in Nicosia, in the following template:

Name:

Street Address:

Type of Cuisine:

Additional Notes:

Average Cost:”

You could do this for anything and get as granular as you like. Remember, you can refine your request by hitting the pencil icon next to your initial prompt.

Step by Step

This is a great tool for teaching someone, or for learning about new topics or techniques.

By writing “Go step by step”, or something similar, you can get ChatGPT to “show me your working”, remember those math exams back in the day? Pretend you’re getting extra credit.

For example, “Explain to me, step by step, the process of making parmesan cheese”, results in a really simple, but detailed, explanation of how it’s made. But you can do this for anything. Imagine how simple it would make creating basic guidelines or introductions to courses.

Act As

This prompt technique involves asking ChatGPT to act in a specific role, such as a financial advisor, a motivational coach, or a dietician, the potential is endless. What it does is it allows you to ask it for specific, specialist advice.

So, rather than ask for generic advice on how to stay fit, which can result in straightforward answers that lack any real bite, you can ask for advice from a fitness trainer on how to stay fit. The answers will differ dramatically. The first will result in generic answers, the other will result in simple guidelines that might actually help, as they’re tailored toward providing more expert advice intended to create an impact.

Perspectives

This is great for quick and dirty focus grouping. Essentially, you’re asking ChatGPT to offer differing views on any given subject. For example, you could ask it to give views on investing in Bitcoin from the perspective of a central banker, a crypto enthusiast, a professional trader and a layperson. You can also ask it to lay out the pros and cons of any given issue or question from the perspective of a certain individual. The output might well surprise you, and could well be of value to your marketing department as they craft their campaigns.

The Fourth Grader

This is a great tool.

By asking ChatGPT to “explain it to me as if I’m a fourth grader”, you can simplify complex subjects into clear, easy to understand chunks. Yes, you are “dumbing down” the content, but you’re essentially creating a primer, or an introductory text on any given subject. It’s a fantastic way of introducing a new topic.

And, imagine the synergies you can achieve by combining Step-by-Step, Act As, Perspectives and The Fourth Grader. ChatGPT suddenly becomes a great educational tool and a great source of educational content for things like in-house manuals.

Follow Up Questions

Sometimes, when we’re deep in our head about any given task, we can think that we’ve given out all the information someone (or a piece of software) might need to complete a task. This isn’t always the case.

For example, if you’re requesting that ChatGPT write you an article on, say, outdoor activities that are suitable for the entire family, you might forget to tell it that you live in Cyprus. Or, if you’re putting together a social media campaign for a shoe brand, you might forget to tell it that you’re targeting women aged 30 plus. You get the point.

The easy way to get around this issue is to tell ChatGPT to ask you follow up questions if it needs to. It’s that simple. The added benefit is that you don’t have to think of everything yourself, the program will come back to you if there’s an obvious blind spot.

That’s a lot of information, but it’s also only scratching the surface of prompt engineering and leveraging ChatGPT. It’s a fantastic tool for traders, forex professionals, human resource teams, marketing departments and more.

Check out the course for more and follow this series as we dig deeper.

Prompt engineering. What is it? It’s a fancy way of saying “asking questions”, or perhaps, “asking better questions”. In this article, the latest in a series, we’re diving into the art of getting great answers out of ChatGPT. In order to put these pieces together, I’ve been taking an online course, the details of which are in the first post and you can find the second post here.

It’s important to note that the course is huge and these are very much the Cliffs Notes.

So, here we go. Prompt Engineering Part 2.

They're on to something.

Output Templates

What are output templates? Basically, they’re ways of telling ChatGPT exactly how you want your answers presented. In the previous article we covered custom instructions, which gives general instructions on how you want ChatGPT to answer. However, just like creating a template for questions, you can also do the same for answers.

So, if ask ChatGPT to recommend some great restaurants in Nicosia, for example, you could ask as follows:
“Give me five restaurant recommendations in Nicosia, in the following template:

Name:

Street Address:

Type of Cuisine:

Additional Notes:

Average Cost:”

You could do this for anything and get as granular as you like. Remember, you can refine your request by hitting the pencil icon next to your initial prompt.

Step by Step

This is a great tool for teaching someone, or for learning about new topics or techniques.

By writing “Go step by step”, or something similar, you can get ChatGPT to “show me your working”, remember those math exams back in the day? Pretend you’re getting extra credit.

For example, “Explain to me, step by step, the process of making parmesan cheese”, results in a really simple, but detailed, explanation of how it’s made. But you can do this for anything. Imagine how simple it would make creating basic guidelines or introductions to courses.

Act As

This prompt technique involves asking ChatGPT to act in a specific role, such as a financial advisor, a motivational coach, or a dietician, the potential is endless. What it does is it allows you to ask it for specific, specialist advice.

So, rather than ask for generic advice on how to stay fit, which can result in straightforward answers that lack any real bite, you can ask for advice from a fitness trainer on how to stay fit. The answers will differ dramatically. The first will result in generic answers, the other will result in simple guidelines that might actually help, as they’re tailored toward providing more expert advice intended to create an impact.

Perspectives

This is great for quick and dirty focus grouping. Essentially, you’re asking ChatGPT to offer differing views on any given subject. For example, you could ask it to give views on investing in Bitcoin from the perspective of a central banker, a crypto enthusiast, a professional trader and a layperson. You can also ask it to lay out the pros and cons of any given issue or question from the perspective of a certain individual. The output might well surprise you, and could well be of value to your marketing department as they craft their campaigns.

The Fourth Grader

This is a great tool.

By asking ChatGPT to “explain it to me as if I’m a fourth grader”, you can simplify complex subjects into clear, easy to understand chunks. Yes, you are “dumbing down” the content, but you’re essentially creating a primer, or an introductory text on any given subject. It’s a fantastic way of introducing a new topic.

And, imagine the synergies you can achieve by combining Step-by-Step, Act As, Perspectives and The Fourth Grader. ChatGPT suddenly becomes a great educational tool and a great source of educational content for things like in-house manuals.

Follow Up Questions

Sometimes, when we’re deep in our head about any given task, we can think that we’ve given out all the information someone (or a piece of software) might need to complete a task. This isn’t always the case.

For example, if you’re requesting that ChatGPT write you an article on, say, outdoor activities that are suitable for the entire family, you might forget to tell it that you live in Cyprus. Or, if you’re putting together a social media campaign for a shoe brand, you might forget to tell it that you’re targeting women aged 30 plus. You get the point.

The easy way to get around this issue is to tell ChatGPT to ask you follow up questions if it needs to. It’s that simple. The added benefit is that you don’t have to think of everything yourself, the program will come back to you if there’s an obvious blind spot.

That’s a lot of information, but it’s also only scratching the surface of prompt engineering and leveraging ChatGPT. It’s a fantastic tool for traders, forex professionals, human resource teams, marketing departments and more.

Check out the course for more and follow this series as we dig deeper.

About the Author: Louis Parks
Louis Parks
  • 299 Articles
  • 7 Followers
About the Author: Louis Parks
Louis Parks has lived and worked in and around the Middle East for much of his professional career. He writes about the meeting of the tech and finance worlds.
  • 299 Articles
  • 7 Followers

More from the Author

Trending

!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|} !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}