From e9f9cb2aeb4b243fdf7ced60e0a50b1d3e1386fd Mon Sep 17 00:00:00 2001 From: marlenezw Date: Fri, 12 Apr 2024 12:49:56 +0100 Subject: [PATCH 1/3] adding new section for creating new azd env. --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README.md b/README.md index a11174a..54a805d 100644 --- a/README.md +++ b/README.md @@ -51,3 +51,26 @@ so that you can use the OpenAI API SDKs with keyless (Entra) authentication. By ``` This will use the OpenAI API SDK to make a request to the OpenAI API and print the response. + + +## Creating a new azd enviroment + +1. If you'd like to create a new Python project, you can create a new azd environment for it. + +Create a new environment and set it as the default by running: + + ```shell + azd env new + ``` + +2. You can view the new environment and any previous environments you created by looking in the `.azure`folder, or by running the command: + + ```shell + azd env list + ``` + +3. To change back to the previous azd environment: + + ```shell + azd env select + ``` \ No newline at end of file From 1c9a40f9f011a3a576a6b82720e464823d61cc5f Mon Sep 17 00:00:00 2001 From: marlenezw Date: Fri, 12 Apr 2024 12:55:42 +0100 Subject: [PATCH 2/3] fixing typos. --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 54a805d..c29333e 100644 --- a/README.md +++ b/README.md @@ -56,14 +56,13 @@ so that you can use the OpenAI API SDKs with keyless (Entra) authentication. By ## Creating a new azd enviroment 1. If you'd like to create a new Python project, you can create a new azd environment for it. - Create a new environment and set it as the default by running: ```shell azd env new ``` -2. You can view the new environment and any previous environments you created by looking in the `.azure`folder, or by running the command: +2. You can view the new environment and any previous environments you created by looking in the `.azure` folder, or by running the command: ```shell azd env list From 624f49ea007afdbacd61c9e1dc1a6c77df2072de Mon Sep 17 00:00:00 2001 From: Pamela Fox Date: Fri, 12 Apr 2024 17:39:28 -0700 Subject: [PATCH 3/3] Apply suggestions from code review --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c29333e..cdb32e4 100644 --- a/README.md +++ b/README.md @@ -53,9 +53,9 @@ so that you can use the OpenAI API SDKs with keyless (Entra) authentication. By This will use the OpenAI API SDK to make a request to the OpenAI API and print the response. -## Creating a new azd enviroment +## Creating a new Azure OpenAI deployment -1. If you'd like to create a new Python project, you can create a new azd environment for it. +1. If you'd like to deploy a new Azure OpenAI deployment, the easiest way is to create a new `azd` environment for it. Create a new environment and set it as the default by running: ```shell