Management Summary
Until now, accessing databases and data warehouses at the international financial institution required knowledge of SQL. HMS developed a text-to-SQL solution that translates natural-language questions into SQL queries and displays the results via an interactive interface. For KPI calculations, the LLM can call deterministic functions that deliver precise and reproducible results.
Project summary
Internationale Finanzinstitution
Branche: Banken
Projektstart: 06/2023
Schwerpunkt: Generative & Agentic AI
Use Case: Data & Analytics Assistants
Projektziel
Datenbankabfragen ohne eigene SQL-Kenntnisse ermöglichen
Wichtigste Kernfunktionen
- Übersetzung quantitativer Geschäftsfragen in ausführbare SQL-Abfragen
- Modulare Trennung von Chatbot-Oberfläche und LLM-Backend
- Visualisierung, Bearbeitung und Export der ermittelten Abfrageergebnisse
Tech Stack
The Starting Point
The company used data from relational databases and data warehouses for KPI calculations, reports, and exploratory analyses. However, direct access was limited to a small group of employees who were proficient in both the data model and SQL.
Quantitative inquiries and ad-hoc analyses therefore required the assistance of individuals with SQL skills. This was particularly true for detailed analyses of management reports, where source data or aggregated KPIs needed to be examined interactively.
Simply expanding existing reports was not sufficient for this purpose. The possible questions were too varied and often arose only during the analysis itself.
What You Can Expect from HMS
With text-to-SQL, the language model, database access, and result validation must function as an integrated system. To achieve this, HMS combines LLM engineering, backend development, and interaction design.
- Implementation of the complete text-to-SQL application
- Modular separation of the user interface, LLM backend, and database connection
- Methodical prompt engineering and systematic verification of queries and results



