1 of 20

PROMPT ENGINEERING

2 of 20

Corey�Mull

PROMPT ENGINEERING

Tunnl

Christina Sheffey

Bully Pulpit International LLC

@SeeSheffey

Quentin Marquez

Politico

Alyssa Batchelor-Causey

Hill and State Strategies

@alyssabatchelor

MODERATOR

3 of 20

“Couple looking at bills”

Midjourney: Prompt 1

4 of 20

5 of 20

“Couple looking at bills” An elderly couple (aged 70-80) sitting at their kitchen table. They are looking at a bill for their energy use. They look worried; the bill is much higher than they expected, and they are not sure how they will pay for it. The setting is middle-class, and their home looks as if they've lived in it for a long time. Hyper realistic, photo-style. Beautiful lighting, insanely detailed and intricate, hyper-maximalist, elegant, hyper realistic, super detailed, photography, --ar 16:9”

Midjourney: Prompt 2

6 of 20

7 of 20

“An elderly couple (aged 70-80) sitting at their kitchen table. They are looking at a bill for their energy use. They look worried; the bill is much higher than they expected, and they are not sure how they will pay for it. The setting is lower-middle-class, and their home looks as if they've lived in it for a long time. It isn't modern; older appliances and dark wood furniture. Full of knick knacks. They are dressed in very casual clothing. Not elegant. Hyper realistic, photo-style. Beautiful lighting, insanely detailed and intricate, Cinematic, Color Grading, Editorial Photography, Photoshoot, Shot on 35mm, Cinematic Lighting, Studio Lighting, Soft Lighting, hypermaximalist, elegant, hyper realistic, super detailed, photography, --ar 16:9”

Midjourney: Prompt 3

8 of 20

9 of 20

Midjourney: Prompt 4

10 of 20

11 of 20

Midjourney: Prompt 5

12 of 20

13 of 20

14 of 20

15 of 20

16 of 20

  • Prompts are inputs that are given to an LLM (e.g. ChatGPT) in order to elicit a particular response
  • Prompts can be good or bad depending on how they are written
    • Bad Prompt: What will the weather be like?
    • Good Prompt: What is the weather forecast for Washington DC today at 4pm?

PROMPT ENGINEERING BASICS

17 of 20

  • Qualities of a Good Prompt
    • Provides the LLM with context
    • Asks for a targeted, specific output
    • The prompt is clear and avoids vague �generalizations

PROMPT ENGINEERING BASICS

18 of 20

PROMPT ENGINEERING STRATEGIES�FOR RESEARCH

  • Role Playing
    • “Imagine you are a [political party] political strategist working for X candidate in X district. You are working to unseat long-time incumbent Congressman Y. List 3-5 examples from Congressman Y’s voting record that demonstrate he is [insert objective].”

19 of 20

PROMPT ENGINEERING STRATEGIES�FOR RESEARCH

  • Democratic Output:
    • Response to COVID-19 Pandemic
    • Environmental Stance
    • Voting Record on Health Care
    • Support for 2017 Tax Cuts
    • Allegations and Investigations
  • Republican Output:
    • Allegations of Misconduct
    • Handling of COVID-19 Pandemic
    • Involvement in Political Stunts and Media Spectacles
    • Voting Against GOP Party Line in Key Instances
    • Relationship with Party Leadership

Example: Rep. Matt Gaetz (FL-01)

20 of 20

  • Summarizing articles and text based media
  • Inquiring about a candidate’s voting record
  • Understanding the key issues of a district

OTHER WAYS TO USE AI FOR RESEARCH