Integrating Gemini for Natural Language Analytics in IoT Fleet Management

cox_2m · Tech · 2024 · source Agentic: no · promotional bias: high · source-backed · extracted with prompt 0.5.6 (schema v2)

Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.

Problem

Domain: Self-service analytics for IoT fleet-management data

Cox 2M had a lean analytics team serving high-volume internal ad hoc requests across large IoT datasets. Single business questions could take up to a week to answer, making insights stale and keeping analysts away from higher-value customer-facing work. The production goal was to let non-technical users ask data questions in natural language, understand KPI changes, and correct semantic misunderstandings without leaving the analytics workflow.

Constraints:

Architecture

Cox 2M used ThoughtSpot on Google Cloud, connected to Google BigQuery and other Google data services, with Gemini powering natural-language analytics features. ThoughtSpot Liveboards and Sage let business users ask questions, drill into KPI changes, and receive natural-language explanations. Gemini powers three main capabilities: change-analysis narratives, full-liveboard summarization, and Sage natural-language query. The system translates business-language questions into SQL and visualizations against live data, exposes tokens so users can validate how terms mapped to columns, and captures user feedback as reusable query fragments for future questions.

Diagram confidence: explicit (topology described by the source).

flowchart LR
  Cox_2M_IoT_operations_data["Cox 2M IoT operations data"] --> Google_data_platform_layer["Google data platform layer"]
  Google_data_platform_layer --> Looker_Modelo_semantic_layer["Looker Modelo semantic layer"]
  Google_data_platform_layer --> ThoughtSpot_live_query_engine["ThoughtSpot live query engine"]
  Looker_Modelo_semantic_layer --> ThoughtSpot_live_query_engine
  ThoughtSpot_live_query_engine --> ThoughtSpot_Liveboards["ThoughtSpot Liveboards"]
  ThoughtSpot_Liveboards --> Change_analysis["Change analysis"]
  ThoughtSpot_Liveboards --> Liveboard_summarization["Liveboard summarization"]
  Business_user_interface["Business user interface"] --> Sage_natural_language_query["Sage natural-language query"]
  Sage_natural_language_query --> Gemini_LLM["Gemini LLM"]
  Gemini_LLM --> Change_analysis
  Gemini_LLM --> Liveboard_summarization
  Sage_natural_language_query --> ThoughtSpot_live_query_engine
  Sage_natural_language_query --> Token_validation_UI["Token validation UI"]
  Token_validation_UI --> Feedback_correction_interface["Feedback correction interface"]
  Feedback_correction_interface --> Feedback_fragment_store["Feedback fragment store"]
  Feedback_fragment_store --> Sage_natural_language_query
  ThoughtSpot_Liveboards --> Business_user_interface
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
Cox 2M IoT operations data Fleet, automotive lot, and supply-chain IoT data analyzed by business users and analytics teams. Google data platform layer, ThoughtSpot Liveboards
Google data platform layer Cloud data infrastructure including BigQuery, Cloud SQL, AlloyDB, and Looker Modelo integrations. Cox 2M IoT operations data, Looker Modelo semantic layer, ThoughtSpot live query engine
Looker Modelo semantic layer Defines business semantics once and exposes them to ThoughtSpot capabilities. Google data platform layer, ThoughtSpot live query engine
ThoughtSpot live query engine Executes live natural-language-driven queries and advanced analytics against Google data platforms. Google data platform layer, ThoughtSpot Liveboards, Sage natural-language query, Gemini LLM
ThoughtSpot Liveboards Interactive dashboards with KPI charts, drilldowns, change analysis, and full-dashboard summaries. Cox 2M IoT operations data, ThoughtSpot live query engine, Change analysis, Liveboard summarization
Change analysis Computes top contributors to KPI changes and uses Gemini to narrate the findings in business language. ThoughtSpot Liveboards, Gemini LLM
Liveboard summarization Summarizes key expected and unexpected dashboard changes for business users. ThoughtSpot Liveboards, Gemini LLM
Sage natural-language query Lets non-technical users ask business questions in English and receive SQL-backed visualizations. Business user interface, Gemini LLM, ThoughtSpot live query engine, Token validation UI
Gemini LLM Powers natural-language narrations, change explanations, liveboard summaries, and query translation. Change analysis, Liveboard summarization, Sage natural-language query, Feedback fragment store
Token validation UI Shows column-token mappings so users can validate whether the LLM translated a question correctly. Sage natural-language query, Business user interface, Feedback correction interface
Feedback correction interface Lets users correct misunderstood query fragments and submit feedback. Token validation UI, Feedback fragment store
Feedback fragment store Stores corrected fragments for reuse in subsequent queries and classes of similar problems. Feedback correction interface, Gemini LLM, Sage natural-language query
Business user interface Surface where non-technical users ask questions, view liveboards, validate tokens, and submit corrections. Sage natural-language query, ThoughtSpot Liveboards, Token validation UI

Data flow

