From 7fabcbccf03cbd0f75ac60f972c2869f1a9c0c05 Mon Sep 17 00:00:00 2001 From: Pamela Fox Date: Thu, 17 Apr 2025 11:01:51 -0700 Subject: [PATCH 1/2] Update reasoning docs to include API version --- docs/reasoning.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/reasoning.md b/docs/reasoning.md index 51e8ac023d..7103237a2d 100644 --- a/docs/reasoning.md +++ b/docs/reasoning.md @@ -26,6 +26,7 @@ This repository includes an optional feature that uses reasoning models to gener azd env set AZURE_OPENAI_CHATGPT_DEPLOYMENT o3-mini azd env set AZURE_OPENAI_CHATGPT_DEPLOYMENT_VERSION 2025-01-31 azd env set AZURE_OPENAI_CHATGPT_DEPLOYMENT_SKU GlobalStandard + azd env set AZURE_OPENAI_API_VERSION 2024-12-01-preview ``` For o1: @@ -35,6 +36,7 @@ This repository includes an optional feature that uses reasoning models to gener azd env set AZURE_OPENAI_CHATGPT_DEPLOYMENT o1 azd env set AZURE_OPENAI_CHATGPT_DEPLOYMENT_VERSION 2024-12-17 azd env set AZURE_OPENAI_CHATGPT_DEPLOYMENT_SKU GlobalStandard + azd env set AZURE_OPENAI_API_VERSION 2024-12-01-preview ``` 2. **(Optional) Set default reasoning effort** From 1be21bb0264e2086b4d6425bef7bdac4f01ec753 Mon Sep 17 00:00:00 2001 From: Pamela Fox Date: Thu, 17 Apr 2025 11:05:45 -0700 Subject: [PATCH 2/2] Fix defaults --- docs/deploy_existing.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/deploy_existing.md b/docs/deploy_existing.md index 4275dcf2f6..62a0321ca6 100644 --- a/docs/deploy_existing.md +++ b/docs/deploy_existing.md @@ -26,9 +26,9 @@ You should set these values before running `azd up`. Once you've set them, retur 1. Run `azd env set AZURE_OPENAI_SERVICE {Name of existing OpenAI service}` 1. Run `azd env set AZURE_OPENAI_RESOURCE_GROUP {Name of existing resource group that OpenAI service is provisioned to}` 1. Run `azd env set AZURE_OPENAI_LOCATION {Location of existing OpenAI service}` -1. Run `azd env set AZURE_OPENAI_CHATGPT_DEPLOYMENT {Name of existing chat deployment}`. Only needed if your chat deployment is not the default 'chat'. -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-turbo'. -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 '0125'. You definitely need to change this if you changed the model. +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'. +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'. +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. 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. 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'. 1. Run `azd env set AZURE_OPENAI_EMB_MODEL_NAME {Model name of existing embedding deployment}`. Only needed if your embeddings model is not the default 'text-embedding-ada-002'.