Skip to content

Commit 27816c1

Browse files
Update deploy_features.md (#1885)
* 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]>
1 parent 1a32cd4 commit 27816c1

File tree

1 file changed

+39
-3
lines changed

1 file changed

+39
-3
lines changed

docs/deploy_features.md

Lines changed: 39 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,22 +19,44 @@ You should typically enable these features before running `azd up`. Once you've
1919

2020
## Using GPT-4
2121

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:
2325

2426
Execute the following commands inside your terminal:
2527

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:
2735

2836
```bash
2937
azd env set AZURE_OPENAI_CHATGPT_DEPLOYMENT chat4
3038
```
3139

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:
3343

3444
```bash
3545
azd env set AZURE_OPENAI_CHATGPT_MODEL gpt-4
3646
```
3747

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+
3860
1. To set the Azure OpenAI deployment capacity, run this command with the desired capacity.
3961

4062
```bash
@@ -43,10 +65,24 @@ Execute the following commands inside your terminal:
4365

4466
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.
4567

68+
For GPT-4:
69+
4670
```bash
4771
azd env set AZURE_OPENAI_CHATGPT_DEPLOYMENT_VERSION turbo-2024-04-09
4872
```
4973

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+
5086
1. To update the deployment with the new parameters, run this command.
5187

5288
```bash

0 commit comments

Comments
 (0)