Skip to main content

Mixpanel for conversational AI

Project description

MixedVoices 🎙️

MixedVoices is an analytics platform for voice agents - think Mixpanel for conversational AI. It helps you track, visualize, and optimize your voice agent's performance by analyzing conversation flows, identifying bottlenecks, and measuring success rates across different versions.

Features

Core Capabilities

  • 📊 Flow Visualization: Interactive flowcharts showing conversation paths and patterns
  • 🔄 Version Control: Track and compare agent behavior across different iterations
  • 📈 Success Rate Analytics: Measure and optimize performance metrics
  • 🔍 Conversation Analysis: Deep dive into individual interactions
  • 📝 Metadata Tracking: Store and analyze version-specific configurations
  • 🖥️ Interactive Dashboard: User-friendly interface for all operations

Dashboard Features

  • Project Management
    • Create and manage multiple projects
    • Version control with metadata tracking
    • Easy navigation between versions
  • Flow Visualization
    • Interactive flowcharts of conversation paths
    • Success rate indicators for each step
    • Click-through analysis of specific paths
  • Recording Analysis
    • Detailed view of individual recordings
    • Transcripts and audio playback
    • Success/failure tracking
    • Path visualization for each conversation
  • Upload Interface
    • Easy upload of new recordings
    • Automatic processing and analysis

Installation

pip install mixedvoices

Prerequisites

  1. Python 3.8 or higher
  2. OpenAI API key (set in your environment variables)
export OPENAI_API_KEY='your-api-key'

Quick Start

Using Python API

import mixedvoices

# Create a new project
project = mixedvoices.create_project("receptionist")

# or load existing project
project = mixedvoices.load_project("receptionist")

# Create a version with metadata
version = project.create_version("v1", metadata={
    "prompt": "You are a friendly receptionist.",
    "silence_threshold": 0.1
})

# or load an existing version
version = project.load_version("v1")

# Add recording to analyze
version.add_recording("path/to/recording.wav")

Using Dashboard

Launch the interactive dashboard:

mixedvoices

This will start:

Technical Requirements

Core Dependencies

  • Python ≥ 3.8
  • FastAPI
  • Streamlit
  • OpenAI API access
  • Plotly
  • NetworkX

Troubleshooting

Common Issues

  1. API Connection Errors

    • Verify your OpenAI API key is correctly set
    • Check your internet connection
    • Ensure you're not exceeding API rate limits
  2. Dashboard Not Loading

    • Confirm both API server and dashboard ports are available
    • Check if required dependencies are installed
    • Verify Python version compatibility
  3. Recording Upload Issues

    • Ensure audio files are in supported formats (.wav, .mp3)
    • Check file size limits
    • Verify storage permissions

Contributing

We welcome contributions! Please follow these steps:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Development Setup

git clone https://github.com/yourusername/mixedvoices.git
pip install -e ".[dev]"

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Roadmap

  • Unit Tests
  • Support other APIs and Open Source LLMs
  • Team collaboration features
  • Custom analytics plugins
  • Enhanced visualization options

Made with ❤️ by the MixedVoices Team

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mixedvoices-0.1.0.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

mixedvoices-0.1.0-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

Details for the file mixedvoices-0.1.0.tar.gz.

File metadata

  • Download URL: mixedvoices-0.1.0.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.0

File hashes

Hashes for mixedvoices-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7cba5220ed1e046642725ef454f198015f72f19ccd993c45e382d9422055f0e5
MD5 07a6601f9da7414c06b9a14917892924
BLAKE2b-256 94d1647081975686ba9bad90b510fb8560854ca24f216005db9233b82dee6d57

See more details on using hashes here.

File details

Details for the file mixedvoices-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mixedvoices-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.0

File hashes

Hashes for mixedvoices-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 111807019355c530a58595e5309dd5f8ca08b6625fd49f42589885e6986d5b77
MD5 35997a3d9d69143b0ec390b423c28814
BLAKE2b-256 5e41bbfab64350ac463e1aede59982149e603d34acfcb353bcb16c28e023a88b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page