🚀 Advanced AI-powered support analytics dashboard with premium Figma-style design and agent building capabilities
- Smart Ticket Analysis: Automatic priority, sentiment, and category classification
- Bulk Processing: Analyze multiple tickets simultaneously with AI insights
- Historical Insights: Trend analysis and pattern recognition from past tickets
- Glassmorphism Effects: Modern, translucent UI elements with blur effects
- Gradient Themes: Professional color schemes with smooth transitions
- Dark Mode Support: Complete theme switching with CSS-in-JS implementation
- Responsive Design: Optimized for all screen sizes
- Custom Agent Creation: Build specialized AI support agents
- Tool Integration: Configure multiple LLM models and tools
- JSON Configuration: Export agent configurations for external use
- Goal-Based Building: Define specific agent purposes and functions
- Real-time Metrics: Live dashboard with key performance indicators
- Interactive Charts: Plotly-powered visualizations with drill-down capabilities
- Priority Distribution: Visual breakdown of ticket urgency levels
- Category Analysis: Department-wise ticket categorization
- CSV Import/Export: Seamless data integration and backup
- Sample Data Seeding: Quick start with realistic test data
- Search & Filter: Advanced filtering by priority, category, and keywords
- Escalation Alerts: Automatic highlighting of urgent tickets
-
Clone the repository:
git clone https://github.com/joicyroslin-svg/ai-support-intelligence-hub.git cd ai-support-intelligence-hub -
Install dependencies:
pip install -r requirements.txt
-
Set up environment variables:
cp .env.example .env # Edit .env with your API keys -
Run the dashboard:
streamlit run ai_support_dashboard.py
-
Access the application: Open http://localhost:8501 in your browser
- Python 3.9+
- Streamlit 1.35+
- Plotly 5.17+
- LiteLLM 1.72+
- Pandas, NumPy, Requests
See requirements.txt for the complete list of dependencies.
ai-support-intelligence-hub/
├── ai_support_dashboard.py # Main Streamlit application
├── assistant/ # Core AI functionality
│ ├── agent.py # Agent orchestration
│ ├── build_agent.py # Agent builder logic
│ ├── config.py # Configuration management
│ ├── llm.py # LLM client abstraction
│ ├── rag.py # Retrieval-Augmented Generation
│ ├── service.py # Core service functions
│ └── ui_theme.py # Theme management
├── data/ # Sample data
│ └── sample_tickets.csv # Example ticket data
├── tests/ # Unit tests
└── requirements.txt # Python dependencies
- View real-time analytics and key metrics
- Monitor ticket volume, sentiment trends, and priority distribution
- Access escalation alerts for urgent tickets
- Upload CSV files for bulk ticket analysis
- Filter tickets by priority, category, and keywords
- View tickets in table or chat format
- Bulk analyze filtered tickets with AI
- Analyze individual tickets with AI
- Get priority, sentiment, and category classification
- Generate AI responses with different tones
- View similar historical tickets
- Create custom AI support agents
- Configure tools and goals
- Export agent configurations as JSON
- Integrate with external systems
Create a .env file with the following variables:
# LLM Configuration
OPENAI_API_KEY=your_openai_key_here
GEMINI_API_KEY=your_gemini_key_here
ANTHROPIC_API_KEY=your_claude_key_here
# Application Settings
DEFAULT_MODEL=gpt-4o-mini
MAX_OUTPUT_TOKENS=1000
TEMPERATURE=0.2- Theme Colors: Modify CSS variables in
assistant/ui_theme.py - Default Models: Update
DEFAULT_MODELinassistant/config.py - Analysis Settings: Adjust parameters in
assistant/service.py
Run the test suite:
pytestRun specific tests:
pytest tests/test_service.py
pytest tests/test_llm.py-
Push to GitHub:
git add . git commit -m "Ready for deployment" git push origin main
-
Deploy to Streamlit Cloud:
- Go to https://streamlit.io/cloud
- Connect your GitHub repository
- Select
ai_support_dashboard.pyas the main file - Deploy!
-
Your app will be live at:
https://your-username-ai-support-hub.streamlit.app
# Build the image
docker build -t ai-support-hub .
# Run the container
docker run -p 8501:8501 ai-support-hub- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Streamlit - For the amazing web framework
- Plotly - For beautiful interactive charts
- LiteLLM - For unified LLM API access
- Figma - For design inspiration
- Issues: GitHub Issues
- Documentation: Wiki
- Email: joicyroslin@example.com
Made with ❤️ using Streamlit and AI