Getting error while configuraing semantic cahce in apim
Rajnish Soni
60
Reputation points
Hello Team,
I am trying to configure azure APIM with semantic caching and getting error message in trace messages.
can you please help to fix this.
my backend custom url is
https://my-openai.openai.azure.com
i am getting below error:
azure-openai-semantic-cache-lookup (185.049 ms)
{
"response": {
"status": {
"code": 404,
"reason": "Resource Not Found"
},
azure-openai-semantic-cache-lookup (0.053 ms)
{
"message": "Failed to get embeddings from the backend endpoint. Skipping caching. Status code: NotFound."
}
in the forward request, apim is appending the api version automatically which is wrong.
"url": "https://my-openai.openai.azure.com/?api-version=2024-02-01",
Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,447 questions
Sign in to answer