Papers
arxiv:2408.12369

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

Published on Aug 22
· Submitted by amanchadha on Aug 26
Authors:
,
,
,

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.

Community

Paper author Paper submitter
  • The paper introduces a novel framework called RoundTable that uses Full-Text Search (FTS) and contextual autocomplete to enhance the accuracy and precision of natural language queries for complex tabular data.
  • Dynamic Schema and Full-Text Search: The framework leverages Full-Text Search to create a dynamic schema, allowing for precise identification of relevant columns and values, thereby improving the accuracy of query generation in complex datasets.
  • Contextual Autocomplete: It incorporates a contextual autocomplete feature that suggests query completions based on the dataset, helping users craft more precise queries and reducing reliance on manual data inspection.
    -** Improved Query Precision:** The integration of these features significantly enhances user interaction with large datasets, making natural language database querying more accessible and efficient, even for non-technical users.

Sign up or log in to comment

Models citing this paper 0

No model linking this paper

Cite arxiv.org/abs/2408.12369 in a model README.md to link it from this page.

Datasets citing this paper 0

No dataset linking this paper

Cite arxiv.org/abs/2408.12369 in a dataset README.md to link it from this page.

Spaces citing this paper 0

No Space linking this paper

Cite arxiv.org/abs/2408.12369 in a Space README.md to link it from this page.

Collections including this paper 0

No Collection including this paper

Add this paper to a collection to link it from this page.