We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 929b338 commit 4741a15Copy full SHA for 4741a15
articles/ai-foundry/model-inference/includes/code-create-chat-client-entra.md
@@ -25,7 +25,7 @@ import os
25
from azure.ai.inference import ChatCompletionsClient
26
from azure.identity import DefaultAzureCredential
27
28
-model = ChatCompletionsClient(
+client = ChatCompletionsClient(
29
endpoint="https://<resource>.services.ai.azure.com/models",
30
credential=DefaultAzureCredential(),
31
credential_scopes=["https://cognitiveservices.azure.com/.default"],
0 commit comments