Skip to Main Content

Artificial Intelligence (Generative) Resources

Why craft good prompts?

prompt is (technically speaking) input to an AI tool. For research AI tools, the prompt is almost always a question, request, or topic posed by you, the human researcher. Why should you try to write good prompts?

  • Good prompts help the AI help you. A well-crafted prompt enables the AI to give you meaningful and useful results. A bad prompt may result in irrelevant data or lead you away from the best research.
  • Good prompts are cheap(er). Many AI research tools charge per task - each search costs you “credits” and (ultimately) money. A good prompt can help you get the desired output without a lot of repeated searches, easier on the pocketbook and a less waste of time for you.

The CLEAR Framework

Good prompts are CLEAR – a framework developed by Leo Lo, a librarian and professor at the University of New Mexico.

  Good Needs Improvement
Concise (also Clear) - Focus on the key words for the AI tool to analyze. Try to omit as many needless words* as possible. Identify the top reasons undergraduate students attend Georgetown University.

I am trying to figure out if I should be applying to Georgetown and if I would like it there.

(The AI doesn't know you or your preferences, there are multiple "Georgetown" institutions, & are you applying to high school? Undergrad? Grad school?)

Logical - Most AI tools look for relationships between words and concepts, so make sure your query presents concepts accurately and in their natural or logical order.

If your question doesn’t make sense to you (or to someone else), it probably won’t make sense to the AI! 

Summarize the most promising vaccine candidates that protect against multiple strains of influenza.

Can we make a flu vaccine organically?

(Are you asking about a vaccine made with eggs obtained through organic farming? A vaccine developed through "organic" research? Something else?)

Explicit - Be clear in what you want from the AI. Giving the AI tool clear output directions can help the AI produce an answer that is useful to you. Give me a concise summary of the major strengths and weaknesses of Georgetown University.

What’s Georgetown University like?

(What's your comparison for Georgetown? Do you want a short answer or a long one?)

Even the best prompts may need improvement! The last two components address what to do after you’ve examined the AI’s answer to your initial prompt.

Adaptive - Try a second prompt with keywords or topics suggested by the AI in its answer. If the AI tool has seeding or guidance settings, investigate different settings - do you get better results? If the tool allows you to specify words/concepts to exclude or ignore, can you refine your prompt by excluding concepts?

Prompt 1:  Why doesn’t Georgetown have a Metro station?

Answer: (includes "geological obstacles")

Prompt 2: What are the engineering challenges and geological obstacles to constructing a Metro station in Georgetown?

Reflective -  Always take a moment to reflect on the AI’s answer. Does it make intuitive sense to you? Does the answer refer to current research (if important for your query), or does it seem based on older research?  Has the AI “hallucinated” or returned inaccurate information? Is the answer complete, or are there perspectives or voices unrepresented in the answer?

You may need to craft additional prompts that specifically target gaps in the initial answer.

Prompt 1: Give me a concise summary of the major strengths and weaknesses of Georgetown University.

Prompt 2: Give me a concise summary of the major strengths and weaknesses of Georgetown University, from the perspective of a first-generation college student.

Read more about the CLEAR framework in Lo, L. S. (2023). The CLEAR path: A framework for enhancing information literacy through prompt engineering. The Journal of Academic Librarianship, 49(4), 102720–. https://doi.org/10.1016/j.acalib.2023.102720

*Strunk, W. & White, E.B. (2005). The Elements of Style. Penguin. (Original work published 1979) 

Library Resources on Prompts

Library Books and Journals on Prompt Engineering

Prompt writing is a rapidly evolving field and papers are coming out every week (it seems). In addition to those listed below, the books and other resources on our Research Resources for AI page often contain chapters or sections on writing prompts. Use the HoyaSearch link (bottom of list) for more resources.

Library Video Tutorials on Prompt Engineering

Prefer to watch a video? The Library has several video tutorials on writing good prompts:

Writing Prompts for Images

Creative Commons   This work is licensed under a Creative Commons Attribution NonCommercial 4.0 International License. | Details of our policy