Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

What if the retrieved ddl is not related to the user question? #445

Closed
Jackie-shi opened this issue May 16, 2024 · 1 comment
Closed

What if the retrieved ddl is not related to the user question? #445

Jackie-shi opened this issue May 16, 2024 · 1 comment

Comments

@Jackie-shi
Copy link

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!

@Jackie-shi
Copy link
Author

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!

@vanna-ai vanna-ai locked and limited conversation to collaborators May 20, 2024
@zainhoda zainhoda converted this issue into discussion #450 May 20, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant