Skip to content

Commit 272dea3

Browse files
authored
Merge pull request #4532 from MicrosoftDocs/main
05/05/2025 AM Publishing
2 parents df7d67e + 0e68adb commit 272dea3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

articles/ai-foundry/model-inference/includes/use-embeddings/python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ If you have configured the resource to with **Microsoft Entra ID** support, you
5252
```python
5353
import os
5454
from azure.ai.inference import EmbeddingsClient
55-
from azure.core.credentials import AzureKeyCredential
55+
from azure.identity import DefaultAzureCredential
5656

5757
model = EmbeddingsClient(
5858
endpoint=os.environ["AZURE_INFERENCE_ENDPOINT"],

articles/ai-services/openai/how-to/dynamic-quota.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Alternatively, you can enable it programmatically with Azure CLI's [`az rest`](/
6060
Replace the `{subscriptionId}`, `{resourceGroupName}`, `{accountName}`, and `{deploymentName}` with the relevant values for your resource. In this case, `accountName` is equal to Azure OpenAI resource name.
6161

6262
```azurecli
63-
az rest --method patch --url "https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/deployments/{deploymentName}?2023-10-01-preview" --body '{"properties": {"dynamicThrottlingEnabled": true} }'
63+
az rest --method patch --url "https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/deployments/{deploymentName}?api-version=2023-10-01-preview" --body '{"properties": {"dynamicThrottlingEnabled": true} }'
6464
```
6565

6666
### How do I know how much throughput dynamic quota is adding to my app?

articles/machine-learning/how-to-deploy-mlflow-models-online-endpoints.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.author: mopeakande
1010
ms.reviewer: fasantia
1111
ms.date: 03/31/2025
1212
ms.topic: how-to
13-
ms.custom: deploy, mlflow, devplatv2, no-code-deployment, devx-track-azurecli, cliv2, update-code
13+
ms.custom: deploy, mlflow, devplatv2, no-code-deployment, devx-track-azurecli, cliv2, update-code1
1414
# customer intent: As a developer, I want to see how to deploy an MLflow model to an online endpoint so that I can use the model to make predictions in real time.
1515
---
1616

0 commit comments

Comments
 (0)