Prompting is the technical name given to asking a question of an AI chatbot. You might know the expression "ask a stupid question - get a stupid answer" and the computer science acronym GIGO - garbage in, garbage out. Both are relevant to prompting. There's an old trope - you can find examples on the Internet - of adults following children's instructions literally - here's a dad following his kids' instructions to make a peanut butter and jelly sandwich. Prompting generative AI can be a bit like that, with you as the child (sorry!) and the AI as the adult (except unlike in the video, the chatbot doesn't know any better). You need to be clear and exact in your instructions. AI chatbots are pretty stupid; they'll do what you tell them to do, so you must be quite specific about what you want. Here are some tips on improving your prompting.
Decide what you want from the chatbot before you start prompting.
Just like when you ask someone a question, the more specific you are, the better the answer will be.
Example:
Chatbots are pretty stupid and asking more than one question at once will reduce the quality of the results they provide. If you have multiple questions, break them down into separate prompts. Humans can handle the multiple questions below, chatbots not so much.
Example Queries:
If you want to change the subject, start a new chat. Chatbots get confused easily and might be influenced by your last messages, using the same tone, structure and context.
If your question relates to a specific situation, providing context will help the chatbot output a more relevant response
Example Queries:
While chatbots, like people, can respond to short phrases, using complete sentences can improve clarity and ensure your request is processed correctly (just like with people!)
Example Queries:
Also called "few-shot prompting", if you provide a few examples of a task, you're showing the chatbot what you want in terms of output, tone, style and structure.
Examples:
Now, can you provide additional study tips?"
If a chatbot can't provide a suitable answer, try rephrasing the question or providing additional details. Experiment with different prompt styles.
Example Queries:
Look at the answer the chatbot gives you. There might be some scope to ask follow-up questions for more information or clarification.
Example Queries:
Suggest a persona (a role) that the AI should embody, to guide the style, tone, and focus of responses.
Example personas:
Example query:
"Explain Pythagoras' theorem in the style of a maths teacher."
Some people say that suggesting a persona might not make any difference to the accuracy of the result, but you can certainly use a persona to change the style and tone of a chatbot's answer.
If your question is complex, break it down into step-by-step instructions.
Example query:
"Summarise this article (step 1), list the key takeaways as bullet points (step 2) and then turn the summary and key takeaways into a short blog post (step 3)"
Chatbots can create their responses in a variety of different outputs, such as (but not limited to!):
Think about the best format for the answer to your question.
Example query:
"Give me 10 tips for better sleep, formatted as a list".
AI tools remember queries and other inputs and use these to help with training, so avoid including anything you wouldn't want to share with the world - private, sensitive, or confidential information - in your prompts.
Chatbots usually let you see a history of your conversations. You can go back to a previous conversation and continue it. Chatbots will also let you export and delete your history and turn off the saving of future conversations.
In general, AI chatbots don't search the web (though this is starting to change) - they primarily rely on their training data to generate responses. However, some advanced chatbots can be designed to search the web, but chances are you're not using an advanced chatbot. While chatbots are trained on huge amounts of data, they miss vast swathes of the web. Also, chatbots hallucinate, so the results a chatbot returns may not all be real. Don't ask for sources, either. Chances are some will be made up.
This is perhaps the most important thing to know about prompting and using chatbots. Generative AI chatbots can be useful, no doubt, but there will be times when you will need more personalised - and knowledgeable - assistance. If your question is complex or requires detailed help, a human will be able to provide a better answer than a chatbot.

There are several different prompting frameworks. A prompting framework is a set of guidelines that provide instructions and context to the chatbot to ensure that its output is relevant and accurate. Many frameworks are unnecessarily complicated or are designed for advanced chatbot users. The CLEAR framework is worth looking at, however.
The CLEAR framework is a structured approach designed to help users build effective chatbot queries. CLEAR stands for:
Chatbots are stupid and are prone to making stuff up. It's good practice to verify anything a chatbot tells you.
Image source: Third Space Librarian AI Prompt Engineering: It’s the new literacy