Skip to Main Content
XClose

Library Services

Home

UCL LIBRARY SERVICES

Generative AI and library skills

This guide explores the use of AI and generative AI in the context of the library research process

Effective prompting

Any use of GenAI requires you to use specific and considered prompts to achieve effective results.

Here are some general principles to get you started with composing effective prompts:

  • Be clear about what you want it to do - ask it a question or give it instructions.
  • Give context, data and / or examples - ensure you give the tool the relevant information to inform its output.
  • Specify what you want it to output, e.g. a short paragraph, 5 bullet points, in tabular format that I can paste into Excel.
  • Consider the order of elements of the prompt - this can make a difference, but you will never get the same response even with the same prompt.
  • For complicated instructions, give it a series of steps.
  • Specify the tone and style you wish the output to have. e.g. ‘use a formal tone suitable for an academic literature review’
  • Iterate and refine - many GenAI tools allow iterative refinement, where you can refine what you are asking through a developing conversation. Review what it has told you and follow up with further prompts to get a better response. Be aware that in long conversations the tool can lose track of what has been said before and you can end up going round in circles.
  • Be grammatically clear and use short sentences.
  • Be specific and precise.

Experiment with your prompting to see how framing your prompt in different ways can produce different results. A badly framed prompt can lead to hallucinations, where the GenAI tool generates fabricated content.