All about prompt engineering
Prompt engineering refers to the practice of formulating specific instructions or queries to train AI-assisted language models. Prompt engineering is essential for the use of Artificial Intelligence. Prompt engineers use precise, optimized formulations to achieve desired results, often involving playing with the structure, tone and detail of the query to influence the response generated.
How to write prompts properly ?
Start with an action verb
To formulate an effective prompt, start with an action verb. This tells the AI your intention and what you want the result to be.
Feed your query with context
It's vital to feed your query with context so that the AI can understand the purpose of your request. You can include additional information on the subject, who the content is intended for, objectives, expertise and any other relevant elements.
Opt to use references
Giving examples and references helps AI to understand the context. References can be images, videos, documents or any other type of content.
Use quotation marks
Quotation marks are used to indicate to the AI that it should take into account the text between quotation marks, or to consider it as an example, reference or keyword.
Specify answer length
It's a good idea to specify the length of the response in order to determine how many tokens are needed to produce the answer. The length of the response may vary according to the purpose and type of request.
Requesting corrections
Prompt engineering is a process that asks for errors, corrections and requests for adjustments. If you're not happy with the AI results, consider fine-tuning your prompt to achieve the desired results.
Specify the tone
It's highly recommended to specify the tone to give your response a style. The tone of your content can vary depending on the objective of the query and your needs. For example, if you want your AI to generate a LinkedIn caption for you, you can specify the desired tone: playful, professional, informative…
Ask the AI to think step by step
Ask the AI to think step by step to get a more complete answer. For example, if you want to write content for a Landing Page, you can ask the AI to think about an outline, then its sub-sections, then finally the content.