--- title: ContextDB 🤝 Justcall emoji: 🎯 colorFrom: indigo colorTo: purple sdk: gradio sdk_version: 5.47.0 app_file: app.py pinned: false license: mit short_description: AI-powered conversation analysis with insights and summaries --- # 🎯 Conversation Analysis Dashboard An AI-powered dashboard for analyzing customer conversations with intelligent insights, summaries, and follow-up email generation. ## Features - **📊 Conversation Analysis**: View and analyze customer conversations with quality scores and sentiment analysis - **💡 AI Insights**: Get marketing insights and key findings from conversations - **📧 Follow-up Emails**: Generate contextual follow-up emails based on conversation analysis - **🔍 Smart Filtering**: Filter conversations by quality score, sentiment, and search terms - **📈 Real-time Updates**: Dynamic table updates with conversation details ## How to Use 1. **View Conversations**: Browse through analyzed conversations in the main table 2. **Filter Data**: Use the quality score slider, sentiment dropdown, and search box to filter conversations 3. **View Details**: Click on any conversation row to see detailed analysis including: - Contextual summary - Marketing insights with quotes and sentiment - Generated follow-up email 4. **Refresh Data**: Use the refresh button to reload the latest conversation data ## Technology Stack - **Frontend**: Gradio for interactive UI - **Backend**: Python with MongoDB for data storage - **AI**: OpenAI GPT models for conversation analysis - **Database**: MongoDB Atlas for conversation and RAG data storage ## Data Sources The dashboard analyzes conversations from MongoDB collections: - `test_intercom_data`: Main conversation data with analysis results - `rag_intercom`: RAG index for semantic search and context retrieval ## Getting Started The app will automatically connect to the configured MongoDB instance and load conversation data. No additional setup required!