Skip to main content
Service: ui
Port: 3000
Technology: React + TypeScript + Tailwind CSS
Container: Included in docker-compose.yml

Purpose

The web console is the primary interface for:
  • Creating and managing voice assistants
  • Viewing and analyzing conversations
  • Managing knowledge bases and documents
  • Configuring credentials and integrations
  • Monitoring performance and analytics
  • Team collaboration and workspace management

Key Features

Assistant Management

  • Create new voice assistants with flexible configuration
  • Version control for assistant configurations
  • Real-time testing and debugging
  • Performance analytics and call metrics

Conversation Viewer

  • Search and filter conversations by date, agent, or keywords
  • View complete conversation transcripts
  • Listen to audio recordings
  • Analyze conversation quality and metrics
  • Export conversation data

Knowledge Base Management

  • Upload documents (PDF, DOCX, XLSX, CSV, MD, HTML)
  • Manage document chunks and embeddings
  • Full-text search across knowledge base
  • Semantic search with similarity scores
  • Document versioning and organization

Integration Configuration

  • Connect external AI providers (OpenAI, Anthropic, etc.)
  • Configure STT/TTS services
  • Manage telephony integrations (Twilio, Vonage, etc.)
  • Secure credential storage with encryption
  • Provider health monitoring

Analytics & Monitoring

  • Call duration and quality metrics
  • LLM token usage and costs
  • Response time analysis
  • Error tracking and debugging
  • Real-time conversation monitoring

Team Management

  • Multi-user workspace support
  • Role-based access control
  • Team member invitation
  • Activity logging and audit trails

Accessing the Dashboard

Local Development

Production Deployment

Technology Stack

Environment Configuration

File: .env.production or .env.development

Build and Deployment

Development Server

Starts on http://localhost:3000 with hot-reload.

Production Build

Generates optimized build in ui/build/.

Docker Deployment

Frontend Architecture

Directory Structure

Key Components

Authentication
  • Login/signup forms
  • JWT token management
  • OAuth integrations (Google, GitHub, etc.)
  • Session management
Assistant Management
  • Create assistant wizard
  • Assistant list and detail views
  • Version management
  • Testing interface
Conversation Viewer
  • Conversation list with filtering/search
  • Message timeline with audio playback
  • Transcript display with highlighting
  • Metrics and analytics
Knowledge Base
  • Document upload interface
  • Knowledge base browser
  • Chunk viewer and editor
  • Search interface
Integration Settings
  • Credential input forms
  • Provider configuration
  • API key management
  • Connection testing

Performance Optimization

Code Splitting

  • Lazy loading of route components
  • Dynamic imports for heavy modules

Caching

  • Browser cache for static assets
  • Redis caching on backend for API responses

Bundling

  • Minification and compression
  • Tree shaking for unused code
  • Asset optimization

Development Workflow

Setup Local Development

Debugging

Styling

Tailwind CSS

The UI uses Tailwind CSS for styling:

Custom Styles

Global styles in:
  • src/styles/index.css
  • src/styles/globals.css
Component-specific styles in:
  • src/components/{Component}/{Component}.module.css

Troubleshooting

Port 3000 Already in Use

Blank Page After Login

API Connection Issues

Next Steps