Designing for Imperfect Prompts: A Simulation-Based Evaluation of an LLM-Based Enterprise Data Assistant Using Knowledge Graphs
Niklas Wagner, Alexander Mädche
Abstract
Enterprise data assistants using large language models (LLMs) promise democratized data access in organizations. Yet in our real-world deployment within the CFO unit's data lake at an industry partner, we observed that business users frequently pose imperfect prompts that include domain-specific vocabulary and lack schema references or structural information. This Design Science Research study examines automatic resolution using a semantic mediation layer. We design and evaluate two design variants: schema-based mediation via semantic similarity, and knowledge graph-based mediation leveraging an automatically constructed knowledge graph from the data lake. Our simulation-based evaluation using real-world data, supported by LLM-as-a-Judge assessments and human validation, shows that knowledge graph-based mediation outperforms the schema-based approach in Precision, Recall, F1, and preserving user intent. We propose a design principle for knowledge graph-based mediation, demonstrating that structured knowledge representation bridges user intent and database structure and guides the design of enterprise data assistants across skill levels.
Create a lesson
Related papers
An AI-Driven Assistant for Human-Centric Building Digital Twin Systems: Design, Implementation, and Comparative User Evaluation
Shared title terminology · Leonardo Messi, Erika Anneli Pärn, Juan Diego Castaño Molina et al.
When Should I Trust This? Designing and Evaluating Factuality Indicators for LLM-based Chatbots
Shared title terminology · Greta Warren, Christine M. Lehane, Jessica Heal et al.
A Stratified Multi-Rater Evaluation of LLM-Based Virtual Standardized Patients with a Deployed Data-Generation Platform
Shared title terminology · Yongjin Yi, Jinyong Park, Sejoong Kim
Structured pre-generation elicitation versus single-shot prompting in AI-assisted enterprise decision-making: a randomised online experiment
Shared title terminology · William Scott-Jackson
Design and Evaluation of a Body-Machine Interface as an Alternative Control Paradigm for Pedal-based Sewing Machines
Shared title terminology · Ashrut Aryal, Rajiv Ranganathan, Ranjan Mukherjee
Data-driven simulation of the brain's response to stimulation: a system identification approach for closed-loop neuromodulation, piloted in adaptive deep brain stimulation
Shared title terminology · Matthias Dold, Joana Pereira, Marcus L. F. Janssen et al.