textSQL icon indicating copy to clipboard operation
textSQL copied to clipboard

[Feature Request] SQL query explainer

Open asaprahul opened this issue 1 year ago • 0 comments

Explain SQL query back in natural language.

SQL code-gen we have today is powerful because it enables to get accurate answers from a massive dataset (given that the generated SQL is correct). However, if a lot of our users are not SQL experts but just anyone who has data questions then it might be worthwhile exploring a natural language SQL explainer.

Basically, explain to the user in natural language what the generated SQL is doing so they know whether it's correct or not.

Screenshot 2023-03-14 at 3 33 58 PM

Accompanying explanation:

Screenshot 2023-03-14 at 3 32 39 PM

Ideally would like to do this in separate network calls so that the latency for the first step (generating SQL, rendering table and visualization) is not affected.

asaprahul avatar Mar 14 '23 02:03 asaprahul