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

feat: nlp query search #1531

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

feat: nlp query search #1531

wants to merge 1 commit into from

Conversation

zhangvi7
Copy link
Contributor

@zhangvi7 zhangvi7 commented Jan 3, 2025

Implement NLP query search to show similar queries. Same as NLP table search

image

@zhangvi7 zhangvi7 requested review from czgu and jczhong84 January 3, 2025 21:51
Copy link
Collaborator

@jczhong84 jczhong84 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you also update the ai_assistant.mdx?

@@ -27,5 +27,7 @@ class AICommandType(Enum):
DEFAULT_VECTOR_STORE_FETCH_LIMIT = 30
# how many tables to return from vector table search eventually
DEFAULT_TABLE_SEARCH_LIMIT = 10
# how many tables to return from vector query search eventually
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

queries

self,
text: str,
threshold: float = DEFAULT_SIMILARITY_SCORE_THRESHOLD,
k=DEFAULT_TABLE_SEARCH_LIMIT,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DEFAULT_QUERY_SEARCH_LIMIT?

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

Successfully merging this pull request may close these issues.

2 participants