Skip to content

Commit 11ab5d7

Browse files
authored
Merge pull request #4298 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 cd1cfd1 + 561e5b8 commit 11ab5d7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

articles/ai-services/openai/includes/structured-outputs-python.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ pip install openai pydantic --upgrade
2020
If you are new to using Microsoft Entra ID for authentication see [How to configure Azure OpenAI Service with Microsoft Entra ID authentication](../how-to/managed-identity.md).
2121

2222
```python
23+
import os
2324
from pydantic import BaseModel
2425
from openai import AzureOpenAI
2526
from azure.identity import DefaultAzureCredential, get_bearer_token_provider
@@ -105,6 +106,7 @@ pip install openai pydantic --upgrade
105106
```
106107

107108
```python
109+
import os
108110
from pydantic import BaseModel
109111
from openai import AzureOpenAI
110112

0 commit comments

Comments
 (0)