Skip to Main Content

Artificial Intelligence: Generative AI

What is generative AI?

A banner with an image of two lego stormtroopers doing inventory on the left and on the right there banner has black text on white background that rea

Artificial intelligence (AI) is technology that enables computers and machines to simulate human learning, comprehension, problem solving, decision making, creativity and autonomy.

Generative AI, sometimes called gen-AI, refers to artificial intelligence models that can learn from pre-existing data and information and then generate new content (but not new information!) - such as text, images, video, audio or software code - in response to a user’s prompt or request.

AI is powered by a field of study and practice called machine learning, which involves creating models by training an algorithm to make predictions or decisions based on data. It encompasses a broad range of techniques that enable computers to process, analyse and learn from data without being explicitly programmed for specific tasks.

Generative AI is developed in three phases - training, tuning, and assessment. Each of these phases is important to get right. Generative AI is a powerful technology that has the capacity to change the way we think about education, learning, teaching, and research - in good and bad. It still makes mistakes and under certain conditions it can make stuff up, but if it is used right, it creates endless opportunities for enhancing the research process, automating tasks, and supporting students in ways that we don't even fully understand yet.

Toggle the accordions below to learn more about how generative AI is developed.

The simplest form of machine learning is called supervised learning, which involves the use of large datasets of labelled and categorised data to train algorithms which classify data or predict outcomes. The goal is for the model to learn to map inputs (user prompts) with outputs (the generated response) in the training data, so it can predict how to respond to data it has never seen before (e.g. a user prompt it has not been specifically trained to respond to.)

Generative AI begins with a "foundation model"; a learning model that serves as the blank canvas for different types of generative AI applications. The most common foundation models today are large language models (LLMs), created for text generation applications - such as ChatGPT. But there are also foundation models for image, video, sound or music generation, and multimodal foundation models that support several kinds of content. To create a foundation model, AI developers train an algorithm on large volumes of relevant raw, unstructured, unlabelled data, such as text, images, or video from the internet. The training yields an artificial network of billions of parameters - encoded representations of the content, patterns, and relationships in the data - that can then generate content in response to prompts. This is the foundation model.

In fine-tuning stage, an AI model is fed application-specific data that is labelled - questions or prompts the application is likely to receive, and corresponding correct answers in the wanted format. Fine-tuning is very labour-intensive, involved strict human oversight, and can take a very long time.

One method for fine-tuning is reinforcement learning with human feedback (RLHF), which is human users evaluating the accuracy and relevance of model outputs so that the model can improve itself. Often, RLHF involves people ‘scoring’ different outputs in response to the same prompt so that the model learns not only what information is helpful and relevant to particular query, but also how to present that information. It can also be as simple as having people type or talk back to a chatbot or virtual assistant to correct its outputs.

Developers and users regularly assess the outputs of generative AI applications and further tune the model for greater accuracy or relevance. In contrast, the foundation model itself is updated much less frequently. For example, Anthropic's Claude AI assistant might get an update as often as once a week, but the foundation model it runs on (Claude 3.7 Sonnet at the time of writing) might only be updated annually. Another option for improving a gen-AI application's performance is retrieval-augmented generation (RAG), a technique for using relevant sources outside of the foundation model's original training data to refine its parameters for greater accuracy or relevance.

Large language models can be inconsistent. Sometimes they find the right information that pefectly captures the user query, sometimes they produce utter nonsense that only sounds good on the first glance. User queries can be ambiguously worded, complex, or require knowledge the model either doesn’t have or can’t easily process - the context and nuance that still separates human intelligence and artificial intelligence. These are the conditions in which LLMs are prone to making things up. If they occasionally sound like they have no idea what they’re saying, it’s because they don’t. LLMs know how words relate statistically, but not what they mean. RAG is a technique for improving the quality of gen-AI responses by grounding the model on external sources of knowledge to supplement the data the model has been pre-trained on. RAG implementation in an LLM-based question-answering system has two main benefits: It ensures that the model has access to the most current, reliable facts, and that users have access to the model’s sources, ensuring that its claims can be checked for accuracy and ultimately trusted.

Choose a generative AI tool

Overview

ChatGPT is an AI assistant developed by OpenAI. It was one of the first of a new generation of AI tools that started making waves in November 2022. It can write, summarise and analyse text, brainstorm ideas, generate images, and answer complex questions.

The basic version of ChatGPT is available for free, whereas access to the more powerful models has a premium attached.

Responsible AI development

OpenAI's website includes information about their commitment to privacy and security of data as well as to building safe AI, including minimising bias and safeguarding elections by combatting misinformation spread via AI.

Learn more about OpenAI's privacy and security or read more about their approach to safety and responsibility.

Strengths and weaknesses

