Module 2: Prompt engineering
Prompt testing and iteration
Prompts should be tested against normal, edge, and adversarial inputs. Track accuracy, consistency, latency, and cost instead of judging a prompt from one successful response.
Practice exercise
Create five test cases for a course-recommendation prompt.