The RICE Framework
RICE is a simple framework that transforms vague prompts into precise instructions. It stands for Role, Instructions, Context, and Examples.
Breaking Down RICE
R - Role
Tell the AI who it should be. This shapes the tone, vocabulary, and expertise level.
- "You are a senior software engineer..."
- "Act as a patient kindergarten teacher..."
- "You are a financial advisor specializing in retirement planning..."
I - Instructions
Be crystal clear about what you want. Include format, length, and structure.
- "Write a 3-paragraph explanation..."
- "Create a bulleted list of 5 items..."
- "Provide step-by-step instructions with numbered steps..."
C - Context
Give relevant background information. What does the AI need to know?
- "The audience is complete beginners..."
- "This is for a formal business presentation..."
- "The user has tried X but it didn't work..."
E - Examples
Show what good output looks like. Examples dramatically improve results.
- "Format like this: [example]"
- "Here's a sample response: [example]"
- "The tone should be similar to: [example]"
RICE in Action
Try the framework in this interactive playground:
Key Takeaway
Not every prompt needs all four RICE elements, but the more complex your request, the more elements you should include. When in doubt, add more context.
Up next · Lesson 3 of 5
Specificity Techniques
1 min read
2 of 5 lessons done

Ask Byte about this lesson
A private chat about this lesson. Byte has read the whole lesson, answers in seconds, and shows the section each answer comes from. Ask follow-ups in any language.
Questions & Answers
Public questions about this lesson. The AI Tutor answers right away in your language, the FreeAcademy team checks answers, and every learner can read them.

