Unlocking the Intelligence Inside 9,000 AI Conversations
A leading retail technology company had thousands of chatbot sessions flowing through its platform every month — but no way to tell which ones were actually working. Data Driven built the AI-powered analytics layer that turned conversation logs into measurable product intelligence.
Overview
The client powers conversational AI experiences for major retailers — chatbots that guide shoppers through product discovery, recommendations, and support. The platform was generating over 9,000 sessions, but the data stopped at the surface: the team knew users were chatting, but not whether the AI gave useful answers, where conversations fell apart, or what separated a successful interaction from an abandoned one.
Their retail customers were starting to ask tougher questions about performance, and the company had no scalable way to answer them. They needed to move from raw chat logs to structured, turn-level analytics — fast.
Our Approach
Data Driven created a LookML model that sends every conversation to Google Vertex AI (Gemini) through BigQuery and structures the results as governed dimensions inside Looker — making AI performance measurable out of the box:
- Turn-level AI evaluation: Serialized full conversation histories into structured JSON prompts so Gemini could evaluate each session turn by turn — returning sentiment polarity, success/failure flags, rephrase detection, redundancy indicators, and toxicity scores.
- Persistent caching architecture: Designed persistent derived tables with configurable data-group triggers to cache AI outputs in BigQuery, eliminating redundant Gemini calls while keeping analytics current.
- Drop-off analysis: Built drop-off analysis logic that isolates the final turn of every session and correlates it with sentiment trajectory and surrounding events — surfacing why users disengage.
- Complexity & efficacy scoring: Introduced query complexity scoring and AI efficacy measures, giving the client a framework to evaluate bot performance across simple, comparative, and multi-step requests.
- Full ownership transfer: Transferred full ownership through four weeks of intensive co-development sessions — covering LookML modeling, Gemini prompt engineering, and model configuration so the team could extend the system independently.
Outcome
Every conversation on the platform is now analyzed automatically with AI-generated, turn-level metrics — replacing guesswork with repeatable intelligence.
Sentiment shifts, drop-off triggers, and response quality are visible per session, giving the product team concrete signals to improve bot behavior and prove ROI to retail customers.
A complexity-and-efficacy scoring framework lets the company benchmark AI performance across interaction types — a capability they can surface directly to their retail customers.
The client's engineering team owns the full stack end to end and can add new metrics, tune prompts, and extend dashboards without outside help.
- 9,000+: Conversations analyzed automatically with AI-generated, turn-level metrics
- End-to-End: Full ownership transferred to the client's engineering team
Project Metadata
- Client: Retail Technology Company
- Industry: SaaS / Retail Technology
- Services: LookML, BigQuery, Vertex AI (Gemini)