A well-crafted AI prompt will allow you to obtain relevant and quality results.
Properly formulating your request helps effectively guide the language model and avoid off-topic or incomplete responses.
We will explore together the best practices for writing effective AI prompts, as well as concrete examples for different use cases.
Clearly define your objective and expected result
Have a precise objective
Before writing a prompt, you need to clearly define the objective to achieve.
A precise objective helps guide the LLM toward the desired result and avoid responses that are too general or off-topic.
Examples of well-defined objectives
| Vague objective | Precise objective |
|---|---|
| Write an article about climate change | Write an article of 800 words explaining the causes and consequences of global warming, intended for a high school student audience |
| Generate recipe ideas | Suggest 5 original vegetarian recipes based on seasonal vegetables, for 4 people, with a preparation time under 30 minutes |
| Create a logo for a company | Design a logo for a vegetarian meal delivery startup called “GreenBite“. The logo must incorporate a green leaf and stylized cutlery, use the colors dark green (#006400) and light orange (#FFA500), and be suitable for use on social media and delivery packaging. |
Use relevant context elements to guide the AI
The role of context in an AI prompt
Providing relevant context in the prompt gives the language model the information needed to generate an appropriate response.
Context can include details about the target audience, the tone to adopt, the expected format, etc.
Examples of context elements to include
- Purpose or goal of the content (inform, persuade, entertain, sell)
- Target audience characteristics (age, knowledge level, interests)
- Desired tone and writing style (formal, humorous, educational)
- Expected content format and length (article, summary, script)
- Specific constraints (budget, deadlines, available resources)
- Cultural or geographical context (country, region, specific culture)
Choose the right keywords and appropriate terminology
The impact of keywords on result quality
The choice of keywords in an AI prompt will allow you to obtain more or less relevant and quality results.
Precise keywords adapted to the domain help effectively guide the language model toward the desired information.
Tips for choosing the right keywords
- Use vocabulary specific to the relevant domain (e.g., “mitosis” rather than “cell division” in biology)
- Avoid vague or ambiguous terms (e.g., replace “good” or “interesting” with more precise adjectives)
- Prefer descriptive and informative keywords (e.g., “extended-range electric vehicle” rather than simply “car”)
- Vary synonyms to cover different aspects of the subject (e.g., use “ecological,” “sustainable,” and “environmentally friendly” in a text about sustainable development)
Provide sufficient context and examples
Examples in an AI prompt
Including concrete examples in a prompt helps precisely illustrate the type of result expected.
Examples help the language model understand the desired structure, style, and level of detail.
How to integrate effective examples
- Choose examples representative of the final result (e.g., for a blog article writing prompt, include an article excerpt with title, paragraphs, and keywords to make it more human)
- Vary examples to cover different aspects of the subject (e.g., for a prompt about renewable energies, give examples about wind, solar, and hydroelectric power)
- Structure examples in a clear and logical manner (e.g., present examples in chronological order or from simplest to most complex)
- Use consistent formatting to facilitate model comprehension (e.g., systematically use bullet points for lists, quotation marks for citations, and bold text for important points)
Techniques for managing long and complex prompts
The challenges of long and complex prompts
Long and complex prompts can be difficult for language models to handle.
They risk generating incoherent, off-topic, or incomplete responses.
Tips for effectively structuring long prompts
| Technique | Example |
|---|---|
| Divide the prompt into distinct sections | Introduction, Context, Objectives, Instructions, Examples, Conclusion |
| Use clear tags and separators | <section>, <example>, —, === |
| Prioritize information by order of importance | Place key elements at the beginning of the prompt, followed by supplementary details |
| Limit sentence and paragraph length | Prefer short sentences and paragraphs of 2-3 sentences maximum |
| Request one section at a time | Since LLMs are limited, you will generally get better results by dividing your sections then requesting the prompt related to these sections one by one |
Methods for evaluating the quality and relevance of generated results
Evaluation criteria for AI prompt results
- Alignment with the initial objective
- Coherence and logic of generated content
- Writing and syntactic quality
- Originality and relevance of proposed ideas
- Compliance with requested constraints and format
7 examples of well-designed AI prompts
For students:
- Essay writing: Can you help me craft a compelling introduction on the topic of the impact of social media on adolescent mental health, with a structured plan in three main parts and concrete examples?
- Essay writing 2: I need to write a 1500-word essay on the impact of the digital revolution on education. Can you help me structure this essay with a catchy introduction, three main parts addressing the advantages, disadvantages, and future prospects, as well as a conclusion that opens up a debate? I would also like to include concrete examples and recent statistics.
- Text revision: I just wrote a 300-word summary of the novel ‘The Stranger’ by Albert Camus. Can you review it and give me suggestions to improve the clarity, coherence, and relevance of the ideas?
For service sector employees:
- Writing a professional email: Help me write an email to inform our team about the organization of a project follow-up meeting, specifying the date, time, agenda, and emphasizing the importance of everyone’s participation.
- Meeting preparation: Can you create a meeting plan for a brainstorming session on the marketing strategy of our new product? The plan should include the objectives, discussion points, and space for participants’ ideas.
- Writing an analysis report: I need to write a 10-page analysis report on our company’s financial performance over the last quarter. The report should include: a general introduction, a detailed analysis of revenues, expenses, and profitability by department, graphs to illustrate trends, and a conclusion with recommendations for the next quarter. Can you help me structure this report and provide wording suggestions for the key sections?
For teachers:
- Can you help me create an interactive 10-question quiz on the Industrial Revolution for 8th-grade students, making sure to include multiple choice, true/false, and open-ended questions?




