Skip to content

Commit 0e68adb

Browse files
authored
Merge pull request #4525 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to main to sync with https://github.com/MicrosoftDocs/azure-ai-docs (branch main)
2 parents 7a21f20 + 338f9e5 commit 0e68adb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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?

0 commit comments

Comments
 (0)