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 to pursue a college degree.

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

(The AI doesn't know you or your preferences, there are multiple institutions, etc.)

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 the University of Indianapolis.

What’s The University of Indianapolis like?

(What's your comparison for UIndy? 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 UIndy have a parking garage?

Answer: (includes "geographical obstacles")

Prompt 2: What are the engineering challenges and geographical obstacles to constructing a parking garage at UIndy?

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 The University of Indianapolis.

Prompt 2: Give me a concise summary of the major strengths and weaknesses of The University of Indianapolis, 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) 

Resources on Prompt Writing

Articles on Prompt Engineering.

  • Hatakeyama-Sato, K., Yamane, N., Igarashi, Y., Nabae, Y., & Hayakawa, T. (2023). Prompt engineering of GPT-4 for chemical research: what can/cannot be done? Science and Technology of Advanced Materials: Methods, 3(1). https://doi.org/10.1080/27660400.2023.2260300
  • Henrickson, L., & Meroño-Peñuela, A. (2023). Prompting meaning: a hermeneutic approach to optimising prompt engineering with ChatGPT. AI & Society. https://doi.org/10.1007/s00146-023-01752-8
  • Robertson, J., Ferreira, C., Botha, E., & Oosthuizen, K. (2024). Game changers: A generative AI prompt protocol to enhance human-AI knowledge co-construction. Business Horizonshttps://doi.org/10.1016/j.bushor.2024.04.008

Writing Prompts for Images