Skip to content

Commit eb34e71

Browse files
committed
Change search agent to 4.1-mini as well
1 parent 3631d11 commit eb34e71

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/agentic_retrieval.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ See the agentic retrieval documentation.
1010

1111
### Prerequisites
1212

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 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.
1414

1515
### Deployment
1616

@@ -24,13 +24,13 @@ See the agentic retrieval documentation.
2424

2525
2. **(Optional) Set the agentic retrieval model**
2626

27-
You can configure which model agentic retrieval uses. By default, gpt-4o is used.
27+
You can configure which model agentic retrieval uses. By default, gpt-4.1-mini is used.
2828

29-
For gpt-4o:
29+
To change the model, set the following environment variables appropriately:
3030

3131
```shell
3232
azd env set AZURE_OPENAI_SEARCHAGENT_DEPLOYMENT searchagent
33-
azd env set AZURE_OPENAI_SEARCHAGENT_MODEL gpt-4o
33+
azd env set AZURE_OPENAI_SEARCHAGENT_MODEL gpt-4.1-mini
3434
azd env set AZURE_OPENAI_SEARCHAGENT_MODEL_VERSION 2024-11-20
3535
```
3636

infra/main.bicep

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,9 @@ param searchAgentModelVersion string = ''
204204
param searchAgentDeploymentSkuName string = ''
205205
param searchAgentDeploymentCapacity int = 0
206206
var searchAgent = {
207-
modelName: !empty(searchAgentModelName) ? searchAgentModelName : 'gpt-4o'
207+
modelName: !empty(searchAgentModelName) ? searchAgentModelName : 'gpt-4.1-mini'
208208
deploymentName: !empty(searchAgentDeploymentName) ? searchAgentDeploymentName : 'searchagent'
209-
deploymentVersion: !empty(searchAgentModelVersion) ? searchAgentModelVersion : '2024-08-06'
209+
deploymentVersion: !empty(searchAgentModelVersion) ? searchAgentModelVersion : '2025-04-14'
210210
deploymentSkuName: !empty(searchAgentDeploymentSkuName) ? searchAgentDeploymentSkuName : 'GlobalStandard'
211211
deploymentCapacity: searchAgentDeploymentCapacity != 0 ? searchAgentDeploymentCapacity : 30
212212
}

0 commit comments

Comments
 (0)