+ A very powerful model that much of prompt engrineering is tested on

+ Many other tools and models are built on the ChatGPT foundational model

- Not all ChatGPT models have access to the Internet

- No information available on how user prompts are used or where the ChatGPT training data is collected from


Learn more about ChatGPT on OpenAI's own website

Overview

Co-pilot is Microsoft's generative AI assistant. Co-pilot understands a wide range of questions and requests, can provide direct answers in many formats using multiple languages, and even creates images.

Microsoft 365 Copilot Chat is an AI chat available for free with Microsoft 365, which the University has access to. Co-pilot also integrates with the Microsoft 365 apps such as Word, Excel, Powerpoint, and Outlook.

Responsible AI development

Co-pilot searches for relevant content across the web and then summarises the information it finds to generate responses. It also cites its sources so you’re able to see and explore links to the content it references.

Learn more about Microsoft's principles and approach to responsible AI.

Strengths and weaknesses

+ Co-pilot has access to the internet

+ Integrates with other apps you probably already use

- Not all of the niftiest prompt engineering hacks work in co-pilot

- Questions remain around ethics and copyright, especially around image creation


Learn more about Co-pilot on Microsoft's help pages

Overview

Claude is a generative AI chat created by Anthropic. It is designed to perform complex tasks that go beyond pattern recognition and text generation - it can analyse images and text, generate code, and process information in multiple languages.

Claude is available at no cost with some usage limits. Unlimited use and the more advanced models with more capabilities are only available on paid plans.

Responsible AI development

Anthropic advertises Claude as a particularly secure, trustworthy, and reliable family of generative AI models. Their commercial terms make it clear they do not customer inputs or outputs to further train their models. 

Anthropic has a trust centre where it lists model documentation and compliance items. You can also learn more about Anthropic's commitment to transparency and responsible scaling.

Strengths and weaknesses

+ Prioritises security, privacy, and transparency

+ Doesn't use user inputs or outputs to train their models

+ Has specific plans aimed at educational institutions

- The free plan is limited in its scope


Learn more about Claude on Anthropic's website

Overview

Gemini (previously Bard) is Google's solution to the personal AI assistant. It is built with advanced language understanding and reasoning and can process information from text, images, video, and sound to answer queries from weather updates to study plans.

The lighter version of Gemini is available for free with some usage limits. The premium version, Gemini Advanced, is only available on a subscription basis.

Responsible AI development

Google's AI hub includes a wide range of information from AI advancements at Google to particular applications of AI, such as using AI to support sustainability. To help you decide whether Gemini is the right choice of generative AI for you, you may wish to consult Google's public AI principles.

Strengths and weaknesses

+ Google's AI principles mention aligning AI development with social responsibility, promoting privacy, and reducing bias

+ Integrates with other apps you probably already use

+ Has access to the Internet

- Does not mention where and how information is collected from or how user inputs and outputs are used

Overview

These tools either have less information available about them online or our team hasn't yet had the chance to comb through and analyse the documentation of these tools to give them their own tabs. All of the tools listed below have a free version or trial available.

DeepSeek - an AI chat produced by a Chinese AI company capable of completing tasks to a similar level as other LLMs listed, though it has been in the news recently with some privacy concerns around data processing and storing.

Perplexity - a blend of a traditional search engine with the conversational abilities of generative AI. It is not as conversational as other LLMs and doesn't support all prompting techniques, nor can it generate images. The free version of Perplexity is based on the free version of ChatGPT whereas the paid subscription also runs queries on the premium version of ChatGPT, Claude, and an open source version of DeepSeek's model which comes without the privacy concerns attached to DeepSeek itself.

YouChat - You is an AI enterprise platform more directed at AI developers, but the chat function is available via creating a free account. It doesn't respond to all of the prompt engineering strategies covered later in this guide and the free version isn't as powerful as some of the other options out there.

Poe.ai - Poe brings together access to most of the other models and tools like ChatGPT, Claude, Gemini, and DeepSeek under one roof. The free version covers most usage, but for more advanced tasks you would need a paid subscription. You can learn more about Poe's privacy policy in the privacy centre that details information about how your data (personal information, inputs and outputs) is used.

How to write prompts

How to write prompts


prompt is a user-generated input or instruction given to a generative AI tool to guide its output or response to the user. It can be a question, a sentence, a paragraph, or even a set of keywords, depending on the type of AI being used.

Prompts are important because they shape the how the AI tools responds to the query. A well-crafted prompt can lead to more accurate, creative, and useful results. In academic or professional settings, understanding how to write clear and ethical prompts is key to using generative AI responsibly.

Following the role-task-format structure can help you write more efficient and effective prompts that yield more relevant and useful responses by ensuring that you give the AI tool helpful background information, a clear call to action, and precise instructions about how to present its response.

