You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`from voyager import Index, Space
index = Index(Space.Cosine, num_dimensions=1024)
index.add_items(embeddings)
ids, distances = index.query(query_embedding, k=20)`
only returns ids, and then I need use labels[ids] to look up for labels, Can I just directly get labels rather than index
I have to always load labels for mapping, can .voy file while first initiation already contain labels so that I do not need to bring them always, which would also make easier to deploy as sagemaker endpoint
The text was updated successfully, but these errors were encountered:
Hey @Ibrokhimsadikov (sorry about the late reply! We're working on getting some more maintainer staffing on this project). This is something we'll be addressing as part of #11, so I'm going to close this as duplicate.
Thank you for Voyager, really loving it!
only returns ids, and then I need use labels[ids] to look up for labels, Can I just directly get labels rather than index
I have to always load labels for mapping, can .voy file while first initiation already contain labels so that I do not need to bring them always, which would also make easier to deploy as sagemaker endpoint
The text was updated successfully, but these errors were encountered: