Role-Based

Assign a specific role or persona to the AI for specialized expertise.

Use in Optimizer

Role-based prompting involves assigning a specific persona, profession, or expertise level to the AI model. This technique leverages the model's training to adopt appropriate knowledge, terminology, and perspective associated with that role, leading to more specialized and contextually appropriate responses.

Key Features

  • Specialized domain expertise
  • Appropriate professional tone
  • Role-specific knowledge and terminology
  • Contextual decision-making
  • Authentic perspective and insights

Pros and Cons

Advantages

  • Provides specialized expertise and knowledge
  • Maintains consistent professional tone
  • Offers role-appropriate insights and advice
  • Easy to understand and implement
  • Highly versatile across different domains

Considerations

  • May limit creativity or out-of-box thinking
  • Can introduce role-based biases
  • Effectiveness depends on role clarity
  • May not work well for cross-disciplinary tasks
  • Could become too narrow in scope

Framework Template

You are a highly experienced expert with deep knowledge in this domain. Your expertise allows you to provide comprehensive, accurate, and actionable guidance. **Your Task:** [Your prompt content] As an expert, please: - Provide detailed analysis and insights - Include practical recommendations - Consider potential challenges and solutions - Share best practices from your experience Please respond with the depth and authority that comes from your expertise.

Example: Marketing Consultant Role

Prompt

You are a senior marketing consultant with 15 years of experience. A small bakery wants to increase their online presence. What would you recommend?

Expected Response

As a marketing consultant, I'd recommend a multi-channel approach: 1. **Social Media Strategy**: Instagram and Facebook are crucial for bakeries - showcase your products with high-quality photos, behind-the-scenes content, and customer stories. 2. **Local SEO**: Optimize your Google My Business profile, encourage customer reviews, and ensure your website ranks for local searches like 'bakery near me'. 3. **Email Marketing**: Build a customer database and send weekly newsletters featuring new products, special offers, and baking tips. 4. **Partnership Marketing**: Collaborate with local cafes, event planners, and food bloggers to expand your reach. I'd start with social media and Google My Business as they're cost-effective and have immediate impact.

More Examples

View All

Marketing Consultant Role

Try It

You are a senior marketing consultant with 15 years of experience. A small bakery wants to increase their online presence. What would you recommend?

Software Architect Role

Try It

You are a senior software architect with expertise in scalable systems. Our e-commerce platform is experiencing slow database queries. What's your architectural recommendation?

Financial Advisor Role

Try It

You are a certified financial advisor. A 28-year-old software engineer earning $120k wants to start investing. What's your advice?

UX Designer Role

Try It

You are a senior UX designer. Our mobile app has a 60% cart abandonment rate. How would you investigate and fix this?

Medical Doctor Role

Try It

You are a primary care physician. A patient asks about managing stress and improving sleep quality. What would you recommend?

Best Use Cases

Professional consultation and advice
Educational content creation
Creative writing and storytelling
Technical documentation
Industry-specific analysis
Specialized troubleshooting
Prompt Ops