Which api endpoint can we get api-supported-versions after 2023-03-15-preview retired?

TM 20 Reputation points
2024-03-15T01:58:50.2166667+00:00

I use chatbot-ui (OSS). In that code, user check "api-supported-version" in

${OPENAI_API_HOST}/openai/deployments?api-version=2023-03-15-preview

When I change api-version, it failed. (only 2023-03-15-preview works)

As far as I checked Azure OpenAI documents, no successor endpoint has been prepared.

Could you please teach me how can I treat this issue to change to newer api version?

Best Regards,

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

Accepted answer
  1. Charlie Wei 1,895 Reputation points
    2024-03-20T15:27:03.4933333+00:00

    Hello TM,

    In another QA, there's a question similar to yours, where it's mentioned that the API has been removed from the data plane and replaced with the management plane API for querying deployments.

    Although the use cases might differ slightly, this could at least partially resolve your issue.

    GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/deployments?api-version=2023-05-01
    

    Sample Response

    {
      "value": [
        {
          "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.CognitiveServices/accounts/accountName/deployments/deploymentName",
          "name": "deploymentName",
          "type": "Microsoft.CognitiveServices/accounts/deployments",
          "properties": {
            "model": {
              "format": "OpenAI",
              "name": "ada",
              "version": "1"
            },
            "scaleSettings": {
              "scaleType": "Manual",
              "capacity": 1
            },
            "provisioningState": "Succeeded"
          }
        }
      ]
    }
    

    Best regards,
    Charlie


    If you find my response helpful, please consider accepting this answer and voting 'yes' to support the community. Thank you!


1 additional answer

Sort by: Most helpful
  1. Charlie Wei 1,895 Reputation points
    2024-03-15T05:21:50.8166667+00:00

    Hello TM,

    It is uncertain whether this is the information you require.

    Depending on the model and functionality, the supported API versions vary, and a complete list is provided in this document.

    Best regards,
    Charlie


    If you find my response helpful, please consider accepting this answer and voting 'yes' to support the community. Thank you!