Role - gives the tool a context and perspective, which limits the sources the tool draws information from and the tone of the output.

Task - specific instructions for what you want the tool to achieve.

Format - details, presentation, length of response – offers the tool something to build on, such as how the information should be presented (text, image, a table, bullet points?). These can also be additional instructions and steps such as "ask me questions before you answer" or "ignore previous prompts“.

Remember – prompts and outputs have first drafts too. Experiment, iterate, review, adjust.

The CLEAR framework is a way of evaluating the prompts you've written and ensuring they are efficient and effective - after you've written a prompt, take a minute to ask yourself if your prompt is...

Concise - while additional detail can provide context, cluttering your prompt with superfluous details can confuse the tool or cause it to get lost in the details.

Logical - providing information in a structured format with a logical flow will improve your results.

Explicit - to get specific, clear responses you will need to give specific, clear instructions: define the task, set parameters, and give a precise call to action.

Adaptive - being flexible and willing to try multiple approaches will reduce hallucinations and produce more relevant outputs.

Reflective - be critical! After you've received a response from an AI tool, make sure you evaluate and fact-check it. Remember that prompting is a continual process.

There are hundreds of ways to approach prompting generative AI, even after you've learnt how to structure individual prompts. Listed below are some of the more common and useful techniques and why you might choose to use them.

Zero-shot or one-shot prompting – These are quite literally what they sound like - in zero-shot prompting no examples are given, whereas one-shot prompting provides a singular example, with both relying on a single, well-crafted prompt to achieve the desired output. These are the quick and easy ways of prompting generative AI without elaborate set-ups for simple queries.

Chain-of-thought prompting – start from a problem statement and ask the tool to showcase its “thinking” step-by-step as it answers your query. This can help you understand how the tool comes to the conclusion it does and allows you to pinpoint where exactly the tool loses the plot if you get a non-sensical answer.

Decomposed chain-of-thought prompting – as above, but you ask the tool decompose your question into sub-questions and answer each sub-question as a self-contained query. As above, this will help you understand how the tool comes to the conclusion it does, but with more depth for more complex or multi-stage queries.

Context-expansion – start from a premise and ask the tool to identify "5 Ws and a How" to build on your original premise. This can be a helpful technique for brainstorming and developing research questions or when you're starting out a new assignment to understand what information you will need to gather to complete your work.

"Be on your toes" prompting – ask the tool to be on its guard and look for ulterior motives when it answers your query. This makes the tool fact-check its own responses before answering which can reduce hallucinations.

Echo prompting – add a line such as “Repeat the question before you start to answer the question and then think step by step” at the end of your prompt. This will help you ensure the tool has understood the task you've given it.

Prompt library

To help you get started with generative AI, we have compiled a list of suggested prompts or prompt starters that you can experiment with. These have initially been put together by our Librarians and Academic Skills Advisors, but over time we'd like you to add to this library and make it a shared, crowd-sourced resource for all our students and staff to use.

DISCLAIMER: always check with your module leader, tutor, or supervisor first to see if using generative AI or AI full stop is appropriate for your particular topic, assignment, or research when taking into account the learning objectives and marking criteria of the work you're undertaking. We have provided these prompts to help you experiment, learn, and get familiar with generative AI and would recommended you only use them in your academic work when you are sure it is appropriate for you to do so. 

 

Break down learning outcomes for an assignment: You are a world expert in [insert subject] and work at a higher education institution in the UK. You are going to offer a breakdown and explanation of the following learning outcomes. When you do this, you will need to: 1. Identify the key components of the learning outcome, 2. break down the verbs and provide examples of what this might involve in [insert type of assignment], 3. clarify the content and context of each learning outcome, and 4. consider the key skills that need to be mastered in relation to each learning outcome when studying at [insert your level of study]. Specify the level of mastery that a student should be demonstrating at this level, for example, is understanding enough or is a student expected to critique as well?

The learning outcomes for this assignment are: [insert learning outcomes]

Follow up for the above to reflect on learning outcomes: Ask me a number of questions that will help me reflect on what I have been taught so far and understand this relates to each learning outcome.

Using AI as a study coach to understand your topic better: ROLE: You are an expert teacher in [enter subject]. You are going to be a Socratic study coach. TASK: Your goal is to engage in Socratic dialogue with me about information on [insert topic]. You need to ask probing questions, encourage critical thinking, and guide me towards understanding the content deeply. FORMAT: Engage in back-and forth conversation, asking questions, and providing explanations as needed.

Relate the dialogue to an assignment: What steps would I need to take to complete [insert type of assignment] on this topic

Break down assignment tasks: I'm [insert level of study] University student in the UK completing [insert the type and length of assignment] due in [insert how long in days/weeks]. Write a detailed action plan of what to research and write, including how long each action should take, based on the following draft plan.

The draft essay plan: [insert essay plan]

Tip: to create a generic action plan you don't need an essay plan, but it helps to make the plan, timings, and actions more specific to your particular assignment!

Identify keywords: You are an expert on [insert topic]. You are searching for academic literature for an essay on [insert research question or essay title]. Create a list of keywords to use for a search.

Create a search strategy for a systematic literature search: ROLE: You are an expert researcher on [insert topic]. You are going to provide guidance to a student on finding sources. OBJECTIVE: Provide a comprehensive search strategy for a systematic literature search that outlines the different steps of a systematic literature search and explains the purpose and importance of each step. FORMAT: The search plan should be broken down to sections and include a search table complete with search strings.

Create a template structure for an essay: ROLE: You are a world expert on [insert topic] who teaches at a University in the UK. You are going to provide support for a student. OBJECTIVE: You are to provide a structured essay plan, broken down to sections totalling [insert word count]. The essay plan must include an introduction and a conclusion. The main body should consist of [enter the number of sections]. DETAILS: When producing the plan, you need to consider the essay title [insert research question], the learning outcomes which are demonstrating understanding of key concepts in the field, knowledge of relevant theories and practices, ability to find, select, and critique high quality information sources, analyse and synthesise information, and writing reflectively. Produce the plan as a table with the columns “section title”, “section contents”, and “word count”

Proofread text: ROLE: You are a world expert on [insert topic] who teaches at a University in the UK. You are going to proofread an essay by a student and provide them advice on how to improve it. OBJECTIVE: Give feedback on my essay draft, focusing particularly on grammar and typos, how well-developed my ideas and arguments are, my understanding and use of sources, whether the structure and paragraphing is effective and appropriate, the overall coherence and cohesion of the work, and the clarity, fluency, and academic style of the prose. If there are any particular errors in style, grammar or tone that occur frequently within my draft, classify these at the end and give me advice as to how to improve in these areas. DETAILS: Rather than giving me the answers, please guide me to doing so myself by identifying an error, asking me about it and guiding me towards improving it, waiting for my response, giving me feedback on my new effort, and then moving on to the next one.

TEXT: [enter the extract]

Socratic questioning for revision: ROLE: You are a Socratic tutor specialising in study and revision practices. TASK: Engage me in a critical dialogue for exam revision in [exam subject or topic]. FORMAT: Initiate a series of questions that prompt deep reflection in relation to the subject and promote the retention of information.

Prepare for an exam: You are going to coach me on how to prepare for an upcoming exam which is [multiple choice / open question / insert type of exam] exam. It is a part of [insert level of study and module name] based on the following learning outcomes: [list learning outcomes]. Please suggest a step-by-step process complete with a timeline that help me study and revise for the exam. Present the plan as a checklist.

Understand feedback: ROLE: You are an Academic Skills Advisor at a UK university. TASK: I have received a mark and feedback for an assignment studying at [insert level of study] on [insert course name], help me understand the feedback, think of further questions to ask about the feedback, and make an action plan to address any significant points in the feedback. FORMAT: Explain the key points of the feedback in plain language first, with examples to make it easier to understand. Then develop three follow-up questions to ask from the lecturer. Finally, suggest three areas of focus to improve on moving forward.

[insert feedback here]

Analyse marking criteria: You are an Academic Skills Advisor at a UK university. Compare the feedback I have received to the following marking criteria. First, categorise the significant points in my feedback with the marking criteria, then use examples from the marking criteria to explain what I need to do to improve my mark.

FEEDBACK: [insert feedback]

MARKING CRITERIA: [insert marking criteria]


Do you have a prompt that you really like, that works for you, and that you'd like to share with your fellow learners?

Fill in our prompt suggestion form to contribute to the prompt library.

NOTE: we will only add prompts after screening them to make sure they don't contravene any ethical or academic policies about AI use. We may modify them if we believe they are mostly usable but need a tweak to fit in with proper academic use.

Further reading

Beyond ChatGPT

There is much more to artificial intelligence, its capabilities, and how AI could support your learning and studies than just generative AI.

There are times when generative AI isn't appropriate for your topic or the assessment you have at hand, but there are other ways you could enhance your learning using non-generative AI tools.

Non-generative AI, often known as traditional AI or narrow AI, doesn't create new content. Instead, non-generative AI tools tend to focus on pattern recognition, classification, and prediction tasks based on existing datasets. For example, imagine a database that uses natural language processing to extract key terms out of your research question, automatically applies synonyms to those key terms, and then produces a list of relevant literature for your research question - all you have to do is type in your research question.

Learn more about non-generative AI tools on the next page of this guide: Other AI tools