Avatar System
Core Components
Models (core/avatar/models.py)
core/avatar/models.py)Avatar Class
@dataclass
class Avatar:
id: str # Unique identifier
name: str # Display name
image_path: Path # Static image asset path
video_path: Optional[Path] # Optional video asset path
voice_id: str # ElevenLabs voice identifier
accent_color: str # UI theme color
prompts: AvatarPrompts # Personality configurationAvatarPrompts Class
Manager (core/avatar/manager.py)
core/avatar/manager.py)Events (core/avatar/events.py)
core/avatar/events.py)Configuration (config/avatar_config.py)
config/avatar_config.py)Integration Points
Voice System
UI Integration
Event Handling
Usage Example
Error Handling
Last updated