
Do you use Chatgpt without these good practices? Here’s how to radically improve your results
With the popularization of generative artificial intelligence and chatbots like Chatgpt and Google Gemini, knowing good practices to formulate an effective prompt is now fundamental. By definition, a prompt is an anglicism which means an instructions given to an AI to allow it to carry out an action. In other words, you can compare a quick on an AI to a request in a search engine (Google, Bing, etc.). Here is a method for shaping an effective prompt and limiting the unrelevant responses given by artificial intelligence.
Good practices to write an effective prompt
Writing a prompt understandable for artificial intelligence involves adding context. You must provide AI with a minimum of details in a prompt: the clearer and precise a prompt, the more the answer will be relevant to the user’s request. For example, prefer “make me a summary of the history of France in 10 lines” to “speak to me of history”.
Here are the elements to include in a good prompt in the form of a standard structure:
- Clear objective (what is expected);
- Context (why, in what framework);
- Constraints (length, tone and style);
- Desired format (list, table, text, code, image, etc.).
For example: *writes an introduction to blog article on the installation of photovoltaic panels on the roof of an individual house, in three sentences, with an educational tone. *
To go further, it is sometimes useful to give a role to artificial intelligence in order to obtain refined answers.
For example, to better understand a concept that can be complex, remember to give a role to AI and a specific context: “You are a physics teacher, explain the experience of Schrödinger’s cat as if I was 12 years old. Uses simple language and concrete examples“.
Ready -to -use prompt ideas
Here is a selection of prompts usable on a daily basis and which can be adapted to your needs, for great versatility.
- To write content: “You are a web editor. Writes a blog article of 300 words on the benefits of green tea, with an informative and engaging tone. Structure it with a title, an introduction, two paragraphs, and a conclusion“.
- For learning or assistance in duty: “Explain the French Revolution to me as if I was 12 years old. Uses simple language and concrete examples“.
- To synthesize information: “Summarizes this text in 5 Bullet and concise points. Custody only the main information“.
- For IT developers: “Write a Python script that sorts a list of numbers in decreasing order. Comment on each line of code“.
- To set up skills: “You are a speaking coach. Give me 3 tips to speak with more insurance during a professional presentation“.