Back to Browse

Agentic AI Architecture Design: Text to SQL for Enterprise Data Analytics

726 views
Sep 21, 2025
41:06

The introduction of large language models has brought rapid progress on Text-to-SQL benchmarks, but it is not yet easy to build a working enterprise solution. In this presentation, we present insights from building an internal chatbot that enables LinkedIn’s product managers, engineers, and operations teams to self-serve data insights from a large, dynamic data lake. Our approach features three components: 1) a knowledge graph that captures up-to-date semantics by indexing database metadata, historical query logs, wikis, and code. We apply clustering to identify relevant tables for each team or product area. 2) a Text-to-SQL agent that retrieves and ranks context from the knowledge graph, writes a query, and automatically corrects hallucinations and syntax errors. 3) an interactive chatbot that supports various user intents, from data discovery to query writing to debugging, and displays responses in rich UI elements to encourage follow-up chats. Our chatbot has over 300 weekly users. Expert review shows that 53% of its responses are correct or close to correct on an internal benchmark set. 0:00 Introduction 8:40 Knowledge Graph to organize data 15:00 Query Writer Agent 26:54 How to evaluate an Agent 31:26 Key results

Download

1 formats

Video Formats

360pmp428.1 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Agentic AI Architecture Design: Text to SQL for Enterprise Data Analytics | NatokHD