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
- Python 3.8 or higher
- OpenAI API key (set in your environment variables)
export OPENAI_API_KEY='your-api-key'
Quick Start
Using Python API
import mixedvoices as mv
# Create a new project
project = mv.create_project("receptionist")
# or load existing project
project = mv.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, by default this is non blocking and runs on a separate thread
version.add_recording("path/to/recording.wav", is_successful=True)
# run in blocking mode
version.add_recording("path/to/recording2.wav", blocking=True, is_successful=False)
Using Dashboard
Launch the interactive dashboard:
mixedvoices
This will start:
- API server at http://localhost:8000
- Dashboard at http://localhost:8501
Technical Requirements
Core Dependencies
- Python ≥ 3.8
- FastAPI
- Streamlit
- OpenAI API access
- Plotly
- NetworkX
Troubleshooting
Common Issues
-
API Connection Errors
- Verify your OpenAI API key is correctly set
- Check your internet connection
- Ensure you're not exceeding API rate limits
-
Dashboard Not Loading
- Confirm both API server and dashboard ports are available
- Check if required dependencies are installed
- Verify Python version compatibility
-
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:
- Fork the repository
- Create a feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - 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 Apache 2.0 License - see the LICENSE file for details.
Roadmap
- Unit Tests
- Async recording analysis
- Support other APIs and Open Source LLMs
- Team collaboration features
- Custom analytics plugins
- Enhanced visualization options
Made with ❤️ by the MixedVoices Team
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file mixedvoices-0.1.1.tar.gz
.
File metadata
- Download URL: mixedvoices-0.1.1.tar.gz
- Upload date:
- Size: 14.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c085e4aed4ed72b4b692131ab3540260037557e8409c3b665764ec338cbdfbc7 |
|
MD5 | 691956c206f4ddc88a577c2fe9df28ee |
|
BLAKE2b-256 | d4804e1ca66db06ef53111f58a89621aeed64697776980f1dea85476eb2cf325 |
File details
Details for the file mixedvoices-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: mixedvoices-0.1.1-py3-none-any.whl
- Upload date:
- Size: 12.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f1cb32100c2f7e56d01076478d3efec3df91dc0f439ec9fccb4e51d749509df |
|
MD5 | 584a69bf9f0df9c6badfc101d2343d38 |
|
BLAKE2b-256 | 22368471215061e114affc3dcb2457da90727a122fee08a52da7c421f32e8fed |