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

Python bindings for QG/QBG #142

Open
siddhsql opened this issue Jul 6, 2023 · 3 comments
Open

Python bindings for QG/QBG #142

siddhsql opened this issue Jul 6, 2023 · 3 comments

Comments

@siddhsql
Copy link

siddhsql commented Jul 6, 2023

hello - i came across this repo yesterday. nice work! reading the documentation i understand ngt is deprecated in favor of higher performing qg/qbg libraries but python support for them is limited to only search. thus python cannot be used to build and save the index. do you have plan for adding more python support? when can we expect to see it? thanks.

@masajiro
Copy link
Member

masajiro commented Jul 7, 2023

Hello,
I don't think that NGT can be replaced by QG/QBG because they have different pros and cons. But in any case, I am going to implement python functions to build QG/QBG indices in the future. I can't say for sure when.

@siddhsql
Copy link
Author

siddhsql commented Jul 7, 2023 via email

@masajiro
Copy link
Member

masajiro commented Jul 7, 2023

To be sure, in my last comment, NGT means not NGTQ nor neither NGTQG but the basic graph-based index.

QBG places the quantized dataset instead of the entire dataset in memory and supports only L2. However, I am going to add an option to place the entire dataset in memory and cosine similarity in the near future. This option is available only for sufficient memory.

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