Getting a 404 resource not found

Mark England 25 Reputation points
2023-04-17T06:33:05.2433333+00:00

sending https://tcsbancslinkopenai.openai.azure.com/openai/deployments/ChatGPT_35/chat/completions?api-version=0301. the endpoint is copied from the keys and endpoint page and the deployment name is what I called the model deployment. But I get a 404 resource not found error.

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
2,645 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ramr-msft 17,731 Reputation points
    2023-04-17T10:17:38.06+00:00

    @Mark England Thanks, The API Version in your url should be YYYY-MM-DD format. https://YOUR_RESOURCE_NAME.openai.azure.com/openai/deployments/YOUR_DEPLOYMENT_NAME/completions?api-version=2022-12-01 Here are the supported versions: 2023-03-15-preview , 2022-12-01 Here is the document to call the Completions API: https://learn.microsoft.com/en-us/azure/cognitive-services/openai/reference#completions

    0 comments No comments