AI and the Library Week three. Prompt writing: How to write effective prompts for better AI results

AI can be a valuable tool to help you to get the most out of your time in the library. By utilising the conversational style of AI tools like ChatGPT, you can collaborate with the AI to refine searches, get personalised recommendations, and quickly discover relevant resources that meet your specific academic needs.

To get the best results from AI, it’s important to ask the right questions, and this is a skill in itself,

Pixabay

This skill, known as prompt building or prompt engineering, involves structuring your queries in a way that directly impacts the usefulness of the AI’s responses. Mastering this technique can significantly improve your results from AI tools. (For more on the importance of effective prompt building, see our AI and the Library Guide here).

What is an effective prompt?

A good AI prompt is concise, structured, and specific. You might like to think of it as a formula, where each element plays a role in making the prompt clear, targeted, and focused on the desired outcome.

The elements of the formula might look something like this:

Task + Topic + Structure + Style + Level

Let’s have a look at what we mean by those elements and how we might apply them in a library scenario.

The Task component of the formula specifies what you want the tool to do. Some examples might include: Find; Summarise; Explain; Describe; Compare.

The Topic defines the subject matter or scenario that we want the Task to explore. Examples might include: The Origins of the Second World War; Romanticism in English Literature; The Aims of Positive Psychology.

The Structure specifies the format in which the response should be presented. You could ask for responses in: One Sentence; 200 words; A Bullet Point List; A table; A Graphic or Chart.

The Style specifies how the content should be written. Styles might include: Formal; Informal; Academic; Witty.

The Level of detail indicates the depth and scope of the information needed. This level of detail could be a Basic Overview or an In-Depth Analysis (or anywhere inbetween!)

Here’s an example that you might use in the library. You want to find some library resources that will help you to answer the following question: “Analyse the themes and characteristics of English Romanticism in the poetry of William Wordsworth and Samuel Taylor Coleridge.”

  • Task: Find
  • Topic: Books that discuss English Romanticism and the poetry of William Wordsworth and Samuel Taylor Coleridge
  • Structure. A bullet point list
  • Style. Academic
  • Level. An introductory overview

The full prompt may look something like this:

Please find me some academic books that give an introductory overview of English Romanticism and the poetry of William Wordsworth and Samuel Taylor Coleridge and show them in a bullet point list

This was the output that the AI provided* (for this example, we used perplexity.ai, a tool we will be reviewing in our next AI blog post):

*We always recommend checking any AI outputs for accuracy.

By getting to grips with the art of prompt building, you can more effectively communicate your needs to the AI. This ensures that the responses are both academically relevant and that they meet your specific learning needs – saving you time spent searching. You could then visit Primo, the library catalogue to see if the library has the suggested titles available for you.

As demonstrated in our example, a well-structured prompt can help you uncover valuable academic resources that can quickly help you get a better understanding of topics.

AI and the Library – Week two. Tool Review: ChatGPT

These days, it feels like you can’t go a minute without someone bringing up AI. It’s as if it has always been part of our everyday lives! But believe it or not, it’s only been about 18 months since OpenAI’s ChatGPT burst onto the scene and really kicked off the AI revolution (or all the AI hype, depending on your point of view!)

Whichever term you prefer, AI isn’t going away anytime soon, so in the coming weeks we will explore some of the most popular generative AI tools. We’ll review some of their features, discuss their limitations, and provide a few quick tips on how to use them effectively.

As ChatGPT was the first generative AI tool to really capture the popular imagination, let’s take a closer look at what it can do, and how you can get the best out of it.

As the name suggests, ChatGPT (as with a number of the AI tools we’ll look at in this series) is designed for conversation. Its simple interface enables users to interact with an AI tool that has been trained on a vast amount of data. This training allows it to generate human-like responses to prompts (a prompt can be a question, statement, or command that guides the AI to generate a response.) For more on prompts, visit our AI Guide.

Here’s a closer look at what ChatGPT (and other AI tools) can do:

  • Answer Questions: ChatGPT can provide information and explanations on a variety of topics, making it a helpful resource for learning.
  • Generate Written Content: ChatGPT is excellent for overcoming writer’s block and for checking your writing for grammar, spelling, clarity, and style.
  • Summarise Information: It can take long texts and condense them into shorter summaries, helping you to grasp the main points quickly.
  • Translate Languages: ChatGPT can translate text from one language to another, making it easier for people to communicate and understand each other.
  • Engage in Conversations: The tool can simulate conversations, making it a fun way to practice language skills, prepare for a job interview, or simply have a friendly chat.

For further information on what AI tools like ChatGPT can do, visit our AI Guide.

Using ChatGPT can be useful (and fun!) but please do bear in mind there can be drawbacks to using it.

For example:

  • Misleading Information: ChatGPT can sometimes provide incorrect, out of date, or biased answers, which may affect the quality of your work or understanding.
  • An Over-Reliance on Technology: Relying too much on ChatGPT may hinder critical thinking and creativity, as users might depend on it for answers instead of developing their own ideas.
  • Plagiarism Risks: Students may use AI to generate content that is not their own, leading to plagiarism issues.

For further information on the drawbacks of using AI tools like ChatGPT, visit our AI Guide.

Top Tips for Using Chat GPT:

  • Be Clear and Specific: When you ask ChatGPT a question or give it a task, be as clear and detailed as possible. The more specific you are, the better the AI can understand what you need and provide a relevant response.
  • Start Simple: Begin with straightforward requests. If you have a complex question or task, break it down into smaller parts. This helps ChatGPT focus on one thing at a time, leading to better answers.
  • Use Follow-Up Questions: ChatGPT can maintain the context of a conversation so don’t hesitate to ask follow-up questions or give additional details after the initial response. This allows you to refine the conversation and get more accurate or tailored information.

For further information on the effective use of ChatGPT, visit our AI Guide.

A few caveats:

  • Aberystwyth University does not currently endorse any of these AI tools.
  • You must follow the guidelines on the use of AI issued by your department (where available)

In our next blog: we will look at prompt engineering, and we’ll share some valuable tips on how effective prompt design can improve the accuracy and relevance of AI outputs.

AI and the Library – Week One. Our New Guide and Blog Post Series

Your Subject Librarian team have been hard at work over the “summer” (seriously, did it ever stop raining?) to bring you a newly updated AI Guide which outlines how you can use AI to get the best out of the library’s resources.

AI and the Library

Screenshot from the new AI and the Library LibGuide

The Guide offers advice on:

  • How you might use AI.
  • Some of the AI tools that might be useful for you.
  • The benefits of using AI over traditional search engines.
  • The appropriate and ethical use of AI tools.
  • Effective prompt building.
  • Some of the potential risks of using AI (including issues around copyright infringement, bias, and data protection).
  • The impact of AI on academic integrity.

Links to the Guide can be found here:

As a companion to the Guide, we are going to offer a series of blog posts which will look at the advice given in the guide in more detail and offer some practical tips for using AI.

Here’s a sneak peek of what you can expect in the coming weeks:

  • Reviews of AI tools.
  • Practical advice on effective prompt building.
  • Developing smart keyword searches.
  • Discovering resources related to your area of study.
  • Evaluating AI outputs by applying the CRAAP test.
  • The risks of using AI.

We hope that you will find our Guide and the series of blog posts useful. It is important to stress that you must follow the guidelines on the use of AI issued by your department (where available).