Skip to content

Commit 5f10d83

Browse files
committed
update
1 parent b7dc2d2 commit 5f10d83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/ai-foundry/openai/how-to/fine-tune-test.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ print(response.choices[0].message.content)
183183
curl $AZURE_OPENAI_ENDPOINT/openai/v1/chat/completions \
184184
-H "Content-Type: application/json" \
185185
-H "api-key: $AZURE_OPENAI_API_KEY" \
186-
-d '"model": "YOUR-MODEL-DEPLOYMENT_NAME", {"messages":[{"role": "system", "content": "You are a helpful assistant."},{"role": "user", "content": "Does Azure OpenAI support customer managed keys?"},{"role": "assistant", "content": "Yes, customer managed keys are supported by Azure OpenAI."},{"role": "user", "content": "Do other Azure AI services support this too?"}]}'
186+
-d '"model": "YOUR_MODEL_DEPLOYMENT_NAME", {"messages":[{"role": "system", "content": "You are a helpful assistant."},{"role": "user", "content": "Does Azure OpenAI support customer managed keys?"},{"role": "assistant", "content": "Yes, customer managed keys are supported by Azure OpenAI."},{"role": "user", "content": "Do other Azure AI services support this too?"}]}'
187187
```
188188

189189
---
@@ -204,7 +204,7 @@ To use the [Deployments - Delete REST API](/rest/api/aiservices/accountmanagemen
204204
Below is the REST API example to delete a deployment:
205205

206206
```bash
207-
curl -X DELETE "https://management.azure.com/subscriptions/<SUBSCRIPTION>/resourceGroups/<RESOURCE_GROUP>/providers/Microsoft.CognitiveServices/accounts/<RESOURCE_NAME>/deployments/<MODEL_DEPLOYMENT_NAME>?api-version=2025-04-01-preview" \
207+
curl -X DELETE "https://management.azure.com/subscriptions/<SUBSCRIPTION>/resourceGroups/<RESOURCE_GROUP>/providers/Microsoft.CognitiveServices/accounts/<RESOURCE_NAME>/deployments/<MODEL_DEPLOYMENT_NAME>?api-version=2025-07-01-preview" \
208208
-H "Authorization: Bearer <TOKEN>"
209209
```
210210

0 commit comments

Comments
 (0)