AI Snippet 11: Use examples and variables
We've previously established that generative AI performs best when provided with high-quality and sufficient input. While it's important to explain your personal wants and needs, much like in human interactions, points often come across more clearly when examples are used to illustrate and clarify the situation or desired output.?
When providing examples, it’s usually best to stick to just one. This prevents the AI from skipping over important details or becoming overloaded with information. A single, precise, and accurate example of what you're looking for is more than enough and can significantly improve the quality of the output.?
Additionally, it's important to clearly indicate that what you're providing is an example. You can preface it by saying that you’ll give an example and consider putting the example in quotation marks for emphasis.?
For instance, you might say: “Extract all quality requirements from the document I gave you. Stick to a clear wording and format as provided in the <EXAMPLE> which you will find below….”?
Subscribe to the newsletter to stay up to date with our news on the intersection of AI and RE!??
?