Skip to content

Commit a62b170

Browse files
authored
mark some steps optional, and hide the steps to deploy existing AI (#162)
as title ## Purpose refine the process ## Does this introduce a breaking change? <!-- Mark one with an "x". --> ``` [ ] Yes [x] No ``` ## Pull Request Type What kind of change does this Pull Request introduce? <!-- Please check the one that applies to this PR using "x". --> ``` [ ] Bugfix [ ] Feature [ ] Code style update (formatting, local variables) [ ] Refactoring (no functional changes, no api changes) [x] Documentation content changes [ ] Other... Please describe: ```
1 parent 1a08cbe commit a62b170

File tree

4 files changed

+9
-27
lines changed

4 files changed

+9
-27
lines changed

docs/03_lab_monitor/0303.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: '3. Application Insights'
2+
title: '3. Application Insights (Optional)'
33
layout: default
44
nav_order: 3
55
parent: 'Lab 3: Enable monitoring'

docs/03_lab_monitor/0304.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: '4. Azure Managed Grafana'
2+
title: '4. Azure Managed Grafana (Optional)'
33
layout: default
44
nav_order: 4
55
parent: 'Lab 3: Enable monitoring'

docs/05_lab_openai/0501.md

Lines changed: 6 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: '1. Create Azure OpenAI resources'
2+
title: 'Create Azure OpenAI resources (Optional)'
33
layout: default
44
nav_order: 1
55
parent: 'Lab 5: Integrate with Azure OpenAI'
@@ -23,19 +23,9 @@ To add AI capablities to the application, you need create an Azure OpenAI accoun
2323
--custom-domain $OPEN_AI_SERVICE_NAME
2424
```
2525

26-
2. Deploy language models in your Azure OpenAI service instance. Use the following commands to deploy two language models `text-embedding-ada-002` and `gpt-4o`.
26+
1. Deploy language models in your Azure OpenAI service instance. Use the following commands to deploy model `gpt-4o`.
2727

2828
```bash
29-
az cognitiveservices account deployment create \
30-
--resource-group $RESOURCE_GROUP \
31-
--name $OPEN_AI_SERVICE_NAME \
32-
--deployment-name text-embedding-ada-002 \
33-
--model-name text-embedding-ada-002 \
34-
--model-version "2" \
35-
--model-format OpenAI \
36-
--sku-name "Standard" \
37-
--sku-capacity 30
38-
3929
az cognitiveservices account deployment create \
4030
--resource-group $RESOURCE_GROUP \
4131
--name $OPEN_AI_SERVICE_NAME \
@@ -44,22 +34,13 @@ To add AI capablities to the application, you need create an Azure OpenAI accoun
4434
--model-version 2024-08-06 \
4535
--model-format OpenAI \
4636
--sku-name "GlobalStandard" \
47-
--sku-capacity 30
37+
--sku-capacity 10
4838
```
4939

5040
{: .note }
5141
> In Azure OpenAI, model availability varies by region. Please check [related information](https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/models) to choose the model version.
5242
43+
1. Navigate to your open AI instance and get the endpoint and api-key.
5344

54-
3. To securely access Azure OpenAI API call, you need assign `Cognitive Services OpenAI User` role for your managed identity.
55-
56-
```bash
57-
OPEN_AI_RESOURCE_ID=$(az cognitiveservices account show --name $OPEN_AI_SERVICE_NAME --resource-group $RESOURCE_GROUP --query id --output tsv)
58-
59-
APPS_IDENTITY_SP_ID=$(az identity show --resource-group $RESOURCE_GROUP --name $APPS_IDENTITY --query principalId --output tsv)
60-
61-
az role assignment create \
62-
--role "Cognitive Services OpenAI User" \
63-
--scope $OPEN_AI_RESOURCE_ID \
64-
--assignee $APPS_IDENTITY_SP_ID
65-
```
45+
{: .note }
46+
Ask the subscription administrator for help if you see errors like `{"error":{"code":"BadRequest","message":"Failed to list key. disableLocalAuth is set to be true"}}`.

docs/05_lab_openai/0502.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: '2. Deploy sample AI application chat-agent'
33
layout: default
44
nav_order: 2
5+
nav_exclude: true
56
parent: 'Lab 5: Integrate with Azure OpenAI'
67
---
78

0 commit comments

Comments
 (0)