Loading...
Loading...
AI employee simulator for HR training and workplace scenario practice
lattice template use carecollaborative/workplace-scenarioThis will create a new workspace using this template configuration.
Deploy AI-powered employee simulations for HR professionals and managers to practice workplace scenarios including harassment complaints, performance feedback, conflict resolution, and more.
The VM you run Lattice on must have a running Docker socket:
# Add lattice user to Docker group
sudo adduser lattice docker
sudo systemctl restart lattice
Configure your AI and voice providers:
# Required
export OPENAI_API_KEY="your-openai-key"
export LIVEKIT_URL="wss://your-livekit.livekit.cloud"
export LIVEKIT_API_KEY="your-livekit-key"
export LIVEKIT_API_SECRET="your-livekit-secret"
# Optional - for avatar support
export TAVUS_API_KEY="your-tavus-key"
export TAVUS_REPLICA_ID="your-replica-id"
export TAVUS_PERSONA_ID="your-persona-id"
This template provisions:
Customize the employee persona via Terraform variables:
# terraform.tfvars
employee_name = "Sarah Chen"
employee_age = 34
employee_gender = "female"
employee_cultural_background = "Asian-American"
employee_occupation = "Software Engineer"
employee_job_title = "Senior Developer"
employee_department = "Engineering"
employee_tenure = "3 years"
scenario_type = "Sexual Harassment"
employee_role = "Complainant"
employee_situation = "Reporting inappropriate comments from a colleague"
employee_emotional_state = "Anxious but determined to report"
employee_concerns = ["Retaliation", "Not being believed", "Career impact"]
The simulator supports various workplace training scenarios:
Built for HR training and workplace scenario practice.