IoT and business data sit in Google-connected data platforms such as BigQuery, Cloud SQL, AlloyDB, and Looker Modelo semantic definitions. ThoughtSpot hosts on Google Cloud and issues live queries over those platforms. Users view Liveboards, trigger KPI change analysis, ask Sage natural-language questions, and receive SQL-backed visualizations. Gemini generates natural-language narrations, summarizes liveboards, explains change contributors, and helps translate natural-language questions into SQL. When the system misunderstands a term such as popular plans, the user edits tokenized fragments; those fragments are stored for subsequent queries and reusable classes of problems.

3 supporting quotes
“we deeply integrate with Google big query and we enable you know live queries asking natural natural language questions on these um data platforms”transcript, stated
“the last piece that I wanted to touch upon is the invisible bi you can actually integrate the insights into Google Sheets into Google Slides”transcript, stated
“these fragments can be used in a class of problems not just one query”transcript, stated

Why this architecture

The architecture connects natural-language interaction directly to live governed data because Cox 2M's bottleneck was not a lack of dashboards but a lack of timely, self-service answers. ThoughtSpot provides the analytics interface, live queries, liveboards, drilldowns, and semantic integration; Gemini supplies language translation, narration, and summarization; Google data services provide live data access. The token-validation and feedback-fragment loop keeps the interface usable when business terms do not map cleanly to columns.

3 supporting quotes
“it enables the business users to do is essentially now not just ask natural language question but also allow them to create live boards”transcript, stated
“Gemini's capability to translate the insights into a natural language you know um narration”transcript, stated
“these tokens are nothing but column names now while seeing this information and the visualization I'm able to quickly learn that yes the Gemini the the LM model has actually done the work correctly”transcript, stated

Models used: Gemini · ThoughtSpot Sage LLM capabilities

Scale

Alternatives considered (roads not taken)

Continue serving ad hoc analytics through the lean internal analytics team

Rejected because: The model was not scalable for a small team and produced insights too late to remain relevant.

“a cost to serve model that you can see is not scalable especially as a small team”transcript, stated
“if it takes you a week to get the out insights out to your business chances are they're not going to be relevant anyway”transcript, stated

Traditional BI self-service for analytics specialists only

Rejected because: Cox 2M needed self-service for business users, not just BI and analytics teams.

“before geni selfs serve was still out there as a term but it was really more self- serve for bi and analytics teams and not necessarily the end user”transcript, stated
“you can actually put a user interface in front of your business users they can talk in natural language get back accurate answers”transcript, stated

Require users to inspect every dashboard chart manually

Rejected because: Gemini summarization reduces cognitive load by highlighting expected and unexpected liveboard changes.

“imagine a business user going through number of charts in one screen and not making sense out of it”transcript, stated
“that's where Gemini comes into picture where you can summarize the insights in one short”transcript, stated

Treat LLM query translation as opaque

Rejected because: ThoughtSpot exposes tokens and feedback editing so users can validate and correct mappings.

“I am also able to validate that this information is indeed correct using the tokens these tokens are nothing but column names”transcript, stated
“the way we have implemented Sage is that a user can provide feedback as well”transcript, stated

Patterns

query-rewriting (retrieval)

Sage translates natural-language business questions into SQL-backed visualizations over live data.

“the llm is able to translate a complex question into SQL and then converting that into a visualization”transcript, stated
“which states have been you know most in um the roaming calls which which states are seeing most roaming calls”transcript, stated

human-in-the-loop-gate (workflow)

Business users validate token mappings and submit corrections when a natural-language term maps to the wrong query semantics.

“I am also able to validate that this information is indeed correct using the tokens these tokens are nothing but column names”transcript, stated
“I can go ahead and correct it I can say that I want to see only top three”transcript, stated

data-quality-loop (data)

Corrections are stored as smaller fragments and reused for later queries and related problem classes.

“while we submit the feedback it actually translates the question into smaller fragments”transcript, stated
“it gets stored in our system and that we use in the subsequent um queries”transcript, stated

structured-output-contract (interface)

Sage exposes tokenized query fragments and column-name mappings that users can inspect and edit instead of treating the LLM output as free-form prose.

“these tokens are nothing but column names”transcript, stated
“it actually translates the question into smaller fragments and that is what you'll see in the screen”transcript, stated

rag-retrieval (retrieval)

Natural-language questions execute as live queries over governed data platforms rather than relying on static dashboard extracts.

“we enable you know live queries asking natural natural language questions on these um data platforms”transcript, stated
“perform you know unlimited level of drill Downs the advanced analytics that you see change analysis Etc all performing on a live basis”transcript, stated

tool-use-orchestration (workflow)

Gemini powers narrative and query features while ThoughtSpot orchestrates liveboards, change analysis, SQL execution, visualizations, and feedback capture.

“these are the three Integrations that we have done and Gemini is powering all three”transcript, stated
“from natural language narrations to the you know in the r map we also have the sage capability powered by jini”transcript, stated

Tradeoffs

Move from analyst-served requests to business-user natural language analytics.

Chose ThoughtSpot Sage with Gemini-powered natural-language querying over continuing to route most ad hoc requests through the lean analytics team.

