LLM-Powered Data Discovery and Documentation Platform

grab · Tech · 2024 · source Agentic: yes · promotional bias: low · 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: Enterprise data discovery and documentation

Grab needed employees to find trustworthy datasets across a very large data lake without relying on keyword-only search, poor documentation coverage, or tribal Slack knowledge.

Constraints:

Architecture

Grab improved Hubble search, generated table documentation with GPT-4, published documented datasets into Glean, and built HubbleIQ as an LLM-based data-discovery bot available in Hubble UI and Slack. The architecture combines generated context, enterprise search, and channel integration so users can ask contextual discovery questions without leaving their workflow.

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

flowchart LR
  Hubble_catalog["Hubble metadata catalog"] --> Documentation_engine["Documentation generation engine"]
  Documentation_engine --> Producer_review["Data producer review"]
  Producer_review --> Glean_search["Glean enterprise search"]
  Hubble_catalog --> Glean_search
  Glean_search --> HubbleIQ["HubbleIQ bot"]
  HubbleIQ --> Hubble_UI["Hubble UI"]
  HubbleIQ --> Slack_channels["Slack ask channels"]
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
Hubble metadata catalog Grab's internal Datahub-based catalog containing dataset metadata and search entry points. Documentation generation engine, Glean enterprise search, HubbleIQ bot
Documentation generation engine GPT-4 workflow that creates table documentation from schemas and sample data. Hubble metadata catalog, Data producer review
Data producer review Human review process that lets producers accept or edit AI-generated documentation before removing the AI-generated tag. Documentation generation engine, Glean enterprise search
Glean enterprise search Enterprise search layer that indexes documented Hubble datasets for LLM-assisted retrieval. Hubble metadata catalog, HubbleIQ bot
HubbleIQ bot LLM bot with a custom system prompt that answers contextual data discovery questions using catalogued Hubble datasets. Glean enterprise search, Hubble UI, Slack ask channels
Hubble UI Search surface that shows HubbleIQ results for likely semantic searches before regular search results. HubbleIQ bot
Slack ask channels Workflow surface where data consumers can ask discovery questions and get first-line HubbleIQ answers. HubbleIQ bot

Data flow

Hubble metadata and table schemas feed a GPT-4 documentation generation engine. Reviewed or AI-tagged documentation is indexed into Glean. HubbleIQ uses a custom system prompt and Glean access to answer semantic discovery questions, then appears above regular Hubble search results or inside Slack ask channels.

3 supporting quotes
“To support HubbleIQ, we built a documentation generation engine that used GPT-4 to generate documentation based on table schemas and sample data.”article, stated
“First, we integrated Hubble with Glean, making all data lake tables with documentation available on the Glean platform.”article, stated
“Finally, we integrated this bot into Hubble search, such that for any search that is likely to be a semantic search, HubbleIQ results are shown on top”article, stated

Why this architecture

Grab separated known-item search from semantic discovery: Elasticsearch enhancements handled exact and partial lookup, while HubbleIQ used generated documentation and Glean-backed LLM search for contextual questions that previously went to humans in Slack.

3 supporting quotes
“Exact and partial searches accounted for 75% of searches on Hubble (and were non-existent on Slack: as a human, receiving a message that just had the name of a dataset would feel rather odd).”article, stated
“Semantic search: These were free text queries with abundant contextual information supplied by the user.”article, stated
“To speed up go-to-market, we decided to leverage Glean, an enterprise search tool used by Grab.”article, stated

Models used: GPT-4 · Glean Apps LLM · LLMs

Scale

Alternatives considered (roads not taken)

Relying on vanilla Elasticsearch/Datahub search

Rejected because: It could handle keyword reference searches but could not use user context for semantic discovery.

“it struggled with true data discovery due to its reliance on Elasticsearch, which performs well for keyword searches but cannot accept and use user-provided context”article, stated

Continuing Slack-based tribal-knowledge discovery

Rejected because: The process kept humans in the loop and caused multi-day discovery journeys.

