Title: Example Testing And Refining
Course: LLM_Prompt_Engineering_For_Developers > Section: Module 77: Example Testing And Refining

Example: Testing and Refining

Let’s consider the following example prompts for a task where we want the LLM to generate a creative story.

1. Initial Prompt:

"Write a story."


  - Output: A very generic story with no particular focus or style.
2. Refined Prompt:

"Write a whimsical story for children about a dragon who loves to paint."


  - Output: A more tailored story that captures the intended theme and audience.
3. Further Refinement:

"Compose an imaginative story for children aged 5-7 about a friendly dragon named Dazzle who discovers his passion for painting on a cloudy day."


  - Output: A highly relevant story that is likely to engage the targeted age group with a specific character and scenario.

Conclusion