Best AI prompt engineering techniques
For those who want to build an attractive resume… mastery of strategic software… albeit subtly: the so-called prompt engineering.

For those looking to build a resume that stands out in the job market, certain skills present themselves as almost indispensable differentiators. Proficiency in strategic software, such as Excel, or knowledge of languages, such as English and Spanish, are examples of skills desired and valued by companies. Within this context, a new area of knowledge has been gaining relevance, albeit subtly: so-called prompt engineering.
Just as it's essential to formulate efficient commands in search engines, such as Google and Bing, to find the desired information, knowing how to interact effectively with artificial intelligence is fundamental to making the most of these new technologies. This is exactly where prompt engineering comes in, focusing on the strategic design of instructions, the so-called “prompts,” aiming to maximize the accuracy with which models respond to users' requests.
Prompt engineering
Mastering this skill can be crucial for Brazilians, especially given the population's growing interest in Generative AI. According to Boston Consulting Group (BCG), 84% of the Brazilian population is already familiar with Generative AI applications, such as ChatGPT, surpassing the global average of 82%.
The country's appetite for technology was also measured by a survey from the Talk Inc studio, which revealed that 63% of the local population has already used some AI service for professional or personal purposes. Of this group, 70% say they only started using the resource less than a year ago.
These numbers indicate that AI has already become part of Brazilians' daily lives. As a result, mastering these tools has become fundamental, especially in the job market. While this skill was once limited to the technology field, today it is crucial for practically any professional, as it enables new levels of productivity and innovation.
Different approaches
The most exciting part is that mastering this new form of “language” doesn't require deep knowledge of programming or data science, but rather an understanding of the approaches for crafting effective commands.
Let's imagine AI as a digital genie in a lamp, ready to grant your wishes. Who hasn't seen a joke or meme poking fun at the magical character delivering a request incorrectly precisely because the wish wasn't precise enough? The same can happen with AI. In this case, prompt engineering focuses on preventing this from happening, ensuring the ability to formulate clear wishes so they're granted without surprises.
To do this, it's essential to know some of the different techniques that make up this concept and that help us understand how these tools work and handle commands. In this scenario, the main methods are:
Zero-shot prompting
Ideal for simple, straightforward tasks, this technique consists of formulating a clear and concise command without providing prior examples to the AI. Using the genie analogy again, it's like asking “bring me a coffee,” without necessarily explaining what type of coffee you expect to drink.
Few-shot prompting
When the task is more complex and requires a specific style, the few-shot method is ideal for making the solution more effective. This method consists of providing the AI with some examples that illustrate the type of response desired. It's as if the user showed the genie a type of coffee and asked for something similar.
Chain-of-Thought prompting
For tasks that require logical reasoning and problem-solving, chain-of-thought is the most suitable. The technique encourages the AI to “think out loud,” describing the step-by-step process and the reasoning behind building its response. It's like teaching the genie in the lamp the entire process of preparing and delivering a type of coffee, and then asking it to prepare another one similar to it.
Least-to-most prompting
Focused on complex and extensive problems, the least-to-most prompting technique consists of breaking the task down into smaller, progressive steps. In this process, the AI itself is used to divide an initial request into several stages, ensuring a response closer to what's expected. It's as if the person asked the genie: “Make me a cappuccino.” Instead of fulfilling the request immediately, the genie would draw up a roadmap with intermediate steps: “First, I must find the coffee beans. Then, select the best ones. Next, grind the beans…” until finally arriving at the delivery of the cappuccino.
Self-consistency
In this approach, the user asks the AI to generate several solutions to a problem and then choose the most consistent one. The goal is to ensure the final answer is as accurate as possible. Using the genie analogy, it would be like asking: “Make the coffee ten times following this recipe. Then, check how many stayed true to the recipe. Those are probably the correct results.”
By mastering prompt engineering techniques, you not only optimize your interactions with AI, but also become an active agent in creating innovative solutions. Think about how you can apply these skills in your daily life and how they can transform your relationship with technology. After all, the future of AI is in your hands, and your words have the power to shape it.
Translated from the Brazilian Portuguese original · Read the original
