RoundTable: Leveraging Dynamic Schema and Contextual Autocomplete for Enhanced Query Precision in Tabular Question Answering

Pratyush Kumar, Kuber Vijaykumar Bellad, Bharat Vadlamudi, Aman Chadha
8/22/2024
cs.AI

No official code found. Best implementation: pkscanvas/RoundTable (13 stars, MIT, last commit 2024-08-27).

Abstract

With advancements in Large Language Models (LLMs), a major use case that has emerged is querying databases in plain English, translating user questions into executable database queries, which has improved significantly. However, real-world datasets often feature a vast array of attributes and complex values, complicating the LLMs task of accurately identifying relevant columns or values from natural language queries. Traditional methods cannot fully relay the datasets size and complexity to the LLM. To address these challenges, we propose a novel framework that leverages Full-Text Search (FTS) on the input table. This approach not only enables precise detection of specific values and columns but also narrows the search space for language models, thereby enhancing query accuracy. Additionally, it supports a custom auto-complete feature that suggests queries based on the data in the table. This integration significantly refines the interaction between the user and complex datasets, offering a sophisticated solution to the limitations faced by current table querying capabilities. This work is accompanied by an application for both Mac and Windows platforms, which readers can try out themselves on their own data.

View on arXivView PDF

Code Implementations(1)

MIT

Round Table Framework for TQA

133Mar 1, 20242 years agoMIT

Similar Papers

Cite this paper

@article{kumar2024roundtable,
  title  = {RoundTable: Leveraging Dynamic Schema and Contextual Autocomplete for Enhanced Query Precision in Tabular Question Answering},
  author = {Pratyush Kumar and Kuber Vijaykumar Bellad and Bharat Vadlamudi and Aman Chadha},
  year   = {2024},
  eprint = {2408.12369},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.12369v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2408.12369.svg)](https://codeofpaper.com/paper/2408.12369)

Discussion