Skip to content

Commit e16451b

Browse files
authored
Merge pull request #148 from HeidiSteen/main
Updated chat completion model version
2 parents 297f418 + f77056b commit e16451b

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Quickstart-Agentic-Retrieval/quickstart-agentic-retrieval.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"\n",
3636
"+ An [Azure OpenAI resource](https://learn.microsoft.com/azure/ai-services/openai/how-to/create-resource).\n",
3737
"\n",
38-
"+ A [supported model](https://learn.microsoft.com/azure/search/search-agentic-retrieval-how-to-create#supported-models) deployed to your Azure OpenAI resource. This notebook uses `gpt-4o-mini`."
38+
"+ A [supported model](https://learn.microsoft.com/azure/search/search-agentic-retrieval-how-to-create#supported-models) deployed to your Azure OpenAI resource. This notebook uses `gpt-4.1-mini`."
3939
]
4040
},
4141
{
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
AZURE_OPENAI_ENDPOINT=https://your-openai-service.openai.azure.com
2-
AZURE_OPENAI_GPT_DEPLOYMENT=gpt-4o-mini
2+
AZURE_OPENAI_GPT_DEPLOYMENT=gpt-4.1-mini
33
AZURE_SEARCH_ENDPOINT=https://your-search-service.search.windows.net
44
AZURE_SEARCH_INDEX_NAME=agentic-retrieval-sample

agentic-retrieval-pipeline-example/agent-example.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,14 @@
9090
"\n",
9191
"# The following variables from your .env file are used in this notebook\n",
9292
"project_endpoint = os.environ[\"PROJECT_ENDPOINT\"]\n",
93-
"agent_model = os.getenv(\"AGENT_MODEL\", \"gpt-4o-mini\")\n",
93+
"agent_model = os.getenv(\"AGENT_MODEL\", \"gpt-4.1-mini\")\n",
9494
"endpoint = os.environ[\"AZURE_SEARCH_ENDPOINT\"]\n",
9595
"credential = DefaultAzureCredential()\n",
9696
"token_provider = get_bearer_token_provider(credential, \"https://search.azure.com/.default\")\n",
9797
"index_name = os.getenv(\"AZURE_SEARCH_INDEX\", \"earth_at_night\")\n",
9898
"azure_openai_endpoint = os.environ[\"AZURE_OPENAI_ENDPOINT\"]\n",
99-
"azure_openai_gpt_deployment = os.getenv(\"AZURE_OPENAI_GPT_DEPLOYMENT\", \"gpt-4o-mini\")\n",
100-
"azure_openai_gpt_model = os.getenv(\"AZURE_OPENAI_GPT_MODEL\", \"gpt-4o-mini\")\n",
99+
"azure_openai_gpt_deployment = os.getenv(\"AZURE_OPENAI_GPT_DEPLOYMENT\", \"gpt-4.1-mini\")\n",
100+
"azure_openai_gpt_model = os.getenv(\"AZURE_OPENAI_GPT_MODEL\", \"gpt-4.1-mini\")\n",
101101
"azure_openai_embedding_deployment = os.getenv(\"AZURE_OPENAI_EMBEDDING_DEPLOYMENT\", \"text-embedding-3-large\")\n",
102102
"azure_openai_embedding_model = os.getenv(\"AZURE_OPENAI_EMBEDDING_MODEL\", \"text-embedding-3-large\")\n",
103103
"agent_name = os.getenv(\"AZURE_SEARCH_AGENT_NAME\", \"earth-search-agent\")"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PROJECT_ENDPOINT=https://your-foundry-resource.services.ai.azure.com/api/projects/your-foundry-project
22
AZURE_OPENAI_ENDPOINT=https://your-openai-service.openai.azure.com
3-
AZURE_OPENAI_GPT_DEPLOYMENT=gpt-4o-mini
3+
AZURE_OPENAI_GPT_DEPLOYMENT=gpt-4.1-mini
44
AZURE_SEARCH_ENDPOINT=https://your-search-service.search.windows.net
55
AZURE_SEARCH_INDEX_NAME=earth_at_night

0 commit comments

Comments
 (0)