Skip to content

Commit 0b912ea

Browse files
authored
Merge pull request #190293 from sanjeev3/main
Update curl-quickstart.md to show model-version parameter use
2 parents 51fa8ae + e614ab8 commit 0b912ea

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

articles/cognitive-services/Computer-vision/includes/curl-quickstart.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,13 @@ curl -v -X POST "https://westcentralus.api.cognitive.microsoft.com/vision/v3.2/r
5252

5353
The response will include an `Operation-Location` header, whose value is a unique URL. You use this URL to query the results of the Read operation. The URL expires in 48 hours.
5454

55-
### How to use preview features
56-
For the preview languages and features, see [How to specify the model version](../Vision-API-How-to-Topics/call-read-api.md#determine-how-to-process-the-data-optional) to use the latest preview. The preview model includes any enhancements to the currently GA languages and features.
55+
### How to specify the model version for new features
56+
To specify the model version for new languages and features, see [How to specify the model version](../Vision-API-How-to-Topics/call-read-api.md#determine-how-to-process-the-data-optional). The most recent model includes any enhancements to the previous GA and preview models.
57+
58+
For example, to use the model-version = `2022-01-30-preview` parameter, use the following command:
59+
```bash
60+
curl -v -X POST "https://westcentralus.api.cognitive.microsoft.com/vision/v3.2/read/analyze?model-version=2022-01-30-preview" -H "Content-Type: application/json" -H "Ocp-Apim-Subscription-Key: <subscription key>" --data-ascii "{\"url\":\"https://upload.wikimedia.org/wikipedia/commons/thumb/a/af/Atomist_quote_from_Democritus.png/338px-Atomist_quote_from_Democritus.png\"}"
61+
```
5762

5863
### Get Read results
5964

0 commit comments

Comments
 (0)