Principles of Prompt Engineering – Give Direction

It is needless to say AI is changing the world. Some people say this is the 4th industrial revolution. However, it would be more accurate to say the 1st AI revolution, because this will be a complete game-changer. It is very important to know how to use the AI. It will give you the answer based on the quality of the question. Prompt engineering is the newly arising field to communicate with AI to extract reliable, maximum result. I am not an expert prompt engineer and this post is more like a learning note for me.

Need to give clear direction

Think of AI as an intern who doesn’t know what to do unless there is clear direction/instruction. The first principle is giving the clear direction. Let’s say I am trying to create a name of a new product I made – a cool backpack for men. And I decided I will ask ChatGPT to brainstorm together. Here is a basic prompt and answer from the GPT

It does give me some idea. But am I really satisfied with this? probably not. This indicates my question is not clear enough so the GPT wasn’t able to give me a good quality product list. I am going to polish little more. I am going to use the template to reliably yields meaningful/useful results. In this kind of case, it will be great to use prompt template in case you want to do the same for different products.

example prompt template

I want to brainstorm a list of product names for a {product, ex) backpack for men}, 
in the style of {famous_inventor, ex) Steve Jobs} <-- this is direction

Return the results as a table, in this format: <-- this will be discussed in next principle
product name, product description, rating

ratings should be based on the coolness, catchiness, uniqueness, scaling from 1 to 5

The better direction/detail you give, the better result you will get from GPT. It will be even better if you can provide some example styles GPT can refer to.

Leave a Reply

Your email address will not be published. Required fields are marked *