Skip to content

Commit ed58a57

Browse files
authored
Merge pull request #365 from qkfang/patch-1
wrong python import in EntraID example
2 parents df7d67e + 09f5542 commit ed58a57

File tree

1 file changed

+1
-1
lines changed
  • articles/ai-foundry/model-inference/includes/use-embeddings

1 file changed

+1
-1
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"],

0 commit comments

Comments
 (0)