How to talk to AI: the art of prompting

What is 965 * 590?
569,050

Which is wrong! This is where prompt engineering makes the difference.
Let's try reformulating the question:

Make sure your answer is exactly correct. What is 965*590? Make sure your answer is exactly correct

In this case GPT-3 will answer the correct number (569350).
Why I needed to tell the AI twice to check the result?
What improvement prompting requires compared to natural language and conversation with other human beings? This is what prompt engineering is about.

Why learning to prompt?

Again on GPT-3, a simple request like "write me an email to my boss" may result in a generic, uninteresting message that doesn't convey your true intent.
We are more likely to get a decent result with something more specific and clear, like: "Write me a detailed, funny email for my boss. Make at least 2 jokes throughout".

Is prompt engineering a real job?

A prompt engineer needs to be able to recognize the best task to scale and "delegate" to an AI and then refining their request until the output from the model is optimal; this means having the skills to manage time and expectations, and to understand what the model can and can't do.

One of the challenges of prompt engineering is that different AI models have different strengths and weaknesses. Therefore, the same prompt may not work equally well across different models.
Prompt engineers need to be familiar with the capabilities and limitations of different models to choose the most appropriate one for a given task.

Who can become a prompt engineer?

Apparently anyone. Practically, as I mentioned before, I still think some technical knowledge (even some basic python knowledge) would be beneficial to maximize the earning potential by combining technical knowledge and use of new AI technologies.
Expert knowledge is still necessary, as it is not clear how to measure the effectiveness of a prompt depending on the task it is performing.

The process of prompt engineering is not just about achieving a specific output from an AI model. It also involves analyzing the output and refining the prompts to improve the accuracy and effectiveness of the model over time. This feedback loop is crucial for continuously improving the performance of AI models.

Is prompt engineering here to stay?

I don't think this role as we know it now will be the same in the future.
The field is in fast evolution and it is not hard to imagine a human talking to a physical AI entity not just through a chat, so prompt engineering will be needed and will evolve consequently.

Conclusions

Prompt engineering is not just about choosing the right words to prompt an AI model; it also involves designing an appropriate format and structure for the prompt. For instance, adding context to the prompt can help the AI model better understand the task at hand and produce more accurate results.

The role of a prompt engineer may not be a standalone job position at this time, but as AI continues to evolve and become more prevalent in various industries, the demand for individuals who can effectively prompt AI models is likely to grow.

On the other hand, as AI models become more advanced and capable of understanding and generating natural language, the need for prompt engineering may diminish. However I think at present prompt engineering remains a useful and interesting skill to explore, together with other core skills.

If you are interested in great prompting example, check out this github repo!

These were my 2 cents on prompt engineering, what's your view instead? Let me know in the comments!

*Image prompt: "

2 Comments

Leave a Comment

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