← Back to all products

Chatbot Analytics Accelerator

$1490

Session-level chatbot conversation analytics from a silver layer: resolution rate, satisfaction, escalation, and keyword topic classification into gold KPI tables. Ships a dependency-free analytics library + offline tests. Fully generic Databricks Asset Bundle.

📁 16 files🏷 v1.0.0
Production-readyUnit-testedDatabricks Asset Bundle
✓ Instant download✓ Lifetime updates✓ MIT licensed✓ Secure checkout (Stripe)

⚙ Try the Live Demo interactive

Enter session outcomes and see resolution rate, escalation, CSAT and topic mix — the accelerator's KPI logic, live.

⚡ Open KPI Calculator

📋 What's Inside 16 files

  • README.md
  • LICENSE
  • manifest.json
  • databricks.yml
  • resources/jobs.yml
  • src/silver_to_gold.py
  • src/topic_classification.py
  • src/session_metrics.sql
  • lib/session_metrics.py
  • tests/test_session_metrics.py
  • conftest.py
  • guide/01_what-you-get.md
  • guide/02_getting-started.md
  • guide/03_architecture.md
  • guide/04_support.md
  • guides/chatbot-analytics-methodology.md

📁 File Structure 16 files

chatbot-analytics-accelerator/
├── README.md
├── LICENSE
├── manifest.json
├── databricks.yml
├── resources/
│   ├── jobs.yml
├── src/
│   ├── silver_to_gold.py
│   ├── topic_classification.py
│   ├── session_metrics.sql
├── lib/
│   ├── session_metrics.py
├── tests/
│   ├── test_session_metrics.py
├── conftest.py
├── guide/
│   ├── 01_what-you-get.md
│   ├── 02_getting-started.md
│   ├── 03_architecture.md
│   ├── 04_support.md
├── guides/
│   ├── chatbot-analytics-methodology.md

📖 Documentation Preview README excerpt

Chatbot Analytics Accelerator

Session-level **chatbot conversation analytics** from a silver layer: resolution

rate, satisfaction (CSAT), escalation rate, and topic classification, published

to gold tables for a monitoring dashboard.

Fully generic and environment-agnostic: point it at your silver conversation

data and deploy.

What's inside

- **Databricks Asset Bundle** — a daily silver→gold transform + KPI aggregation.

- **Session KPIs** — resolution, escalation, CSAT, and message counts per topic

per day.

- **Keyword topic classification** — billing / outage / contract / metering /

technical / other.

- **A dependency-free analytics library** (`lib/session_metrics.py`): resolution/

escalation rates, CSAT, message averages, topic classification/distribution,

and a KPI rollup — with an offline test suite (6 tests).

Quickstart

```bash

pip install pytest && pytest tests/ -v

databricks bundle deploy -t dev -p <profile>

```

Provide silver conversation data; the transform derives the gold sessions table.

License

MIT — see `LICENSE`.

... preview truncated, see full README in product download.

📄 Code Sample .py preview

src/silver_to_gold.py# Chatbot Analytics: Silver -> Gold transformation # Databricks notebook source # Reads raw conversation/analytics data from the silver layer, derives # session-level fields (resolved, satisfaction, escalated, first_intent), and # writes a gold sessions table. The KPI + topic logic is implemented and # unit-tested in lib/session_metrics.py. catalog = spark.conf.get("bundle.var.catalog") silver = spark.conf.get("bundle.var.silver_catalog") schema = spark.conf.get("bundle.var.schema") # sessions = spark.sql(f"SELECT ... FROM {silver}.chatbot.conversations ...") # classify first_intent via lib/session_metrics.classify_topic # sessions.write.mode("overwrite").saveAsTable(f"{catalog}.{schema}.gold_sessions") print(f"Build {catalog}.{schema}.gold_sessions from {silver} (see lib/session_metrics.py)")