Skip to Main Content

Artificial Intelligence Literacy: Basics

Constantly updated guide to the right use of AI generated content in the study and research

How to Create Good Prompts?

What are prompts?

Prompts are the instructions or inputs given by a user to guide GenAI in creating content. This generated content, also called an “output,” can come in the form of text, images, music, or any other form of digital media.

Why are prompts important?

Prompts define the task for the GenAI and influence the outputs in terms of style, content, and detail. The more specific the instructions given to the tool, the better the outcome. Prompting GenAI at each step keeps the AI tool on topic and more likely to provide the most helpful output.

What is prompt engineering?

Prompt engineering is the systematic process of designing clear, contextually relevant, and actionable prompts or inputs for GenAI models. These prompts serve as cues or instructions that guide the behaviour of GenAI models, influencing the generation of outputs or responses. Formulating clear and effective prompts is crucial to obtaining the best possible output.

Lo (2023) defined prompt engineering as "the process of constructing queries or inputs (i.e. prompts) for AI language models so as to elicit the most precise, coherent, and pertinent responses. In essence, it is the art of fine-tuning the questions or commands provided to AI models in order to optimize their performance and guarantee that they produce the desired results." 

Effective Prompts

You will communicate with AI tools using prompts, this is an instruction to the model to produce the response based on the information you give. Writing effective prompts involves understanding both the GenAI model's capabilities and limitations and using this knowledge to construct prompts that guide it toward producing the most relevant and high-quality results.

  • A good prompt is clear and specific, and it provides some context, making it easier for the AI model to generate a useful response.
  • A poor prompt is too broad and unclear, and it provides insufficient context, making it challenging for the AI model to create a useful response.

When constructing a prompt, it might be helpful to remember this age-old adage "garbage in, garbage out"; in other words, the quality of the output is dependent on the quality of the input. Vague or poorly constructed prompts will lead to unhelpful, irrelevant, or disappointing outputs.

A good prompt should be CLEAR (Lo, 2023): 

C - Concise emphasizes the importance of conciseness, brevity, and clarity in crafting prompts. 
L - Logical focuses on the logical flow and order of ideas within the prompt
E - Explicit underscores the importance for clear output specifications and precise instructions on the desired response
A - Adaptive highlights the importance of adaptability, flexibility, and customization in creating and refining prompts
R - Reflective underlines the significance of continuous improvement and evaluation to enhance prompt engineering techniques
Working with conversational AI (AI tools using prompts), apply the same principle as when you search in library catalogue or databases:
  • the prompt should be precise, use clear words and as many details as possible;
  • analyse result and refine / change the request to get relevant answer from AI tools;
  • critically analyse the accuracy of results, the AI tools are missing expertise and often make mistakes.

Prompts Basics for Students

Prompts Basics for Instructors

Generative AI exists because of the transformer

Free courses and additional readings on prompt engineering

Library Homepage Facebook Youtube Instagram Twitter Telegram E-mail