Azure / azure-search-vector-samples

A repository of code samples for Vector search capabilities in Azure AI Search.
https://azure.microsoft.com/products/search
MIT License
732 stars 308 forks source link

Type Error bug in azure-sdk-for-python #263

Open TaisukeIto opened 1 month ago

TaisukeIto commented 1 month ago

There seems to be an issue creating a field of type Collection(EdmSingle) in azure-search-documents==1.15.1 This could be a bug in azure-sdk-for-python

SearchFieldDataType.Collection(SearchFieldDataType.Single) -> Edm.String

(python program) fields = [ SearchableField(name="titleVector", type=SearchFieldDataType.Collection(SearchFieldDataType.Single), searchable=True, vector_search_dimensions=3072, vector_search_profile_name="myHnswProfile"), ] ↓ (JSON)
{ "name": "titleVector", "type": "Edm.String", : }

farzad528 commented 1 month ago

can you share the exact error message?