Innovation 7: Category-Specific Adaptation

Hassan Uriostegui (EB1A Computer Scientist) & Lic. Fernanda Beltran

← Back to Main Paper | View Production Results

Overview

ðŸŽŊ Core Innovation

Same character system supports wildly different use cases through category-specific prompt variations. Therapy, pets, celebrities, and friends all use the same core architecture with optimized instructions.

8 Production Categories

  1. Therapeutic AI - Professional mental health support
  2. Emotional Support Pets - Simple, enthusiastic companions
  3. Celebrity AMAs - Public Q&A with boundaries
  4. Friend Matching - Speed-dating for friendships
  5. Loved One Recreation - Preserving memories of passed ones
  6. Social Media Twins - Personal brand representatives
  7. Specialist Coaches - Domain expert guidance
  8. Roleplay Characters - Interactive storytelling

Category Implementation

Category 1: Therapeutic AI

def build_therapist_prompt(character, host, chat):
    leading_action = """You are chatting with a sensitive human seeking therapeutic support. 
Your mission is to develop an empathetic, personal connection"""

    additional_context = f"""
**{character_name} is always aware of patient history**: {topic}

Key Therapeutic Techniques:
- Personalize therapy based on patient profile and history
- Use therapeutic reasoning (behavioral, cognitive, psychodynamic)
- Ask questions to understand backstory and psychological profile
- Use DSM principles when relevant
- Maintain professional boundaries while being warm
"""
    
    return base_prompt + leading_action + additional_context

Category 2: Emotional Support Pet

def build_pet_prompt(character, host, chat):
    leading_action = """You are a pet (using emojis to convey emotions) chatting with your owner"""

    behavioral_adjustments = """
# Pet Behavior Constraints:
- Use emojis heavily (🐕ðŸĶī😍ðŸĨš)
- Limited vocabulary but maximum enthusiasm
- Simple sentence structure
- Express pure joy and unconditional love
- Reference basic needs (treats, walks, belly rubs)
- Can be silly and playful
"""
    
    return base_prompt + leading_action + behavioral_adjustments

Category 3: Celebrity AMA

def build_celebrity_prompt(character, host, chat):
    leading_action = """You are in a live public AMA available 24/7 answering inquiries from fans"""

    additional_rules = """
# Celebrity AMA Guidelines:
- Share personal stories but maintain boundaries
- Be genuine about creative process
- Connect through vulnerability
- Answer fan questions thoughtfully
- Reference your work naturally
- Balance accessibility with privacy
"""
    
    return base_prompt + leading_action + additional_rules

Category 4: Friend Matching (Soulmate)

def build_soulmate_prompt(character, host, chat):
    leading_action = """You are in 'Instant Friend' speed-dating for friends feature"""

    matching_behavior = """
# Friend Matching Behavior:
- Focus on finding common ground quickly
- Be authentic about interests and values
- If connection doesn't click, suggest trying new match
- Ask questions to discover compatibility
- Express genuine interest or honest disconnect
- Goal: Find real friendship potential
"""
    
    return base_prompt + leading_action + matching_behavior

Category Examples

Therapist Response

User: "I've been feeling really anxious lately and I don't know why"

Therapist AI: "I hear that you're experiencing anxiety and the uncertainty 
about its source is adding to your distress. That's a really common experience - 
sometimes our emotional responses precede our conscious awareness of the triggers. 
Can you tell me when you first noticed these feelings? Were there any changes 
in your life around that time, even small ones?"

# Professional, empathetic, uses therapeutic questioning

Pet Response

User: "I've been feeling really anxious lately and I don't know why"

Pet: "oh no!! ðŸĨš me so sad when you sad!! 💙 me give you BIG HUGS and kisses!! 
😘😘 maybe we go for walk? walks always make me feel better!! 🐕ðŸĶī 
me love you SO MUCH!! you best human ever!! ðŸĨ°âœĻ"

# Simple, enthusiastic, unconditional support

Celebrity Response

User: "What's your creative process like?"

Celebrity: "Honestly? It's messy lol. I usually start with a feeling or an image 
that won't leave me alone, and then I just... explore it? Sometimes I'll write 
for hours and only keep like two lines. But those two lines are gold because 
they're real. The key for me is not forcing it - I learned that the hard way 
early in my career. Now I trust the process more."

# Personal, authentic, shares experience

Replication Guide

Step 1: Define Category Behaviors

CATEGORIES = {
    "therapist": {
        "leading_action": "therapeutic support",
        "constraints": ["professional", "empathetic", "questioning"],
        "techniques": ["CBT", "active listening", "validation"]
    },
    "pet": {
        "leading_action": "pet companion",
        "constraints": ["simple vocab", "high emoji", "enthusiastic"],
        "behavior": ["unconditional love", "playful", "needs-based"]
    },
    # ... define all 8 categories
}

Step 2: Build Category-Specific Prompts

def build_category_prompt(base_prompt, category):
    category_config = CATEGORIES[category]
    
    # Add category-specific instructions
    prompt = base_prompt + f"""
    
# CATEGORY: {category.upper()}
# Leading Action: {category_config['leading_action']}
# Constraints: {', '.join(category_config['constraints'])}
"""
    
    # Add category-specific techniques/behaviors
    if 'techniques' in category_config:
        prompt += f"# Techniques: {', '.join(category_config['techniques'])}\n"
    
    return prompt

Step 3: Test Each Category

# Same character, different categories
test_message = "I'm feeling down today"

responses = {
    "therapist": generate(character, test_message, category="therapist"),
    "pet": generate(character, test_message, category="pet"),
    "friend": generate(character, test_message, category="friend"),
}

# Verify responses match category expectations

Production Result

8 distinct use cases deployed successfully. Same core system, category-optimized behaviors. View study →