Loading...
Loading...
Multi-participant transcription and session analysis for training evaluations
lattice template use carecollaborative/session-scenarioThis will create a new workspace using this template configuration.
Deploy real-time multi-participant transcription for training sessions with automatic analysis, metrics, and cloud storage integration for faculty evaluation workflows.
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 transcription and storage providers:
# Required - LiveKit
export LIVEKIT_URL="wss://your-livekit.livekit.cloud"
export LIVEKIT_API_KEY="your-livekit-key"
export LIVEKIT_API_SECRET="your-livekit-secret"
# Required - S3-Compatible Storage (R2, AWS S3, MinIO)
export S3_ENDPOINT="https://your-account.r2.cloudflarestorage.com"
export S3_BUCKET="your-bucket-name"
export S3_KEY_ID="your-access-key-id"
export S3_KEY_SECRET="your-secret-access-key"
export S3_REGION="auto" # Use "auto" for R2, or specific region for AWS
This template provisions:
Session artifacts are organized hierarchically:
sessions/
{room_name}/
{timestamp}/
recording.ogg # Full audio recording
session_report.json # Complete session data
conversation.txt # Human-readable transcript
conversation.json # Clean JSON for LLM processing
analysis.json # Metrics and speaking analysis
The session_report.json includes:
Customize the transcriber via Terraform variables:
# terraform.tfvars
agent_name = "Training Session Transcriber"
stt_model = "deepgram/nova-3"
stt_language = "multi" # Multilingual support
noise_cancellation = true
enable_recording = true
recording_format = "ogg"
Session: training-room-123
Date: 2024-01-15T14:30:00
Duration: 1200.5 seconds
Participants: student-001, ai-patient
--- CONVERSATION ---
[14:30:05] student-001: Good morning, I'm Dr. Smith. What brings you in today?
[14:30:12] ai-patient: Hello doctor. I've been having chest pain for the past few days.
...
{
"metrics": {
"total_participants": 2,
"total_utterances": 45,
"total_words": 1250,
"duration_seconds": 1200.5
},
"speaking_balance": {
"student-001": 650,
"ai-patient": 600
}
}
Built for training evaluation and session analysis workflows.