Principles of Prompt Engineering – Evaluate Quality

So far, you have given direction, specified format and provided examples ChatGPT can follow. But are you going to take the first result as is without any confirmation? How do you know if your prompt is actually proper and optimized?

You need next principle – evaluate quality. How do you assess the quality? You need to run the same prompt multiple times and check each response, evaluate and modify the query accordingly. If you consistently get satisfying responses after running the same prompt 10 times for example, then it is probably good to go.

As you can see in the image, 5/5 represents the current response out of total try (ex. 5th response out of 5 tries) and the circular arrow means retry the prompt.

Leave a Reply

Your email address will not be published. Required fields are marked *