rag-time icon indicating copy to clipboard operation
rag-time copied to clipboard

Failing to import.

Open alexbarnadas opened this issue 11 months ago • 2 comments

In week 4, the integrated vectorization imports some libraries that seem to be inexistent. In the own documentation they do not appear. At least AIServicesAccountKey, AIServicesAccountIdentity and NativeBlobSoftDeleteDeletionDetectionPolicy

They are not present in the index.py file of the library from which they should be imported: azure.search.documents.indexes.models

And they also do not appear in its documentation

They seem to be removable variables though. But the solution gives errors while running it as is.

alexbarnadas avatar Dec 22 '25 11:12 alexbarnadas

@mattgotteiner @farzad528 would you be able to help?

aycabas avatar Jan 06 '26 04:01 aycabas

Based on the version not finding the respective classes, you may be trying to use a Python client library version that is not beta. The mentioned classes are only present in some beta versions (including the latest one https://pypi.org/project/azure-search-documents/11.7.0b2/) since they are in preview, not in GA yet. We have been using this example for quite sometime now with the beta version in the requirements as well (https://github.com/microsoft/rag-time/blob/main/Journey%204%20-%20RAG%20for%20All%20your%20Data%20Multimodal%20and%20Beyond/sample/integrated-vectorization/azure-search-integrated-vectorization-sample-requirements.txt). Please make sure that you have a supported version for those artifacts. Thanks.

gmndrg avatar Jan 08 '26 22:01 gmndrg