“data consumers heavily relied on tribal knowledge, often turning to their colleagues via Slack to find the datasets they needed.”article, stated
“51% of data consumers at Grab took multiple days to find the dataset they required”article, stated

Launching HubbleIQ without first improving documentation coverage

Rejected because: The team first built a context store because HubbleIQ needed high documentation coverage before LLM discovery could work.

“With high documentation coverage in place, we were ready to harness the power of LLMs for data discovery.”article, stated

Patterns

rag-retrieval (retrieval)

HubbleIQ answers semantic data-discovery questions by accessing documented Hubble datasets indexed in Glean.

“the HubbleIQ bot, which was essentially an LLM with a custom system prompt that could access all Hubble datasets that were catalogued on Glean.”article, stated

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

AI-generated table documentation is visibly tagged until data producers accept or edit it.

“Such docs were visible to data consumers with an “AI-generated” tag as a precaution. When data producers accepted or edited the documentation, the tag was removed.”article, stated

eval-driven-development (evaluation)

The team tracked search click-through, documentation usefulness, survey outcomes, and planned an evaluator model for generated documentation quality.

“User feedback showed that ~95% of users found the generated docs useful.”article, stated
“we will develop an evaluator model that leverages LLMs to assess the quality of both human and AI-written docs.”article, stated

Tradeoffs

Use Glean rather than build a bespoke enterprise search stack for HubbleIQ

Chose Glean Apps and Glean-indexed Hubble datasets over a custom semantic-search platform built from scratch.

Rationale: Grab explicitly chose Glean to speed up go-to-market while using documentation already made available from Hubble.

“To speed up go-to-market, we decided to leverage Glean, an enterprise search tool used by Grab.”article, stated

Expose generated documentation before full human finalization

Chose AI-generated tag plus producer review over waiting for all documentation to be manually written and approved.

Rationale: The tag made provenance visible while accelerating documentation coverage for critical tables.

“Such docs were visible to data consumers with an “AI-generated” tag as a precaution. When data producers accepted or edited the documentation, the tag was removed.”article, stated

Gotchas (what bit them)

Keyword catalog search could not satisfy contextual discovery queries.

Root cause: Elasticsearch search was tuned for known-dataset reference queries, not user-provided semantic context.

Resolution: Keep improving exact/partial search while adding HubbleIQ for semantic queries.

“Vanilla Elasticsearch did not perform well in this category since it relied on pure keyword matching and did not consider any additional context.”article, stated

LLM discovery was limited by sparse documentation.

Root cause: Only a minority of important tables had useful documentation for the bot or users to reason over.

Resolution: Generate table documentation from schemas/sample data and ask producers to review it.

“Documentation coverage for our data lake tables was low, with only 20% of the most frequently queried tables (colloquially referred to as P80 tables) having existing documentation.”article, stated

Discovery workflows were leaving the catalog UI and depending on colleagues.

Root cause: Users expected contextual questions to fail in Hubble and sent them to data producers over Slack.

Resolution: Integrate HubbleIQ into Slack ask channels as the first line of defence.

“After integration, HubbleIQ will act as the first line of defence for answering questions in these channels, reducing the need for human intervention.”article, stated

Evaluation

Grab measured search click-through, documentation coverage/usefulness, user survey changes, monthly active users, and planned evaluator-model checks for generated documentation quality.

Metrics: click-through rate rose to 94% · documentation coverage for P80 tables rose to about 90% · ~95% of users found generated docs useful · 73% found dataset discovery easy

“As a result of these enhancements, the click-through rate rose steadily over the course of the half to 94%, a 12 percentage point increase.”article, stated
“A follow-up survey revealed that 73% of respondents found it easy to discover datasets, marking a substantial 17 percentage point increase”article, stated

Outcomes

The system targets Grab's large enterprise data lake with over 200,000 tables and many additional streams, databases, and ML features.

“Moreover, Hubble reached an all-time high in monthly active users, demonstrating the effectiveness of the enhancements made to the platform.”article, stated
“By harnessing the power of AI and LLMs, the Hubble team has made significant strides in improving documentation coverage, enhancing search capabilities”article, stated