You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I create an Azure AI Search Index using CustomVectorizer and then perform a query, an HttpResponseError occurs.
CustomVectorizer used my custom E5 embedding model as an endpoint in Azure Machine Learning.
The log in Azure Machine Learning Endpoints returns 200 ok.
However, performing a search returns the following error:
HttpResponseError: () Could not vectorize the query because the vectorization endpoint response is invalid.
Code:
Message: Could not vectorize the query because the vectorization endpoint response is invalid.
File <command-8161632147394724>, line 5
1 from itertools import tee
3 results, results_backup = tee(results)
----> 5 for i, r in enumerate(results):
6 print(r)
8 results_backup
File /local_disk0/.ephemeral_nfs/envs/pythonEnv-a4d14cee-3610-4575-b83e-16f37fffb48a/lib/python3.12/site-packages/azure/search/documents/_generated/operations/_documents_operations.py:778, in DocumentsOperations.search_post(self, search_request, request_options, **kwargs)
776 map_error(status_code=response.status_code, response=response, error_map=error_map)
777 error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response)
--> 778 raise HttpResponseError(response=response, model=error)
780 deserialized = self._deserialize("SearchDocumentsResult", pipeline_response)
782 if cls:
When I create an Azure AI Search Index using CustomVectorizer and then perform a query, an HttpResponseError occurs.
CustomVectorizer used my custom E5 embedding model as an endpoint in Azure Machine Learning.
The log in Azure Machine Learning Endpoints returns 200 ok.
However, performing a search returns the following error:
https://github.com/Azure/azure-search-vector-samples/blob/main/demo-python/code/custom-vectorizer/scripts/setup_search_service.py
My code written and executed by referring to the setup_search_service.py file is as follows:
https://github.com/Azure-Samples/azure-search-power-skills/blob/main/Common/WebAPISkillContract.cs
The score.py(Embedding Model Endpoint) I wrote, referring to the WebAPISkillContract.cs file, is as follows:
The text was updated successfully, but these errors were encountered: