Hi Reader, Before today’s tip, I wanted to give you a heads up: Tomorrow, I’ll be launching something brand new! Watch out for the announcement 👀 👉 Tip #53: How to get great results from AI models through promptingIn the year after ChatGPT was released, I remember noticing two new trends:
My takeaway was that “prompting” must be really complex, and it was going to take a huge investment of time in order for me to get good at it. (In case you’re unfamiliar: “prompting” just means “inputting text into a Large Language Model.” Or more simply: “typing into ChatGPT.”) Since then, I’ve come to three conclusions about prompting:
📝 Simple tips for more effective promptsHere are my top tips for getting better at prompting, and thus increasing the chance that you will get great results from an LLM: Be very specific about what you want: How long should the answer be? What should the answer include? Who is the specific audience? What is the end goal of this task? Ask it to iterate: Within a given conversation, the model will remember everything you’ve said and everything it has replied (until it reaches the end of its “context window”). Thus if you’re not 100% satisfied with its answer, then tell it exactly how you want to improve! Give it a role: If you’re asking it a complex legal question (for example), you might get better results if you tell it to act like an expert lawyer. You can also use roles to adjust the writing tone of the results. Give it examples: If you need the answer in a specific format, give the model a few examples of what the output should look like for a given input. Ask it to think step-by-step: For complex tasks, guiding the model in how to approach the task step-by-step can result in better output. (The Claude documentation has a good example of this.) Try a different model: Every LLM is different, so if one isn’t helpful for a particular task, then just try another! I’ve talked previously about how to do this using Chatbot Arena or Typing Mind. 🧠 Develop a mindset of abundanceI’ll leave you with one final tip from Ethan Mollick’s article, Getting started with AI: Good enough prompting: You don’t need to ask for one email, ask for three in different tones to inspire you. You don’t need to ask for one way to complete a sentence, ask for 15 options and see if that unlocks your writing. Don’t ask for 5 ideas, ask for 30. In fact, our research found that GPT-4 can generate thousands of ideas before a large percentage of them start to overlap. Your job becomes one of pushing for variation (“give me ideas that are 80% weirder”), recombination (“combine ideas 12 and 16”) and expansion (“more ideas like number 12”), before selecting one you like. 👋 See you on Wednesday!Be on the lookout for my launch announcement tomorrow! - Kevin P.S. Call your grandmother Did someone AWESOME forward you this email? Sign up here to receive weekly Artificial Intelligence tips! |
Join 25,000+ intelligent readers and receive AI tips every Tuesday!
Hi Reader, On Friday, I announced my forthcoming book, Master Machine Learning with scikit-learn. In response, my Dad asked me: How does the subject of this book relate to Artificial Intelligence? In other words: What's the difference between AI and Machine Learning? Ponder that question for a minute, then keep reading to find out how I answered my Dad... 👇 AI vs Machine Learning Here's what I told my Dad: You can think of AI as a field dedicated to creating intelligent systems, and Machine...
Hi Reader, Yesterday, I posted this announcement on LinkedIn and Bluesky and X: Kevin Markham @justmarkham Dream unlocked: I'm publishing my first book! 🎉🎉🎉 It's called "Master Machine Learning with scikit-learn: A Practical Guide to Building Better Models with Python" Download the first 3 chapters right now: 👉 https://dataschool.kit.com/mlbook 👈 Thanks for your support 🙏 1:47 PM • Sep 11, 2025 1 Retweets 5 Likes Read 1 replies This has been a dream of mine for many years, and I'm so excited...
Hi Reader, Hope you’ve had a nice summer! ☀️ As for me, I’ve been finishing my first ever book! I can’t wait to tell you about it and invite you to be part of the launch… stay tuned 👀 Today's email focuses on a single important topic: AI’s impact on your mental health 🧠 Read more below! 👇 Sponsored by: Morning Brew The 5-Minute Newsletter That Makes Business Make Sense Business news doesn't have to be dry. Morning Brew gives you the biggest stories in business, tech, and finance with quick...