Query formed for total irrelevant input string

Open
#16 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
python, pytorch

Research direction

The issue does not name any files, tests, or entry points. Start by locating the response path that generates SQL for user input, then determine how irrelevant input and confidence should be represented. Done means the response exposes a useful confidence value for generated queries and its behavior is covered by appropriate tests.

Written by the indexing model from the issue text.

Description

Hi,
I was trying this on a dummy database attached with couple of tables. I observed that for a totally irrelevant input text it still outputs a query. Can we have a confidence score too along with the query in the response so that we can look into the confidence value and decide how relevant it is. Attached a screenshot of the issue too
sqlprblm

Dominant language
Python
Stars
109
Forks
25
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from awslabs/gap-text2sql

All issues in awslabs/gap-text2sql

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.