Data Training Courses

Home | Power BI | Excel | Python | SQL | Generative AI | Visualising Data | Analysing Data

Exercise: Use the RICE framework to improve your prompts

One framework to help us with prompting well is RICE: this stands for Role, Instructions, Context (and Constraints) and Examples.

Use the RICE framework to improve and hone our prompts and (hopefully) the AI tool will respond with more useful suggestions. Here are some example prompts, to plan a family summer holiday, but please use your own ideas.

Start with a vague but typical prompt. e.g. Suggest 5 ideas for good holiday.

Provide a more detailed, specific prompt using the RICE framework. Build this up step-by-step. Here are some more specific prompts building on the holiday planning theme.

Role: Act as an expert in holiday planning. Your clients live in the UK. Keep your responses brief. Provide a link for any suggestions that you make.

Instructions: Suggest 5 ideas for good summer holiday for a family from London.

Constraints / Context: Here is some more information about us. We live in London but would like to holiday abroad. We like exploring cities but also want to get out of the city to walk in beautiful countryside. We are interested in football stadiums, so we would consider visiting cities that are home to a prominent football team. We don’t want to fly to go on holiday. We are happy to take the train or do a cruise. Please revise your suggestions.

Example Here is an example of the type of response I need. Milan is a lovely city for families on holiday. It has many attractions e.g. the Duomo, Michaelangelo’s Last Supper. There are beautiful tourist locations near to the city. for example, Bergamo is a historic hilltop town only a short train journey from Milan. The famous San Siro football stadium, used by both AC Milan and Inter Milan, is situated on the outskirts of the city. Milan can be reached by train from London with an overnight stop in Paris. Please revise your suggestions to respond in this style.