Skip to content

Commit ee206d4

Browse files
Merge pull request #3131 from sdgilley/sdg-tutorials
Address feedback
2 parents 854e428 + 45e45fe commit ee206d4

File tree

3 files changed

+19
-7
lines changed

3 files changed

+19
-7
lines changed

articles/ai-studio/includes/install-cli.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ ms.custom: include, ignite-2024
1313
You install the Azure CLI and sign in from your local development environment, so that you can use your user credentials to call the Azure OpenAI service.
1414

1515
In most cases you can install the Azure CLI from your terminal using the following command:
16+
1617
# [Windows](#tab/windows)
1718

1819
```powershell
@@ -36,9 +37,11 @@ brew update && brew install azure-cli
3637
You can follow instructions [How to install the Azure CLI](/cli/azure/install-azure-cli) if these commands don't work for your particular operating system or setup.
3738

3839
After you install the Azure CLI, sign in using the ``az login`` command and sign-in using the browser:
40+
3941
```
4042
az login
4143
```
44+
4245
Alternatively, you can log in manually via the browser with a device code.
4346
```
4447
az login --use-device-code

articles/ai-studio/quickstarts/get-started-code.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,10 @@ In this quickstart, we walk you through setting up your local development enviro
2222

2323
* Before you can follow this quickstart, complete the [Azure AI Foundry playground quickstart](../quickstarts/get-started-playground.md) to deploy a **gpt-4o-mini** model into a project.
2424

25-
## Install the Azure CLI and sign in
26-
27-
[!INCLUDE [Install the Azure CLI](../includes/install-cli.md)]
28-
2925
## Create a new Python environment
3026

27+
In the IDE of your choice, create a new folder for your project. Open a terminal window in that folder.
28+
3129
[!INCLUDE [Install Python](../includes/install-python.md)]
3230

3331
## Install packages
@@ -38,6 +36,12 @@ Install `azure-ai-projects`(preview), `azure-ai-inference` (preview), and azure-
3836
pip install azure-ai-projects azure-ai-inference azure-identity
3937
```
4038

39+
## Install the Azure CLI and sign in
40+
41+
[!INCLUDE [Install the Azure CLI](../includes/install-cli.md)]
42+
43+
Keep this terminal window open to run your python scripts from here as well, now that you've signed in.
44+
4145
## Build your chat app
4246

4347
Create a file named **chat.py**. Copy and paste the following code into it.

articles/ai-studio/tutorials/copilot-sdk-create-resources.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,11 @@ In the Azure AI Foundry portal, check for an Azure AI Search connected resource.
110110
111111
1. Select **Add connection**.
112112

113-
## <a name="installs"></a> Install the Azure CLI and sign in
114-
115-
[!INCLUDE [Install the Azure CLI](../includes/install-cli.md)]
116113

117114
## Create a new Python environment
118115

116+
In the IDE of your choice, create a new folder for your project. Open a terminal window in that folder.
117+
119118
[!INCLUDE [Install Python](../includes/install-python.md)]
120119

121120
## Install packages
@@ -145,6 +144,12 @@ Create a folder for your work. Create a file called **config.py** in this folder
145144

146145
[!INCLUDE [create-env-file](../includes/create-env-file-tutorial.md)]
147146

147+
## <a name="installs"></a> Install the Azure CLI and sign in
148+
149+
[!INCLUDE [Install the Azure CLI](../includes/install-cli.md)]
150+
151+
Keep this terminal window open to run your python scripts from here as well, now that you've signed in.
152+
148153
## Clean up resources
149154
150155
To avoid incurring unnecessary Azure costs, you should delete the resources you created in this tutorial if they're no longer needed. To manage resources, you can use the [Azure portal](https://portal.azure.com?azure-portal=true).

0 commit comments

Comments
 (0)