Title: 3 Define Context And Constraints
Course: LLM_Prompt_Engineering_For_Developers > Section: Module 30: 3 Define Context And Constraints

3. Define Context and Constraints

Explanation

Providing context or specific constraints helps narrow down the model’s responses and increases the chances of receiving the information you need.

Example

- Less Effective Prompt: “Write a report on climate change.”
- More Effective Prompt: “Write a 500-word report on the impacts of climate change on polar bear populations, citing at least two scientific studies.”

4. Ask Open-Ended Questions with Focus