Models + Prompting

Goals: explore models and modes, practice the "scope of work" and "interview me" patterns, and reflect on finding and retaining your own voice and skills while using AI.

  • Gradescope — submit the indicated portions by Sunday, October 4 at 11:59 pm Pacific.
  • Tutorial — discuss with your TA during tutorial in Week 3.

Hello everyone! If you haven’t completed the AI software tools registration and installation process recommended in Assignment 1, you might consider working on that this week. We will begin using features of these models that are not available in the AI Playground next week.

📄 Assignment 2 — full instructions (PDF)

Assignment outline

This document is to be started in your tutorial, and completed for homework if necessary. Work through it in the order given:

  • First, we’ll lead you through some tutorial exercises.
  • Then, you’ll complete two AI tool work questions.
  • Then, complete your reflection.

Some parts may involve submitting materials to Gradescope. This will allow your TA to preview the work you’ve done ahead of your conversations in the tutorial. Other parts you will only “show and tell” or discuss during next week’s tutorial.

Part 1: Tutorial group work

Discuss the Week 1 reflection questions as a type of icebreaker with your new groupmates. As a reminder, those were:

  • What should the course AI Honor Code look like?
  • What did you notice when you stress-tested your “help me, but not too much” prompt?

Now we’ll talk about this as a full group:

  • “What did we learn last week about how much models actually follow our instructions?”
  • “How do you tell whether a better result came from a better model or from better instructions?”

Activity 1 — Same task, different models

Here’s the same prompt given to different models. Before you read the responses closely, decide the criteria that define success.

Prompt:

Piper’s roommate Anna is planning a way to make Stanford more sustainable. Unfortunately, a squirrel has eaten the Stanford sustainability committee’s first draft. Fortunately, it left the budget spreadsheet.

The committee can fund exactly two projects for a one-month pilot. It has $10,000 and at most 8 volunteer hours per week across both projects.

Project Cost Hours/week Estimated waste diverted/week Estimated participants Expected audience
A. Dining hall food recovery $6,000 4 160 kg 80 Mostly undergraduates
B. Graduate housing food recovery $5,000 6 120 kg 140 Mostly graduate students
C. Multilingual reuse pop-up $4,000 3 50 kg 260 Many graduate students
D. Repair café $3,000 2 70 kg 100 Mostly undergraduates

The committee wants to divert waste, involve graduate students, and spend responsibly. These are estimates, and participant counts may overlap.

Write a 50–100 word recommendation. Choose two projects; give their combined cost, hours, and estimated weekly waste diversion; explain a tradeoff against another feasible pair; and name one thing to measure after the pilot. Use only the information above.

Response 1

Fund A (dining hall food recovery) and C (multilingual reuse pop-up). Together they cost $10,000, need 7 volunteer hours per week, and are estimated to divert 210 kg of waste per week. A and D would divert 230 kg for $9,000, but both expect mostly undergraduate audiences; C gives the pilot a way to reach many graduate students. After the month, measure the number of unique graduate student participants, since the estimated participant counts may overlap.

Response 2

Recommend Projects A (Dining hall food recovery) and C (Multilingual reuse pop-up). Together, they cost $10,000, require 7 volunteer hours per week, and divert an estimated 210 kg of waste weekly.

Compared to the feasible pair of Projects A and D ($9,000, 6 hours/week, 230 kg/week waste), Projects A and C cost $1,000 more and divert 20 kg less waste. However, Project C involves many graduate students, satisfying a key committee goal that A and D (which serve mostly undergraduates) miss.

After the pilot, measure actual weekly waste diverted.

Response 3

Recommendation: Projects A and C

Fund dining hall food recovery and the multilingual reuse pop-up for a combined cost of $10,000, requiring 7 hours weekly and diverting an estimated 210 kg of waste. This maximizes graduate participation (260 participants in the pop-up) while remaining on budget. The trade-off: projects A and D divert slightly more waste (230 kg) but skew toward undergraduates, misaligning with your goal of involving graduate students. Post-pilot, measure repeat participation rates among graduate students to assess engagement sustainability.

Now, evaluate all three models, with these in mind:

  • Can you guess which model created each of these? Thinking/effort level?
  • What specific evidence supports your evaluation?

Now we’ll reveal the models. A few things to think about:

  • Were you surprised?
  • Were any differences content-related, or mostly stylistic?
  • Would your answer change if one model took 5× longer?

Part 2: AI tool work

How am I perceived?

Take a piece of your own writing. Ideally, it should be at least a few paragraphs in length and contain some interesting prose. For example, an especially consequential email (e.g., asking someone for something and having to make the case), an application essay, or a personal essay. Put that writing sample into an LLM (choose a strong model and enable “thinking” and/or use higher levels of effort), using the following prompt:

Read this writing sample. Understanding this is just one sample so this will necessarily be speculative, what do you think we might be able to infer about the author? Please write in as much detail as possible, addressing dimensions such as: What is their role or seniority relative to the audience they’re addressing? How confident are they? What mood or motives might be behind what they wrote?

