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, This week, I've got a short tip about AI agents, followed by some Data School news... 👉 Tip #56: What are AI agents? Google is calling 2025 "the agentic era," DeepLearning.AI says "the agentic era is upon us," and NVIDIA's founder says "one of the most important things happening in the world of enterprise is agentic AI." Clearly AI agents are a big deal, but what exactly are they? Simply put, an AI agent is an application that uses a Large Language Model (LLM) to control its...
Hi Reader, Last week, I launched a brand new course: Build an AI chatbot with Python. 120+ people enrolled, and a few have already completed the course! 👏 Want to join us for $9? 👉 Tip #55: Should you still learn to code in 2025? You’ve probably heard that Large Language Models (LLMs) are excellent at writing code: They are competitive with the best human coders. They can create a full web application from a single prompt. LLM-powered tools like Cursor and Copilot can autocomplete or even...
Hi Reader, The Python 14-Day Challenge starts tomorrow! Hope to see you there 🤞 👉 Tuesday Tip: My top 5 sources for keeping up with AI I'll state the obvious: AI is moving incredibly FAST 💨 Here are the best sources I follow to keep up with the most important developments in Artificial Intelligence: The Neuron (daily newsletter) My top recommendation for a general audience. It’s fun, informative, and well-written. It includes links to the latest AI news and tools, but the real goldmine is...