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 import name 'ScalarQuantizationCompression' from 'azure.search.documents.indexes.models #268

Open
safdar23 opened this issue Sep 20, 2024 · 4 comments

Comments

@safdar23
Copy link
Collaborator

I ran requirement.txt but /azure-search-vector-samples/demo-python/code/integrated-vectorization/azure-search-integrated-vectorization-sample.ipynb throws the error cannot import name 'ScalarQuantizationCompression' from 'azure.search.documents.indexes.models.

@safdar23
Copy link
Collaborator Author

requirement.txt mentions the document search version as - azure-search-documents==11.6.0b4

@mattgotteiner
Copy link
Member

Hi @safdar23 - I'll update this to 11.6.0b5 and see if that solves the issue

@mattgotteiner
Copy link
Member

Using that version, I can add a cell like this and run it:

from azure.search.documents.indexes.models import ScalarQuantizationCompression

@mattgotteiner
Copy link
Member

#270

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