Feel free to edit this prompt as you see fit! Other prompt question ideas: What do they value? What seem to be their personal strengths and weaknesses?

Does the way you want to come across align with AI’s observations about how you come across? Did anything in the AI analysis surprise you?

Now that you’ve used AI to do some introspection about your writing voice, try exploring what your writing voice might sound like with slight adjustments in different directions. Below are some sample prompts for doing this. Feel free to explore other directions that interest you!

  • Rewrite the passage to be 10% more senior-level-sounding.
  • Rewrite the passage to be 10% more cheerful or bubbly.
  • Rewrite the passage to be 10% more stern.
  • Rewrite the passage to be 10% more enthusiastic!
  • [your choice of other adjectives!]

Deliverable: for one of the ways you asked the LLM to change your work, copy and paste the LLM’s analysis of your original writing sample in Gradescope.

“Scope of Work” pattern recap

As we discussed in lecture, being able to write a detailed “scope of work” (the who/what/when/where of a task) can help you get more value out of AI by treating it like a subcontractor for your business. Consider these two prompts:

  1. Write me a paragraph about Abraham Lincoln.
  2. I am the CEO of a small-to-medium-sized company. I send out a weekly newsletter to employees with a “CEO’s factoid of the week.” Sometimes I put something random, but other times I use this opportunity to share a relevant message to the workforce (keeping it subtle though). This particular week, I’d like the factoid to be a paragraph about Abraham Lincoln, focusing on times when he persisted despite major setbacks. Our company is going through a rough patch right now, and I hope this could provide an uplifting message to your employees. Write this paragraph in my voice. I’ve included 20 past sample newsletters to use as examples of my writing style.

The second one is a good example of a detailed scope of work. Although not structured as explicit who/what/when/where bullet points, each of those is addressed in the prompt. Regardless of the model or effort level chosen, the second one will create a “better” response. Why does this work? Consider the thin and thick lines shared in lecture. The more detailed and relevant context you provide, the better the AI-generated response will be, since your detail will push the model off the thickest lines and onto something more unique and custom-fit to your purpose.

“Interview Me” pattern activity

Of course it’s not always easy to sit down and write a detailed scope of work—that can be a challenging task in itself! Perhaps you haven’t yet put enough thought into what needs to be done to feel confident that you’ve already thought of every nuance of what should be done for the task. To overcome this challenge, you can use the “interview me” pattern, in which you ask the model to interview you for an extended period of time to elicit from you all the information needed to create a detailed scope of work.

Example: for the Abraham Lincoln example, if you didn’t already have such a clear vision of what you were trying to achieve, you could prompt this instead:

I am the CEO of a small-to-medium-sized company. I send out a weekly newsletter to employees with a “CEO’s factoid of the week.” Sometimes I put something random, but this week I would like to use this opportunity to subtly share a relevant message to the workforce. The problem is, I don’t know yet what I want to say or how to say it. Interview me with at least 15 questions to elicit requirements for the task of writing this week’s factoid. It’s your job in this interview to probe me to discover what it makes sense to say to my employees at this moment.

Your task is to implement the “interview me” pattern for some task you need to accomplish in your life/work. The “interview me” pattern is most useful when the task is fairly complex and there are aspects to it that it hasn’t yet even occurred to you to think about. Take a moment to think of a task of that nature (a complex task, a big career decision, etc). Now choose your favorite AI chat tool, and try the interview me pattern on that task.

A few examples could be:

  • “I’m starting a new course and want to know the best way to study for it. Interview me with at least 15 questions to elicit my personal circumstances and the nature of this class. It’s your job in this interview to probe me to discover what I really need.”
  • “I’m working on a new tool for my job and my manager told me to have it do x. Interview me with at least 15 questions to elicit more detailed goals and requirements for this tool, since my manager’s mandate was very vague. It’s your job in this interview to probe me to discover issues I didn’t yet even think to consider—the unknown unknowns—so that by the end of the interview we can write a thorough plan.”
  • “I’m just starting my frosh year of college, and trying to decide how best to spend the upcoming first summer of my college life. I’m not yet sure I even know all the factors I should consider, let alone have clarity about what I should do. Interview me with at least 15 questions to elicit my personal circumstances and goals. It’s your job in this interview to probe me to discover what I really need.”

Deliverable: copy and paste your opening prompt into Gradescope. Then, copy and paste a few of the interview questions + answers below it.

Part 3: Reflection

Write a short paragraph (4–5 sentences) about the two questions we saw at the end of lecture:

  1. What is one skill you currently have that you want to keep sharp (while using AI assistance)?
  2. What mechanisms could you put in place to give you an early warning when that skill may be slowly, subtly dulling?

Deliverable: copy and paste your response into Gradescope.

Submission

You should have three items to upload to Gradescope, and be ready to discuss with your TA in the tutorial: “How am I perceived?”, “Interview Me,” and “Reflection.”