What if the retrieved ddl is not related to the user question? #450
Unanswered
Jackie-shi
asked this question in
Q&A
Replies: 2 comments
-
What's more, when you do embedding, the raw ddl is not a natural language so the problem between ddl and user question is that they cannot be aligned in semantic space. It may make the result inaccurate! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Extra information is not usually detrimental to the SQL output, particularly if you have a lot of question-SQL pairs |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When do 'ask', the process here is to use vector database to get the most related DDL. But there is a situation that all of the ddl has nothing to do with the user question, which means that the final SQL Vana generates will definitely WRONG!
So I wonder if there is any mechanism or post-process to check or evaluate the retrieved ddl.🤔
THX!
Beta Was this translation helpful? Give feedback.
All reactions