Skip to Main Content

Research with Generative AI: Prompting

Prompt Engineering

Prompt engineering in AI is using specific techniques in order to be efficiently interpreted by the tool.

  • When formatting prompts, be concise, explicit, and logical in your requests.
  • Reflect upon the tool's response and adapt your original prompt accordingly. 

Best Practices

When constructing text prompts, include the:

  • Persona: Define the AI's persona
  • Task: Clearly state the task
  • Context: Provide any necessary context
  • Format: Specify the output format

Lo, L. S. (2025) Leveraging generative AI in libraries: Advanced prompting techniques and practical guidance. LibTech Insights. CHOICE. Retrieved from https://www.choice360.org/libtech-insights/week-4-prompt-engineering/

Examples of Prompt Improvements

Example: Create a cover letter for a project manager position.

Effective prompt: Act as a college student. Create a one page cover letter for a project manager position and include job experience for overseeing a 3-year open source data project to be read by a hiring manager at a data analytics firm.

 

Example: Tell me something about renewable energy. 

Effective prompt: Generate a concise summary of the key advancements in renewable energy technology over the past decade. Define and explain technological terms.

 

Example: What is generative AI?

Effective prompt: Define generative AI for a first year college student in under 35 words.

 

Example: Write an outline for a paper about curanderismo.

Effective prompt: Act as a college student in cultural anthropology writing a 8-10 page paper about curanderismo in Mexico. The thesis is about women's roles in folk medicine. Write an outline for the paper that includes an introduction, literature review, ethnographic study, and discussion. Ask me questions to further clarify the outline. Don't create the outline until I've answered all your questions.

 

Example: Create an outline for a paper on socioeconomic status and public transportation. 

Effective prompt: As a college student, create a list of subtopics for a research paper about the relationship between socioeconomic status and public transportation in the United States. The research question is asking if people from lower socioeconomic backgrounds use transportation more than other groups. I will focus on access and affordability nationwide. My analysis will prioritize quantitative data from the last 30 years. 

 

Resources