Skip to content

Commit 23f1e11

Browse files
committed
writing and cli
1 parent 7f5e3d2 commit 23f1e11

File tree

3 files changed

+42
-7
lines changed

3 files changed

+42
-7
lines changed

articles/ai-studio/how-to/create-projects.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Projects are hosted by an Azure AI Studio hub that provides enterprise-grade sec
2323

2424
## Create a project
2525

26-
Use the tabs below to select the method you plan to use to create a project:
26+
Use the following tabs to select the method you plan to use to create a project:
2727

2828
# [Azure AI Studio](#tab/ai-studio)
2929

@@ -53,6 +53,26 @@ Use the tabs below to select the method you plan to use to create a project:
5353

5454
# [Azure CLI](#tab/azurecli)
5555

56+
If you don't have the Azure CLI extension for machine learning, use the following steps to install it:
57+
58+
1. [Install the Azure CLI](/cli/azure/install-azure-cli), then use the following command to install the extension for machine learning:
59+
60+
```azurecli
61+
az extension add --name ml
62+
```
63+
64+
For more information on the extension, see [Install and set up the machine learning extension (v2)](/machine-learning/how-to-configure-cli).
65+
66+
1. To authenticate to your Azure subscription, use the following command:
67+
68+
```azurecli
69+
az login
70+
```
71+
72+
For more information on authenticating, see [Authentication methods](/cli/azure/authenticate-azure-cli).
73+
74+
Once the extension is installed authenticated to your Azure subscription, use the following command to create a new Azure AI project from an existing Azure AI hub:
75+
5676
```azurecli
5777
az ml workspace create --kind project --hub-id {my_hub_ARM_ID} --resource-group {my_resource_group} --name {my_project_name}
5878
```

articles/ai-studio/how-to/develop/create-hub-project-sdk.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,29 @@ In this article, you learn how to create the following AI Studio resources using
2727

2828
## Set up your environment
2929

30-
Use the tabs below to select whether you are using the Python SDK or Azure CLI:
30+
Use the following tabs to select whether you're using the Python SDK or Azure CLI:
3131

3232
# [Python SDK](#tab/python)
3333

3434
[!INCLUDE [SDK setup](../../includes/development-environment-config.md)]
3535

3636
# [Azure CLI](#tab/azurecli)
3737

38-
TODO
38+
1. [Install the Azure CLI](/cli/azure/install-azure-cli), then use the following command to install the extension for machine learning:
39+
40+
```azurecli
41+
az extension add --name ml
42+
```
43+
44+
For more information on the extension, see [Install and set up the machine learning extension (v2)](/machine-learning/how-to-configure-cli).
45+
46+
1. To authenticate to your Azure subscription, use the following command:
47+
48+
```azurecli
49+
az login
50+
```
51+
52+
For more information on authenticating, see [Authentication methods](/cli/azure/authenticate-azure-cli).
3953
4054
---
4155
@@ -118,10 +132,11 @@ You can use either an API key or credential-less YAML configuration file:
118132
endpoint: https://contoso.cognitiveservices.azure.com/
119133
```
120134
135+
For more information on the YAML configuration file, see the [AI Services connection YAML schema](/azure/machine-learning/reference-yaml-connection-ai-services)
121136
---
122137
123138
## Related content
124139
125140
- [Get started building a chat app using the prompt flow SDK](../../quickstarts/get-started-code.md)
126-
- [Work with projects in VS Code](vscode.md)
141+
- [Work with projects in Visual Studio Code](vscode.md)
127142
- [Configure a managed network](../configure-managed-network.md?tabs=python)

articles/ai-studio/toc.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ items:
4848
- name: Create a hub in the Azure portal
4949
href: how-to/create-secure-ai-hub.md
5050
- name: Create a hub from template
51-
href: how-to/create-azure-ai-hub-template.md
51+
href: how-to/create-azure-ai-hub-template.md
52+
- name: Create a hub using the Azure Machine Learning SDK and CLI
53+
href: how-to/develop/create-hub-project-sdk.md
5254
- name: Create a project
5355
href: how-to/create-projects.md
54-
- name: Create a hub and project using the Azure Machine Learning SDK
55-
href: how-to/develop/create-hub-project-sdk.md
5656
- name: Create and manage compute
5757
href: how-to/create-manage-compute.md
5858
- name: Connect to external resources

0 commit comments

Comments
 (0)