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
* Update deploy_features.md
Added detailed instructions for setting up GPT-4 and GPT-4o deployments. Included specific commands for deployment names, model versions, and deployment capacities. Clarified steps for setting deployment capacity with a note on default values for GPT-4o.
* Update deploy_features.md
Hi @pamelafox, I have made the suggested changes, including adding instructions for the -mini model. Please review the updated file. Thanks!
* Apply suggestions from code review
* Update docs/deploy_features.md
* Update docs/deploy_features.md
* Update docs/deploy_features.md
* Update docs/deploy_features.md
* Update docs/deploy_features.md
* Update deploy_features.md
This update corrects various markdown formatting issues to comply with markdownlint standards.
---------
Co-authored-by: Pamela Fox <[email protected]>
Copy file name to clipboardExpand all lines: docs/deploy_features.md
+39-3Lines changed: 39 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,22 +19,44 @@ You should typically enable these features before running `azd up`. Once you've
19
19
20
20
## Using GPT-4
21
21
22
-
We generally find that most developers are able to get high quality answers using GPT 3.5. However, if you want to try GPT-4, you can do so by following these steps:
22
+
(Instructions for **GPT-4**, **GPT-4o**, and **GPT-4o mini** models are also included here.)
23
+
24
+
We generally find that most developers are able to get high-quality answers using GPT-3.5. However, if you want to try GPT-4, GPT-4o, or GPT-4o mini, you can do so by following these steps:
23
25
24
26
Execute the following commands inside your terminal:
25
27
26
-
1. To set the name of the deployment, run this command with a new unique name.
28
+
1. To set the name of the deployment, run this command with a unique name in your Azure OpenAI account. You can use any deployment name, as long as it's unique in your Azure OpenAI account.
29
+
30
+
```bash
31
+
azd env set AZURE_OPENAI_CHATGPT_DEPLOYMENT <your-deployment-name>
32
+
```
33
+
34
+
For example:
27
35
28
36
```bash
29
37
azd env set AZURE_OPENAI_CHATGPT_DEPLOYMENT chat4
30
38
```
31
39
32
-
1. To set the GPT model name to a **gpt-4** version from the [available models](https://learn.microsoft.com/azure/ai-services/openai/concepts/models), run this command with the appropriate gpt model name.
40
+
1. To set the GPT model name to a **gpt-4**, **gpt-4o**, or **gpt-4o mini** version from the [available models](https://learn.microsoft.com/azure/ai-services/openai/concepts/models), run this command with the appropriate GPT model name.
41
+
42
+
For GPT-4:
33
43
34
44
```bash
35
45
azd env set AZURE_OPENAI_CHATGPT_MODEL gpt-4
36
46
```
37
47
48
+
For GPT-4o:
49
+
50
+
```bash
51
+
azd env set AZURE_OPENAI_CHATGPT_MODEL gpt-4o
52
+
```
53
+
54
+
For GPT-4o mini:
55
+
56
+
```bash
57
+
azd env set AZURE_OPENAI_CHATGPT_MODEL gpt-4o-mini
58
+
```
59
+
38
60
1. To set the Azure OpenAI deployment capacity, run this command with the desired capacity.
39
61
40
62
```bash
@@ -43,10 +65,24 @@ Execute the following commands inside your terminal:
43
65
44
66
1. To set the Azure OpenAI deployment version from the [available versions](https://learn.microsoft.com/azure/ai-services/openai/concepts/models), run this command with the appropriate version.
45
67
68
+
For GPT-4:
69
+
46
70
```bash
47
71
azd env set AZURE_OPENAI_CHATGPT_DEPLOYMENT_VERSION turbo-2024-04-09
48
72
```
49
73
74
+
For GPT-4o:
75
+
76
+
```bash
77
+
azd env set AZURE_OPENAI_CHATGPT_DEPLOYMENT_VERSION 2024-05-13
78
+
```
79
+
80
+
For GPT-4o mini:
81
+
82
+
```bash
83
+
azd env set AZURE_OPENAI_CHATGPT_DEPLOYMENT_VERSION 2024-07-18
84
+
```
85
+
50
86
1. To update the deployment with the new parameters, run this command.
0 commit comments