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
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ This template, the application code and configuration it contains, has been buil
51
51
52
52
[📺 Watch a video overview of the app.](https://youtu.be/3acB0OWmLvM)
53
53
54
-
This sample demonstrates a few approaches for creating ChatGPT-like experiences over your own data using the Retrieval Augmented Generation pattern. It uses Azure OpenAI Service to access a GPT model (gpt-4o-mini), and Azure AI Search for data indexing and retrieval.
54
+
This sample demonstrates a few approaches for creating ChatGPT-like experiences over your own data using the Retrieval Augmented Generation pattern. It uses Azure OpenAI Service to access a GPT model (gpt-4.1-mini), and Azure AI Search for data indexing and retrieval.
55
55
56
56
The repo includes sample data so it's ready to try end to end. In this sample application we use a fictitious company called Contoso Electronics, and the experience allows its employees to ask questions about the benefits, internal policies, as well as job descriptions and roles.
Copy file name to clipboardExpand all lines: docs/agentic_retrieval.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ See the agentic retrieval documentation.
10
10
11
11
### Prerequisites
12
12
13
-
* A deployment of any of the supported agentic retrieval models in the [supported regions](https://learn.microsoft.com/azure/ai-services/openai/concepts/models#standard-deployment-model-availability). If you're not sure, try to create a gpt-4o-mini deployment from your Azure OpenAI deployments page.
13
+
* A deployment of any of the supported agentic retrieval models in the [supported regions](https://learn.microsoft.com/azure/ai-services/openai/concepts/models#standard-deployment-model-availability). If you're not sure, try to create a gpt-4.1-mini deployment from your Azure OpenAI deployments page.
14
14
15
15
### Deployment
16
16
@@ -24,14 +24,14 @@ See the agentic retrieval documentation.
24
24
25
25
2.**(Optional) Set the agentic retrieval model**
26
26
27
-
You can configure which model agentic retrieval uses. By default, gpt-4o-mini is used
27
+
You can configure which model agentic retrieval uses. By default, gpt-4.1-mini is used.
28
28
29
-
For gpt-4o:
29
+
To change the model, set the following environment variables appropriately:
30
30
31
31
```shell
32
32
azd env set AZURE_OPENAI_SEARCHAGENT_DEPLOYMENT searchagent
33
-
azd env set AZURE_OPENAI_SEARCHAGENT_MODEL gpt-4o
34
-
azd env set AZURE_OPENAI_SEARCHAGENT_MODEL_VERSION 2024-11-20
33
+
azd env set AZURE_OPENAI_SEARCHAGENT_MODEL gpt-4.1-mini
34
+
azd env set AZURE_OPENAI_SEARCHAGENT_MODEL_VERSION 2025-04-14
Copy file name to clipboardExpand all lines: docs/deploy_existing.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,8 +26,8 @@ You should set these values before running `azd up`. Once you've set them, retur
26
26
1. Run `azd env set AZURE_OPENAI_SERVICE {Name of existing OpenAI service}`
27
27
1. Run `azd env set AZURE_OPENAI_RESOURCE_GROUP {Name of existing resource group that OpenAI service is provisioned to}`
28
28
1. Run `azd env set AZURE_OPENAI_LOCATION {Location of existing OpenAI service}`
29
-
1. Run `azd env set AZURE_OPENAI_CHATGPT_DEPLOYMENT {Name of existing chat deployment}`. Only needed if your chat deployment name is not the default 'gpt-4o-mini'.
30
-
1. Run `azd env set AZURE_OPENAI_CHATGPT_MODEL {Model name of existing chat deployment}`. Only needed if your chat model is not the default 'gpt-4o-mini'.
29
+
1. Run `azd env set AZURE_OPENAI_CHATGPT_DEPLOYMENT {Name of existing chat deployment}`. Only needed if your chat deployment name is not the default 'gpt-4.1-mini'.
30
+
1. Run `azd env set AZURE_OPENAI_CHATGPT_MODEL {Model name of existing chat deployment}`. Only needed if your chat model is not the default 'gpt-4.1-mini'.
31
31
1. Run `azd env set AZURE_OPENAI_CHATGPT_DEPLOYMENT_VERSION {Version string for existing chat deployment}`. Only needed if your chat deployment model version is not the default '2024-07-18'. You definitely need to change this if you changed the model.
32
32
1. Run `azd env set AZURE_OPENAI_CHATGPT_DEPLOYMENT_SKU {Name of SKU for existing chat deployment}`. Only needed if your chat deployment SKU is not the default 'Standard', like if it is 'GlobalStandard' instead.
33
33
1. Run `azd env set AZURE_OPENAI_EMB_DEPLOYMENT {Name of existing embedding deployment}`. Only needed if your embeddings deployment is not the default 'embedding'.
Copy file name to clipboardExpand all lines: docs/deploy_features.md
+21-9Lines changed: 21 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ You should typically enable these features before running `azd up`. Once you've
24
24
25
25
## Using different chat completion models
26
26
27
-
As of late March 2025, the default chat completion model is `gpt-4o-mini`. If you deployed this sample before that date, the default model is `gpt-3.5-turbo`. You can change the chat completion model to any Azure OpenAI chat model that's available in your Azure OpenAI resource region by following these steps:
27
+
As of early June 2025, the default chat completion model is `gpt-4.1-mini`. If you deployed this sample before that date, the default model is `gpt-3.5-turbo` or `gpt-4o-mini`. You can change the chat completion model to any Azure OpenAI chat model that's available in your Azure OpenAI resource region by following these steps:
28
28
29
29
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. For convenience, many developers use the same deployment name as the model name, but this is not required.
30
30
@@ -40,24 +40,30 @@ As of late March 2025, the default chat completion model is `gpt-4o-mini`. If yo
40
40
41
41
1. To set the GPT model to a different [available model](https://learn.microsoft.com/azure/ai-services/openai/concepts/models), run this command with the appropriate model name.
42
42
43
-
For GPT-4:
43
+
For gpt-4.1-mini:
44
44
45
45
```bash
46
-
azd env set AZURE_OPENAI_CHATGPT_MODEL gpt-4
46
+
azd env set AZURE_OPENAI_CHATGPT_MODEL gpt-4.1-mini
47
47
```
48
48
49
-
For GPT-4o:
49
+
For gpt-4o:
50
50
51
51
```bash
52
52
azd env set AZURE_OPENAI_CHATGPT_MODEL gpt-4o
53
53
```
54
54
55
-
For GPT-4o mini:
55
+
For gpt-4o mini:
56
56
57
57
```bash
58
58
azd env set AZURE_OPENAI_CHATGPT_MODEL gpt-4o-mini
59
59
```
60
60
61
+
For gpt-4:
62
+
63
+
```bash
64
+
azd env set AZURE_OPENAI_CHATGPT_MODEL gpt-4
65
+
```
66
+
61
67
For gpt-3.5-turbo:
62
68
63
69
```bash
@@ -66,24 +72,30 @@ As of late March 2025, the default chat completion model is `gpt-4o-mini`. If yo
66
72
67
73
1. To set the Azure OpenAI model version from the [available versions](https://learn.microsoft.com/azure/ai-services/openai/concepts/models), run this command with the appropriate version string.
68
74
69
-
For GPT-4:
75
+
For gpt-4.1-mini:
70
76
71
77
```bash
72
-
azd env set AZURE_OPENAI_CHATGPT_DEPLOYMENT_VERSION turbo-2024-04-09
78
+
azd env set AZURE_OPENAI_CHATGPT_DEPLOYMENT_VERSION 2025-04-14
73
79
```
74
80
75
-
For GPT-4o:
81
+
For gpt-4o:
76
82
77
83
```bash
78
84
azd env set AZURE_OPENAI_CHATGPT_DEPLOYMENT_VERSION 2024-05-13
79
85
```
80
86
81
-
For GPT-4o mini:
87
+
For gpt-4o mini:
82
88
83
89
```bash
84
90
azd env set AZURE_OPENAI_CHATGPT_DEPLOYMENT_VERSION 2024-07-18
85
91
```
86
92
93
+
For gpt-4:
94
+
95
+
```bash
96
+
azd env set AZURE_OPENAI_CHATGPT_DEPLOYMENT_VERSION turbo-2024-04-09
Copy file name to clipboardExpand all lines: docs/gpt4v.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ For more details on how this feature works, read [this blog post](https://techco
23
23
* The ability to deploy a gpt-4o model in the [supported regions](https://learn.microsoft.com/azure/ai-services/openai/concepts/models#standard-deployment-model-availability). If you're not sure, try to create a gpt-4o deployment from your Azure OpenAI deployments page.
24
24
* Ensure that you can deploy the Azure OpenAI resource group in [a region and deployment SKU where all required components are available](https://learn.microsoft.com/azure/cognitive-services/openai/concepts/models#model-summary-table-and-region-availability):
25
25
* Azure OpenAI models
26
-
* gpt-4o-mini
26
+
* gpt-4.1-mini
27
27
* text-embedding-3-large
28
28
* gpt-4o (for vision/evaluation features)
29
29
*[Azure AI Vision](https://learn.microsoft.com/azure/ai-services/computer-vision/)
0 commit comments