How I ChatGPT: Utilizing ChatGPT as a Public Policy Professional

How I ChatGPT: Utilizing ChatGPT as a Public Policy Professional

  • Introducing ChatGPT: Covering what the hell ChatGPT is. Skip this if you were paying attention to the news in 2023.
  • My Introduction to ChatGPT: Summarizing my initial impression of ChatGPT when I first took GPT 3.5 for a test drive.
  • Don’t Ask Stupid Questions: Where you’ll be regaled with a well-worn story cliche illustrating why asking stupid questions of machines is a poor strategy for getting intelligent answers.
  • Prompt Engineering Basics: In which you’ll be whisked through the theory of prompt engineering by somebody that knows very little about it.
  • Conversation Starters: Which covers some of the prompting strategies that I’ve found to be helpful.
  • Move Slow and Make Things: Where I explain how to manage the most intelligent and least practical intern you’ll ever meet.
  • What I ChatGPT: Summarizing some of the common use cases I’ve found for ChatGPT as a public policy professional that does a little bit of everything.
  • Concluding remarks: Because all blogs need a conclusion.

Introducing ChatGPT

Want it to write a poem about pirates?

Ask ChatGPT to write one.

Want to summarize an article?

Give it to ChatGPT and ask for a summary. 

Want to write some code?

Tell ChatGPT the problem you want to solve and ask it for code.

But chatbots aren’t new, so what exactly is it that spurred an explosion of interest in ChatGPT?

Well, unlike the chat bots you might have interacted with when trying to access customer support, ChatGPT is at its core a ‘Large Language Model’ (LLM) that is designed to generate human-like text based on input from the user:

Stephen Wolfram

Source: Openai

My Introduction to ChatGPT

What are the key ingredients of an effective and sustainable public policy intervention?

Can you summarize the key areas budget analysts should consider when presenting policy advice to elected officials?

Can you write me R code that converts a list to a dataframe?


Lesson 1: Don’t Ask Stupid Questions


Prompt Engineering Basics

Learn by ChatGPTing

“…consultants using ChatGPT-4 outperformed those who did not, by a lot…finished 12.2% more tasks on average, completed tasks 25.1% more quickly, and produced 40% higher quality results than those without.”

Ethan Mollick, “Centaurs and Cyborgs on the Jagged Frontier”

Asking the Right Question

Source: OpenAI 
  • Instructions: the task you’d like ChatGPT to complete, such as answering a question, writing a poem or cleaning a series of text. In the example below, this is ‘write me a rap about R programming’
  • Context: Information that specifies the context of the task to help ChatGPT provide a more relevant answer, like below where we’ve said the rap should be for programmers.
  • Input Data: A set of input data or questions you would like ChatGPT to transform or respond to, such as text from a pdf you would like turned into a table. In the prompt below we’ve used an excerpt from a previous rap written by ChatGPT that starts with “Yo, I’m here to spit…”. Notice we’ve enclosed it in quotes to more clearly differentiate the prompt from the input text.
  • Output Indicator: the format of the output you would like ChatGPT to produce. Again, like the text used in the input text we’ve included the text we’d like the style to be based on within quotes.

Conversation Starters for Robots

Prompt Chaining

Specifying Roles and Context

Source: Ethan Mollick

Context Caging


Working With ChatGPT: Move Slow and Make Things

So, what tasks is ChatGPT likely to be good at in practice? Well, at the outset the world is still figuring this out. LLMs are still being successfully applied to a growing variety of problems, while also exhibiting a variety of unexpected and sometimes undesirable behaviours.

Ethan Mollick, 16/9/2023, “Centaurs and Cyborgs on the Jagged Frontier”


What I ChatGPT

So, how might I use a clever, ambitious and error-prone intern?

Research

Coding and analysis

Idea generation

ChatGPT’s incorrect, but helpful mapping of the IATI database structure

Summarizing Text

Text analysis, generation and translation

Data cleaning


Concluding Remarks

One of the reasons I’ve been reluctant to write about this is that the pace of change, even to ChatGPT, has been swift enough to make whatever I write obsolete soon after it’s posted. While this fact hasn’t necessarily changed, I’ve been harangued by enough people to motivate me to write something that might help them figure out whether to jump onboard the hype train (and how).

I also think I’m likely to hold a rare perspective on the use of generative AI tools, like ChatGPT, as a public policy professional. I think one reason for this is I’m an applied economist with a background in data science that has frequently tinkered with tech. Meaning I frequently find myself surrounded by smart data scientists, developers and AI enthusiasts – all of which have been obsessed about ChatGPT over the past 12 months.

I’m also an independent consultant. Resulting in me frequently tackling tasks that would normally be shared across a team and/or the host organization, such as brainstorming, project planning and business development. Having a tool like ChatGPT that can steer me in the right direction with tasks I’m new has been incredibly valuable. I’ve also been pleasantly surprised at how helpful it can be for completing tasks that I’d normally assign to a research assistant or junior colleague, such as cleaning data, producing rough drafts that I can refine and providing a reasonably intelligent series of ideas for tackling technical problems.

Finally, because I mainly work with government and intergovernmental bodies, I’m more risk averse than many of my friends working in tech. Both because the information I work with is often sensitive and as many of the risks of using generative AI can take on increased importance when they’re being used as input into a piece of public policy analysis. This is of course why I’ve suggested ‘moving slow and breaking things’ when starting out with ChatGPT. As the world is still figuring out what to think of AI tools like ChatGPT. I also appear to be in good company, with a number of government institutions releasing similar advice:

However, on the whole I’ve found ChatGPT to be extremely useful. Although I don’t buy that adding AI to everything is going to lead us to utopia. But, I do think there are plenty of opportunities for public policy professionals to leverage it in their work to improve both the speed and quality of the final output.

Subscribe to my newsletter:

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.