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

[DOCS] "enclidean" distance metric in Field example #146

Closed
TremaMiguel opened this issue May 24, 2021 · 1 comment
Closed

[DOCS] "enclidean" distance metric in Field example #146

TremaMiguel opened this issue May 24, 2021 · 1 comment

Comments

@TremaMiguel
Copy link
Contributor

Field class distance_metric parameter should be "euclidean" instead of "enclidean". Example from code:

>>> Field(name="tensor_field",       
...     type="tensor<float>(x[128])", 
...     indexing=["attribute"],     
...     ann=HNSW(       
...         distance_metric="enclidean",       
...         max_links_per_node=16,        
...         neighbors_to_explore_at_insert=200,        
...     ),        
... )        
@thigm85
Copy link
Contributor

thigm85 commented May 25, 2021

Thanks for contributing @TremaMiguel.

@thigm85 thigm85 closed this as completed May 25, 2021
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

No branches or pull requests

2 participants