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

fix: clean Qdrant collection name #2458

Merged
merged 2 commits into from
Sep 23, 2024
Merged

Conversation

Anush008
Copy link
Contributor

@Anush008 Anush008 commented Sep 16, 2024

Description

Qdrant doesn't allow certain special characters in the collection names. Hence this fix.

points = []
for item in items:
vector = (
item.vector.tolist() if hasattr(item.vector, "tolist") else item.vector
Copy link
Contributor Author

Choose a reason for hiding this comment

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

It turns out item.vector can be a regular list. For which, tolist() doesn't exist.

@Anush008
Copy link
Contributor Author

The failing CI seems unrelated.

@jieguangzhou jieguangzhou merged commit bb15aad into superduper-io:main Sep 23, 2024
2 checks passed
@jieguangzhou
Copy link
Collaborator

The failing CI seems unrelated.

@Anush008 Hey, Thank you for fixing it, I merged

@Anush008 Anush008 deleted the fix-qdrant branch September 23, 2024 06:09
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