feat: Add Streamlit dashboard with Blueprint compliance (v2.1.0)
Dashboard Features: - 8 navigation sections: Overview, Outcomes, Poor CX, FCR, Churn, Agent, Call Explorer, Export - Beyond Brand Identity styling (colors #6D84E3, Outfit font) - RCA Sankey diagram (Driver → Outcome → Churn Risk flow) - Correlation heatmaps (driver co-occurrence, driver-outcome) - Outcome Deep Dive (root causes, correlation, duration analysis) - Export functionality (Excel, HTML, JSON) Blueprint Compliance: - FCR: 4 categories (Primera Llamada/Rellamada × Sin/Con Riesgo de Fuga) - Churn: Binary view (Sin Riesgo de Fuga / En Riesgo de Fuga) - Agent: Talento Para Replicar / Oportunidades de Mejora - Fixed FCR rate calculation (only FIRST_CALL counts as success) Technical: - Streamlit + Plotly for interactive visualizations - Light theme configuration (.streamlit/config.toml) - Fixed Plotly colorbar titlefont deprecation Documentation: - Updated PROJECT_CONTEXT.md, TODO.md, CHANGELOG.md - Added 4 new technical decisions (TD-014 to TD-017) - Created TROUBLESHOOTING.md with 10 common issues Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
32
config/prompts/versions.yaml
Normal file
32
config/prompts/versions.yaml
Normal file
@@ -0,0 +1,32 @@
|
||||
# ============================================
|
||||
# CXInsights - Prompt Version Registry
|
||||
# ============================================
|
||||
# Active versions for each prompt type
|
||||
# ============================================
|
||||
|
||||
call_analysis:
|
||||
active: "v2.0"
|
||||
versions:
|
||||
v1.0:
|
||||
description: "Initial MAP prompt - sales + CX + RCA"
|
||||
created: "2024-01-19"
|
||||
status: "deprecated"
|
||||
v2.0:
|
||||
description: "Blueprint-aligned - adds FCR, churn risk, agent assessment"
|
||||
created: "2026-01-19"
|
||||
status: "active"
|
||||
changes:
|
||||
- "Added FCR analysis (first call vs repeat call)"
|
||||
- "Added churn risk classification"
|
||||
- "Added agent skill assessment"
|
||||
- "Enhanced RCALabel with origin and corrective_action"
|
||||
- "Added AgentSkillIndicator model"
|
||||
- "Maximum 5 items per category"
|
||||
|
||||
rca_synthesis:
|
||||
active: "v1.0"
|
||||
versions:
|
||||
v1.0:
|
||||
description: "Initial RCA narrative synthesis"
|
||||
created: "2024-01-19"
|
||||
status: "active"
|
||||
Reference in New Issue
Block a user