Azure / Azure/azure-search-vector-samples
getting the error
- Dominant language
- Jupyter Notebook
- Stars
- 910
- Forks
- 377
- PR merge metrics
- No merged PRs in 30d
Description
I am getting the import error while running the below notebook, i have python 3.11.9
[azure-search-vector-samples](https://github.com/Azure/azure-search-vector-samples/tree/main)/[demo-python](https://github.com/Azure/azure-search-vector-samples/tree/main/demo-python)/[code](https://github.com/Azure/azure-search-vector-samples/tree/main/demo-python/code)/[advanced-workflow](https://github.com/Azure/azure-search-vector-samples/tree/main/demo-python/code/advanced-workflow)/[query-rewrite](https://github.com/Azure/azure-search-vector-samples/tree/main/demo-python/code/advanced-workflow/query-rewrite)
/query-rewrite.ipynb
Error
ImportError: cannot import name 'AzureOpenAIVectorizerParameters' from 'azure.search.documents.indexes.models'
Contributor guide
No contributing guide indexed for this repository
Research direction
Open demo-python/code/advanced-workflow/query-rewrite/query-rewrite.ipynb and reproduce the import failure with Python 3.11.9. Check the azure.search.documents.indexes.models import and the installed Azure Search SDK, then verify the notebook runs without the reported ImportError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, jupyter-notebook, python
- Domain
- search
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100