Skip to content

Commit 949f8a9

Browse files
committed
small fix to curl command
1 parent dabb804 commit 949f8a9

File tree

1 file changed

+1
-1
lines changed
  • articles/ai-services/openai/concepts

1 file changed

+1
-1
lines changed

articles/ai-services/openai/concepts/models.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ This is only a subset of the available request body parameters. For the full lis
188188
#### Example request
189189

190190
```Bash
191-
curl -X PUT https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resource-group-temp/providers/Microsoft.CognitiveServices/accounts/docs-openai-test-001/deployments/text-embedding-ada-002-test-1" \
191+
curl -X PUT https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resource-group-temp/providers/Microsoft.CognitiveServices/accounts/docs-openai-test-001/deployments/text-embedding-ada-002-test-1?api-version=2023-05-01 \
192192
-H "Content-Type: application/json" \
193193
-H 'Authorization: Bearer YOUR_AUTH_TOKEN' \
194194
-d '{"sku":{"name":"Standard","capacity":1},"properties": {"model": {"format": "OpenAI","name": "text-embedding-ada-002","version": "2"},"versionUpgradeOption":"OnceCurrentVersionExpired"}}'

0 commit comments

Comments
 (0)