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

[Question] Example for using DiskANN for VectorDB on Python #565

Open
sleepingcat4 opened this issue Jul 8, 2024 · 4 comments
Open

[Question] Example for using DiskANN for VectorDB on Python #565

sleepingcat4 opened this issue Jul 8, 2024 · 4 comments
Labels
question Further information is requested

Comments

@sleepingcat4
Copy link

sleepingcat4 commented Jul 8, 2024

I wanted to know if I could be provided some examples to understand how we can create a vectorDB using embeddings and correspodning url. And index it using Python. We have memory constraints like we have 8-16GBish RAM and SSD.

We are currently using Intel Xeon Processors and some super computing clusters but when we are finished we want to index it for cosine similarity on fairly okaysih spec laptop. Any guidance/help?

@sleepingcat4 sleepingcat4 added the question Further information is requested label Jul 8, 2024
@daxpryce
Copy link
Contributor

daxpryce commented Oct 17, 2024

@sleepingcat4 this is entirely too late for my tests tastes - my apologies for not seeing this.

I have many examples of just this - I'm going to put them together now and add them as part of our documentation in workflows and will inform you there - I'm sure you've already moved on from this point, but I also wanted to keep you in the loop.

@daxpryce
Copy link
Contributor

https://github.com/microsoft/DiskANN/pull/592/files should contain a mad dash through using the API. Most of the documentation is much more detailed and appears @ https://microsoft.github.io/DiskANN/docs/python/latest/diskannpy.html, but the python.md file in workflows in the linked PR should pull it all together in a bit of a cookbook example.

@ucas010
Copy link

ucas010 commented Nov 8, 2024

have the same question
so great pr, it's beautiful if could be used in real

@daxpryce
Copy link
Contributor

daxpryce commented Nov 8, 2024

have the same question so great pr, it's beautiful if could be used in real

now that I have updated the docs in #600, can you try it again with the new examples?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants