Lenny's Podcast: Product | Growth | Career

AI prompt engineering in 2025: What works and what doesn’t | Sander Schulhoff (Learn Prompting, HackAPrompt)

3611 snips
Jun 19, 2025
Sander Schulhoff, the pioneer of prompt engineering and partner with OpenAI for HackAPrompt, shares his extensive insights into AI's future. He discusses the five most effective prompting techniques and why traditional methods like role prompting are losing effectiveness. Sander reveals real jailbreak tactics still fooling top models and stresses the importance of defending against prompt injection. He also highlights the rising security threat posed by AI agents and provides guidance on getting started in AI red teaming.
Ask episode
AI Snips
Chapters
Transcript
Episode notes
00:00 / 00:00

Prompt Engineering Still Vital

  • Prompt engineering remains crucial as good prompts can increase task accuracy from 0% to 90%.
  • Despite predictions of its demise, it continues to be essential with each new model release.
00:00 / 00:00

Medical Coding Prompt Success

  • Sander increased GPT-4 medical coding accuracy by 70% using examples with explanations in prompts.
  • This practical example highlights prompt engineering's massive impact on domain-specific tasks.
00:00 / 00:00

Use Few-Shot Prompting

  • Use few-shot prompting by giving several examples of desired outputs to improve model responses.
  • Choose a common and clear format like Q&A or XML for your examples to ensure better results.
Get the Snipd Podcast app to discover more snips from this episode
Get the app