Open FabianHertwig opened 1 day ago
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @bleroy @markheff @miwelsh @tjacobhi.
Looks that the SDK already maps ResourceUrl to resourceUri https://github.com/Azure/azure-sdk-for-js/blob/917b1a3f54759afd05f005fb6c106f76ce75f321/sdk/search/search-documents/src/generated/service/models/mappers.ts#L3200-L3207
maybe the issue is something else /cc @dgetu
Describe the bug I want to create an Index and add a vectorizer to it. But I get the error message
The request is invalid. Details: definition : Error in Vectorizer 'vector-search-vectorizer' : 'uri' parameter cannot be null or empty
.I am following this guide: https://learn.microsoft.com/en-us/azure/search/vector-search-how-to-configure-vectorizer
There it is
ResourceUri
, but in the type descriptionsearch-documents.d.ts
it isResourceUrl
.Either way, I get the same error.
To Reproduce Steps to reproduce the behaviour:
Create a new index with the following code.
Error message:
Expected behavior The index gets created with the vectorizer configured.
Additional context
This issue is related: https://github.com/Azure/azure-sdk-for-js/issues/31458 But I didn't really understand the answer and somehow it got resolved for the author, but the suggested resolution to use
ResourceUrl
does not work for me. Therefore I opened a new issue.