Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query formed for total irrelevant input string #16

Open
Mohdwajtech opened this issue Jun 22, 2021 · 3 comments
Open

Query formed for total irrelevant input string #16

Mohdwajtech opened this issue Jun 22, 2021 · 3 comments

Comments

@Mohdwajtech
Copy link

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

@alan-ai-learner
Copy link

How you managed to run this notebook @Mohdwajtech, i unable to run it every time i face some errors.

Pls Help!

@Impavidity
Copy link
Contributor

There is a score field in the inference output such as ie_dirs/bart_run_1_true_1-step41000.infer. This score might be helpful for helping you to identify low-confidence prediction.

@Mohdwajtech
Copy link
Author

@Impavidity Thanks for your response. It helps.
One more question I had. In case when I am running this on my own database, it is giving me error while I am adding more than 16 tables. The error I have shared below in the picture. Could you help me with this?

text2sql_error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants