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

add query.py to query vector database #8

Merged
merged 7 commits into from
Dec 25, 2023
Merged

Conversation

charliehuang09
Copy link
Collaborator

@charliehuang09 charliehuang09 commented Dec 23, 2023

Query.py takes a prompt and runs is through a qdrant collection. It then returns the top embeddings. This should be used for testing.

Signed-off-by: charliehuang09 <charliehuang09@gmail.com>
scripts/encode_data.py Outdated Show resolved Hide resolved
scripts/query.py Outdated Show resolved Hide resolved
@maxstrid
Copy link
Collaborator

I requested some changes to this commit, I also think it would be good to make the title of this PR more descriptive as well.

scripts/query.py Outdated Show resolved Hide resolved
Signed-off-by: charliehuang09 <charliehuang09@gmail.com>
@charliehuang09 charliehuang09 changed the title added query.py added query.py to query vector database Dec 24, 2023
scripts/query.ipynb Outdated Show resolved Hide resolved
scripts/encode_data.py Outdated Show resolved Hide resolved
@maxstrid
Copy link
Collaborator

The subject lines of commits and prs should be imperative, so "Add" instead of "added".

Signed-off-by: charliehuang09 <charliehuang09@gmail.com>
Signed-off-by: charliehuang09 <charliehuang09@gmail.com>
Signed-off-by: charliehuang09 <charliehuang09@gmail.com>
@charliehuang09 charliehuang09 changed the title added query.py to query vector database add query.py to query vector database Dec 24, 2023
scripts/query.py Outdated Show resolved Hide resolved
Signed-off-by: charliehuang09 <charliehuang09@gmail.com>
scripts/query.py Show resolved Hide resolved
Signed-off-by: charliehuang09 <charliehuang09@gmail.com>
@maxstrid maxstrid merged commit 6979760 into frc971:main Dec 25, 2023
4 checks passed
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