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

Cannot createCollection() with vector option without sending similarity function #483

Closed
vkarpov15 opened this issue Jul 30, 2023 · 0 comments · Fixed by #485
Closed

Cannot createCollection() with vector option without sending similarity function #483

vkarpov15 opened this issue Jul 30, 2023 · 0 comments · Fixed by #485
Assignees

Comments

@vkarpov15
Copy link
Collaborator

vkarpov15 commented Jul 30, 2023

Sending the following command:

{
  createCollection: { name: 'vector', options: { vector: { size: 2 } } }
}

results in the following error:

Command "createCollection" failed with the following errors: [{"message":"INVALID_ARGUMENT: Similarity function NULL was not recognized for index null. Valid values are: EUCLIDEAN, DOT_PRODUCT, COSINE","exceptionClass":"StatusRuntimeException"}]

Ideally, function would default to 'cosine'.

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 a pull request may close this issue.

2 participants