You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
```
@@ -23,19 +23,9 @@ To add AI capablities to the application, you need create an Azure OpenAI accoun
23
23
--custom-domain $OPEN_AI_SERVICE_NAME
24
24
```
25
25
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`.
27
27
28
28
```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
-
39
29
az cognitiveservices account deployment create \
40
30
--resource-group $RESOURCE_GROUP \
41
31
--name $OPEN_AI_SERVICE_NAME \
@@ -44,22 +34,13 @@ To add AI capablities to the application, you need create an Azure OpenAI accoun
44
34
--model-version 2024-08-06 \
45
35
--model-format OpenAI \
46
36
--sku-name "GlobalStandard" \
47
-
--sku-capacity 30
37
+
--sku-capacity 10
48
38
```
49
39
50
40
{: .note }
51
41
> 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.
52
42
43
+
1. Navigate to your open AI instance and get the endpoint and api-key.
53
44
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)
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"}}`.
0 commit comments