Intro
What is Prompt Engineering?
Prompt engineering is the practice of crafting inputs to AI language models in ways that get better, more accurate, or more useful outputs.
Since large language models like GPT, Gemini or Claude respond based on the instructions and context you give them, how you phrase a request often matters as much as what you're asking. Prompt engineering is the skill of figuring out that phrasing.
Learning Material
Gen AI Primer - Tapan Sir (Follow from slide 22 to 46)
Prompt Engineering Tutorial - Anthropic
Setup
Before we move ahead, you need a little setup to follow along with the course and run a prompt in parallel to better understand the concept.
-
Log in to Google AI Studio and open the Playground
-
Set model to "Gemini Flash-Lite Latest", temperature to "1" and thinking level to "Minimal" from the left side bar. You can also assign the system instructions/prompts from the same sidebar whenever needed.
Now you are good to go!