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.
التالي · الدرس 3 من 5
Specificity Techniques
قراءة 1 دقيقة
أنهيت 2 من 5 درسًا

اسأل Byte عن هذا الدرس
محادثة خاصة حول هذا الدرس. قرأ Byte الدرس كاملًا، ويجيب خلال ثوانٍ، ويُظهر القسم الذي تأتي منه كل إجابة. يمكنك السؤال بأي لغة.
الأسئلة والأجوبة
أسئلة عامة حول هذا الدرس. يجيب AI Tutor فورًا بلغتك، ويراجع فريق FreeAcademy الإجابات، ويمكن لكل المتعلمين قراءتها.