Rationale: The old model was slow and not scalable; natural-language self-service freed the analytics team to focus on high-value customer outcomes.

“we were spending you know most of our time serving our internal teams rather than focusing on the external customers”transcript, stated
“that's part of what really led to that reduction in time to insights”transcript, stated

Run natural-language analytics against live data platforms.

Chose live BigQuery and Google data-platform queries through ThoughtSpot over pre-aggregated or static dashboard-only analytics.

Rationale: Live query integration let users ask natural-language questions, drill down, and run change analysis on current governed data.

“we deeply integrate with Google big query and we enable you know live queries asking natural natural language questions”transcript, stated
“perform you know unlimited level of drill Downs the advanced analytics that you see change analysis Etc all performing on a live basis”transcript, stated

Expose token-level validation and correction.

Chose user-visible tokens plus feedback correction over opaque natural-language-to-SQL generation.

Rationale: Token validation lets users catch semantic mismatches and train reusable fragments for later queries.

“I am also able to validate that this information is indeed correct using the tokens”transcript, stated
“these fragments can be used in a class of problems not just one query”transcript, stated

Use Gemini for narrative summarization instead of chart-by-chart interpretation.

Chose Gemini-generated change narratives and liveboard summaries over manual interpretation of every KPI chart and dashboard visualization.

Rationale: Narratives translate data-speak into business language and help users focus on what changed.

“translate the insights into a natural language you know um narration”transcript, stated
“rather using Gemini we are able to translate that in the business language that business users understand”transcript, stated

Gotchas (what bit them)

Analytics self-service was not truly reaching business users.

Root cause: Pre-generative-AI self-service still mostly served BI and analytics teams rather than end users.

Resolution: ThoughtSpot Sage put a natural-language interface in front of business users so they could ask questions directly.

“selfs serve was still out there as a term but it was really more self- serve for bi and analytics teams and not necessarily the end user”transcript, stated
“you can actually put a user interface in front of your business users they can talk in natural language get back accurate answers”transcript, stated

Week-long ad hoc analytics made insights stale.

Root cause: A lean analytics team spent too much time serving internal one-off requests.

Resolution: Cox 2M centralized analytics and adopted ThoughtSpot/Google/Gemini capabilities to reduce time to insight.

“we were spending you know most of our time serving our internal teams rather than focusing on the external customers”transcript, stated
“if it takes you a week to get the out insights out to your business chances are they're not going to be relevant anyway”transcript, stated

Natural-language terms may not map to dataset terms.

Root cause: Users can ask for concepts such as most popular plans that do not exist verbatim in the dataset.

Resolution: The system maps terms into tokens, lets users correct the query, and stores fragments for reuse.

“most popular plans is not in the data set no one understands the system doesn't understand what's what's the most popular”transcript, stated
“I go ahead and fix it the moment I do that it will open a interface where you can actually use tokens to modify the query”transcript, stated

Dashboard volume can hide the actual business change.

Root cause: Users may need to inspect many charts individually to understand what changed.

Resolution: Gemini summarizes liveboards and highlights expected and unexpected changes.

“imagine a business user going through number of charts in one screen and not making sense out of it”transcript, stated
“you can summarize the insights in one short and I'll just demonstrate that to you and it will it will show how it highlights the unexpected and unexpected changes”transcript, stated

LLM-generated answers still need transparent validation.

Root cause: Business users need confidence that the natural-language question was translated to the correct columns and SQL.

Resolution: The UI exposes tokens as column names so users can inspect whether Gemini did the work correctly.

“using the tokens these tokens are nothing but column names”transcript, stated
“I'm able to quickly learn that yes the Gemini the the LM model has actually done the work correctly”transcript, stated

Evaluation

The presentation evaluates the system through customer-reported operational metrics and live demo behavior rather than a controlled benchmark. It reports reduced time to insight, shows business-user query examples, demonstrates change-analysis narratives, token validation, complex query translation to SQL and visualization, and feedback capture for future queries.

Metrics: 88% reduction in time to insight · ad hoc request time from upwards of a week to less than an hour · 11.4 billion assets tracked · over 29,000 miles of asset movement measured every hour · 100%+ KPI increase analyzed in demo · top-three customer query translated to SQL and visualization · feedback fragments stored for subsequent queries

3 supporting quotes
“I read about how uh cox2m uh reduced time to Insight by 88% by using big and J powered thought sport”transcript, stated
“if we even spend any time at all on ad hoc requests which is very little we spend less than an hour reduced time to insights by 88%”transcript, stated
“top three customers who are contributing most in California and Texas I simply write an English question and that's where your response comes in”transcript, stated

Outcomes

The presentation reports 11.4 billion assets tracked, more than 29,000 miles of asset movements measured every hour, and an 88% time-to-insight reduction. The sensor-message count in the auto transcript is noisy, so it is not used as a primary scale claim.

3 supporting quotes
“in the end that really led to something that is enabling us to scale in the long term”transcript, stated
“it's enabling us to focus more on those high value outcomes for our customers”transcript, stated
“that's how we have implemented and utilize Gemini across the board powering all the llm capabilities”transcript, stated