MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.26k stars 21.43k forks source link

Incorrect API version for example code to call custom model name #120545

Closed davecatt closed 7 months ago

davecatt commented 7 months ago

In the section "Set model name when using a custom model" The example API call given will result in "Either 'features' or 'model-name' needs to be specified in the query parameter."

The API version is incorrect to support that custom model name parameter. API version 2023-02-01-preview works correctly.


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

SaibabaBalapur-MSFT commented 7 months ago

@davecatt Thanks for your feedback! We will investigate and update as appropriate.

Naveenommi-MSFT commented 7 months ago

@davecatt Thank you for bringing this to our attention! We've initiated a pull request (PR) to address this issue. Once the author reviews the changes, they will be merged, and the updates should go live shortly. Your diligence is much appreciated!