WhoBuilt

"Data readiness" is a Myth: Reliable AI with an Agentic Semantic Layer

Jun 27, 2025· 17 min· 2.9K views·Watch on YouTube

Speaker

Anushrut Gupta, who leads applied research at PromptQL, presents PromptQL's approach to reliable AI with messy data at AI Engineer Worldwide's reliability track, sponsored by PromptQL.

Perfect data keeps moving out of reach

Gupta argues that waiting for clean, well-labeled data is unrealistic: schemas, values, and business processes keep changing. He points to shorthand such as `cst_n`, ambiguous fields such as `active_now`, and revenue stored in different units. He says standardizing warehouses and building manually maintained semantic layers have not eliminated these problems.

Business meaning is the missing context

A definition such as customer acquisition cost still leaves questions about which marketing spend counts, who qualifies as a new customer, and what time period applies. A graph can represent that deals have stages, dates, and owners, but it cannot determine what “at risk” means to a particular business. Gupta says analysts supply this tacit company knowledge when they interpret questions and data.

Separate AI planning from execution

Gupta proposes an AI that learns from corrections like a newly hired analyst. In PromptQL, a foundational LLM creates plans in a domain-specific language for data retrieval, calculations, and semantics; a deterministic runtime executes those plans across data sources. He says the LLM does not generate the final answer, which is returned from the runtime.

Corrections improve the semantic layer

In a demo, PromptQL initially finds no top customers because it expects a `succeeded` status, then adjusts after discovering the data uses `paid` and `pending`. Another example uses poorly named tables called Morg, Plug, and Zorp; sampling reveals their roles, and a correction that budgets are stored in cents changes the result. Gupta says interaction-based suggestions can update a version-controlled semantic layer, with prior builds available for rollback.

Learning company-specific rules over time

Gupta demonstrates correcting the system that a financial quarter starts in February, so future queries can use that rule. He contrasts day zero, when the AI lacks definitions and cross-system ID mappings, with a claimed day-30 result of 47 business terms, relationships across six systems, and 12 calculation variants. He also reports customer evaluations with 100% accuracy on complex tasks, though the transcript does not provide evaluation details.

Takeaways

  • Treat data cleanup as ongoing work; design AI workflows to handle schema changes, nulls, and inconsistent values.
  • Capture business definitions with their edge cases, including units, time periods, and team-specific meanings.
  • Keep generated plans inspectable and run data operations in a deterministic layer when answer reliability matters.
  • Turn user corrections into reviewable, versioned semantic updates so teams can track and roll back changes.

Mentioned in this talk

Search inside this talk

What was claimed 8

  • feature
    PromptQL: Supports data retrieval, computation and aggregation, and semantics through its domain-specific language
    “PromptQL is basically a domain-specific language that can do three tasks: data retrieval, data compute and aggregation, and semantics.”
    YouTube
    Unverified1 source· Talk
  • feature
    PromptQL: Uses an LLM to create domain-specific plans that a deterministic runtime executes
    “We take a foundational LLM—whatever LLM you bring—and have it create PromptQL plans.”
    YouTube
    Unverified1 source· Talk
  • feature
    PromptQL: Executes plans in a deterministic runtime and does not return retrieved data to the LLM to generate the final answer
    “I don't involve the LLM in the actual execution or generation of an answer.”
    YouTube
    Unverified1 source· Talk
  • feature
    PromptQL: The demo combines data from databases and Zendesk support tickets to analyze customer sentiment
    The demo combines data from databases and Zendesk support tickets to analyze customer sentiment
    “Take a look at the latest 30 support tickets.”
    YouTube
    Unverified1 source· Talk
  • feature
    PromptQL: Users can edit and steer the AI's plan, and the system learns from those corrections
    “I can be in charge of my AI, and every time I nudge it, the AI will learn and understand.”
    YouTube
    Unverified1 source· Talk
  • feature
    PromptQL: Semantic-layer instances are version controlled, with the ability to fall back to a previous build
    “Every instance of your semantic layer is version controlled, so a new build is created. You can always fall back to a previous build.”
    YouTube
    Unverified1 source· Talk
  • metric
    PromptQL: A Fortune 500 food chain company is reported to have found PromptQL 100% reliable
    “Finally, they saw PromptQL, and it worked: 100% reliable AI.”
    YouTube
    Unverified1 source· Talk
  • metric
    PromptQL: The speaker reports 100% accuracy on complex tasks by day 30
    “By day 30, it has figured out 47 business terms ... and is 100% accurate on your complex tasks.”
    YouTube
    Unverified1 source· Talk

Related talks