Prompt Engineering

Getting LLMs to do what you want through effective prompting.

Slides

View slides in full screen

Outline

LLMs and plots

  • Activity: 07_plot-image-1 - Interpret a real scatter plot (3 min)
  • Activity: 08_plot-image-2 - Handle random noise and improve prompting (7 min)

Prompt engineering best practices

  • Three key questions: best models? clear system prompt? examples?
  • System prompt vs user prompt
  • Tips: use LLMs to write prompts, add structure, separate files, think out loud

Apply your skills

  • Activity: 09_quiz-game-1 - Write system prompt for quiz game (8 min)