diff --git a/docs/images/AZ_OpenAI_setup_1.jpg b/docs/images/AZ_OpenAI_setup_1.jpg new file mode 100644 index 0000000..2aa8589 Binary files /dev/null and b/docs/images/AZ_OpenAI_setup_1.jpg differ diff --git a/docs/images/AZ_OpenAI_setup_10.jpg b/docs/images/AZ_OpenAI_setup_10.jpg new file mode 100644 index 0000000..3ab760c Binary files /dev/null and b/docs/images/AZ_OpenAI_setup_10.jpg differ diff --git a/docs/images/AZ_OpenAI_setup_11.jpg b/docs/images/AZ_OpenAI_setup_11.jpg new file mode 100644 index 0000000..76ca4e5 Binary files /dev/null and b/docs/images/AZ_OpenAI_setup_11.jpg differ diff --git a/docs/images/AZ_OpenAI_setup_2.jpg b/docs/images/AZ_OpenAI_setup_2.jpg new file mode 100644 index 0000000..a394a52 Binary files /dev/null and b/docs/images/AZ_OpenAI_setup_2.jpg differ diff --git a/docs/images/AZ_OpenAI_setup_3.jpg b/docs/images/AZ_OpenAI_setup_3.jpg new file mode 100644 index 0000000..35b2921 Binary files /dev/null and b/docs/images/AZ_OpenAI_setup_3.jpg differ diff --git a/docs/images/AZ_OpenAI_setup_4.jpg b/docs/images/AZ_OpenAI_setup_4.jpg new file mode 100644 index 0000000..5377a16 Binary files /dev/null and b/docs/images/AZ_OpenAI_setup_4.jpg differ diff --git a/docs/images/AZ_OpenAI_setup_5.jpg b/docs/images/AZ_OpenAI_setup_5.jpg new file mode 100644 index 0000000..32247d5 Binary files /dev/null and b/docs/images/AZ_OpenAI_setup_5.jpg differ diff --git a/docs/images/AZ_OpenAI_setup_6.jpg b/docs/images/AZ_OpenAI_setup_6.jpg new file mode 100644 index 0000000..225f18e Binary files /dev/null and b/docs/images/AZ_OpenAI_setup_6.jpg differ diff --git a/docs/images/AZ_OpenAI_setup_7.jpg b/docs/images/AZ_OpenAI_setup_7.jpg new file mode 100644 index 0000000..4f70b95 Binary files /dev/null and b/docs/images/AZ_OpenAI_setup_7.jpg differ diff --git a/docs/images/AZ_OpenAI_setup_8.jpg b/docs/images/AZ_OpenAI_setup_8.jpg new file mode 100644 index 0000000..b71c479 Binary files /dev/null and b/docs/images/AZ_OpenAI_setup_8.jpg differ diff --git a/docs/images/AZ_OpenAI_setup_9.jpg b/docs/images/AZ_OpenAI_setup_9.jpg new file mode 100644 index 0000000..b5ee5f4 Binary files /dev/null and b/docs/images/AZ_OpenAI_setup_9.jpg differ diff --git a/notebooks/GenAI/azure_infra_setup/README_1.md b/notebooks/GenAI/azure_infra_setup/README_1.md new file mode 100644 index 0000000..3e1f4aa --- /dev/null +++ b/notebooks/GenAI/azure_infra_setup/README_1.md @@ -0,0 +1,102 @@ +# **Setting Up Azure Environment for Azure GenAI Cloud Lab** +**** +##### **Skill Level: Beginner** +This guide will help you set up your Azure environment to complete the activities in the [GenAI](https://github.com/STRIDES/NIHCloudLabAzure/tree/main/notebooks/GenAI) directory of the NIH Cloud Lab. The purpose of this guide is to walk you through a deployment of the resources needed to carry out these activities. +### Prerequisites +***** +- An active Azure subscription +- ### Resources and Pricing +***** + +Provided is a list of resources that will be deployed along with the estimated cost breakdown for each resource. Please find the resources that will be deployed below. +#### Resources deployed + +1. ##### **Azure Storage Account** + - **Resource Type:** Storage Account (Standard_LRS) + - **Purpose:** This resource is used to store and manage files. + - **Estimated Cost:** $0.018 per GB / $18.40 per 1000 GB per month +2. ##### **Azure OpenAI** + - **Resource Type:** Cognitive Services (Standard) + - **Purpose:** This resource provides access to OpenAI models, including GPT and embeddings for AI processing. + - **Models Deployed.** + - **Model:** gpt-5.4-nano + - **Version:** 2024-07-18 + - **Cost per 1M Tokens:** $0.15 input / $0.60 output + - **Model:** text-embedding-3-small + - **Version:** 1 + - **Cost per 1K Tokens:** $0.00002 + - **Estimated Cost:** Varies based on model usage and API calls. Please refer to [Azure OpenAI Service Pricing](https://azure.microsoft.com/en-us/pricing/details/azure-openai/?msockid=3df6a53ac4916aa73e41b1e3c5c36bd4) for more details. + +Please refer to the [Azure Pricing Calculator](https://azure.microsoft.com/en-us/pricing/calculator/) for a more detailed and personalized estimate based on your specific usage patterns and region. +#### Get Started +**** +### Azure OpenAI Setup Steps +**** +1. Navigate to Azure OpenAI by searching at the top of the page. + + +2. Click **Create** and then select **Azure OpenAI** + + + +3. In the **Create Azure OpenAI window:** + - Select your Azure subscription + - Click **Create new** for resource group + + + + - Select Region **East US 2** + - Enter Name for your Azure OpenAI + - Select Pricing tier **Standard S0** + - Click **Next** +4. In the Network window: + - Select **All networks, including the internet, can access this resource.** + - Click Next. +5. In **Reviwe+submit** window: + - Click **create** + + + +6. When you see **Your deployment is complete** message: + - Select **Go to resource** + + + +7. In your resource window: + - Select **Go to Foundry portal** + - Click **Create a project** + + + +8.In the Create project window: + - Give a **Project name** + - Select **Region** + - Select your **Subscription** + - Select **Resource group** + - Click **Create** + + + +9. In the Deployments section: + - Select **View Deployments** or **Manage Deployments** + - Select **Deploy a base model** + + + + + +10. Search for and deploy a GPT model: + - Type a GPT model name in the search bar + - Click on the selected model + - Select **Deploy** + + + + + +11. Deploy an embedding model: + - Type an embedding model name in the search bar + - Click on the selected model + - Select **Deploy** + +Azure infrastructre setup is complete. diff --git a/notebooks/GenAI/azure_infra_setup/README_1.pdf.html b/notebooks/GenAI/azure_infra_setup/README_1.pdf.html new file mode 100644 index 0000000..e3aa885 --- /dev/null +++ b/notebooks/GenAI/azure_infra_setup/README_1.pdf.html @@ -0,0 +1,371 @@ + + +
+ + +This guide will help you set up your Azure environment to complete the activities in the GenAI directory of the NIH Cloud Lab.
+ +Provided is a list of resources that will be deployed along with the estimated cost breakdown for each resource. Please find the resources that will be deployed below.
+ +Resource Type: Storage Account (Standard_LRS)
+Purpose: This resource is used to store and manage files.
+Resource Type: Cognitive Services (Standard)
+Purpose: This resource provides access to OpenAI models, including GPT and embeddings for AI processing.
+ +Model: gpt-5.4-nano
+Version: 2024-07-18
+Cost per 1M Tokens: $0.15 input / $0.60 output
+Model: text-embedding-3-small
+Version: 1
+Cost per 1K Tokens: $0.00002
+Navigate to Azure OpenAI. The easiest way is to search at the top of the page.
+Click Create and then select Azure OpenAI
+In the Create Azure OpenAI window, you should be able to see your Azure Subscription and click Create new for resource group.
+Select:
+Click Next
+In the Network window, select:
+Click Next
+In the Review + Submit window, click Create
+There should be a message that Your deployment is complete. Then select Go to resource
+In your resource window, select Go to Foundry portal then click Create a project
+Give a Project name, select Region, confirm your Subscription, select Resource group, and click Create
+Select View Deployments or Manage Deployments. Then select Deploy a base model
+In the search bar, type a GPT model that you would like to deploy. Click on the selected model and then select Deploy
+In a similar way, in the search bar type an embedding model that you would like to deploy. Click on the selected model and then select Deploy
+