Skip to content

Commit 844d217

Browse files
committed
added skill level
1 parent 45a42aa commit 844d217

File tree

3 files changed

+15
-7
lines changed

3 files changed

+15
-7
lines changed

notebooks/GenAI/azure_infra_setup/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Setting Up Azure Environment for Azure GenAI Cloud Lab
22

3+
**Skill Level: Beginner**
4+
35
This guide will help you set up your Azure environment to complete the activities in the [GenAI](../) directory of the NIH Cloud Lab.
46
The purpose of this guide is to walk you through an automated deployment of the resources needed to carry out these activities.
57
This automated approach utilizes a pre-built [ARM template](arm_resources.json) file, which serves as an alternative approach

notebooks/GenAI/embedding_demos/readme.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Azure OpenAI Demo w/ Streamlit Frontend
22

3+
**Skill Level: Intermediate**
4+
35
The Azure OpenAI Demo w/ Streamlit Frontend is designed to host various demonstrations that showcase the capabilities of Azure OpenAI with a Streamlit frontend. Demonstrations include utilizing Azure OpenAI to create/chat over data indexes in Azure AI Search, and utilizing Azure OpenAI SDK to generate embeddings for text and query those embeddings. For documentation on building Streamlit apps, please search links below:
46
- [Streamlit Documentation](https://docs.streamlit.io/get-started)
57
- [Geeksforgeeks](https://www.geeksforgeeks.org/a-beginners-guide-to-streamlit/)
@@ -119,12 +121,12 @@ Streamlit's native behavior expects to run applications locally on port 8501, wh
119121
4. In the text editor add the following variables:
120122
```bash
121123
AZURE_OPENAI_VERSION = "Your Azure OpenAI API version"
122-
AZURE_OPENAI_BASE = "Your Azure OpenAI API endpoint"
123-
AZURE_OPENAI_KEY = "Your Azure OpenAI API key"
124+
AZURE_OPENAI_ENDPOINT = "Your Azure OpenAI API endpoint"
125+
AZURE_OPENAI_API_KEY = "Your Azure OpenAI API key"
124126
AZURE_GPT_DEPLOYMENT = "Your Azure OpenAI deployed GPT model name"
125127
AZURE_EMBEDDINGS_DEPLOYMENT = "Your Azure OpenAI deployed ADA model name"
126-
AZURE_SEARCH_ENDPOINT = "Your Azure AI Search API endpoint"
127-
AZURE_SEARCH_ADMIN_KEY = "Your Azure AI Search API key"
128+
AZURE_SEARCH_SERVICE_ENDPOINT = "Your Azure AI Search API endpoint"
129+
AZURE_SEARCH_API_KEY = "Your Azure AI Search API key"
128130
AZURE_SEARCH_INDEX = "documents-index" # The index name 'documents-index' is used as default in this demo
129131
BLOB_CONTAINER_NAME = "Your Azure Blob Container name hosting files from /search_documents"
130132
BLOB_CONNECTION_STRING = "Your Azure Blob connection string"

notebooks/GenAI/notebooks/AISearch_RAG_chatbot.ipynb

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@
66
"source": [
77
"# Document Embedding and Indexing with Azure OpenAI and AI Search\n",
88
"\n",
9+
"**Skill Level: Beginner**\n",
10+
"\n",
911
"## Overview \n",
1012
"This tutorial provides a step-by-step guide on how to pull files from [Azure Blob Storage](https://learn.microsoft.com/en-us/azure/storage/blobs/storage-blobs-introduction), generate embeddings for these files, and store the embeddings in an [Azure AI Search](https://learn.microsoft.com/en-us/azure/search/search-what-is-azure-search) index. Embeddings are numerical representations of text that capture the semantic meaning of the content, facilitating advanced search and analysis. An index in AI search is a data structure that organizes these embeddings to improve the speed and efficiency of search queries. Additionally, this tutorial demonstrates how to enable users to interact with these embedding indexes through Azure AI Search and [Azure OpenAI](https://learn.microsoft.com/en-us/azure/ai-services/openai/overview), effectively allowing them to chat over the original files from Azure Blob Storage.\n",
11-
"### Learning Objectives \n",
13+
"## Learning Objectives \n",
1214
"1. **Vectorization**:\n",
1315
" - Learn how to extract files from Azure Blob Storage.\n",
1416
" - Understand how to generate embeddings using Azure OpenAI.\n",
@@ -17,8 +19,10 @@
1719
" - Gain skills in interacting with Azure AI Search indexes using Azure OpenAI.\n",
1820
"\n",
1921
"Each section of this notebook will guide you through specific tasks and demonstrate how to utilize the REST APIs provided by each Azure service. By the end of this notebook, you will have a comprehensive understanding of how to integrate and utilize these Azure services to develop a robust data processing and retrieval application. \n",
20-
"### Prerequisites \n",
21-
"Before proceeding with this notebook, please ensure that you have the following Azure services deployed and configured. Resources can be deployed manually in Azure portal or automated by following along with the [ARM Deployment tutorial](../azure_infra_setup/README.md): \n",
22+
"## Prerequisites \n",
23+
"Before proceeding with this notebook, please ensure that you have the following Azure services deployed and configured. Resources can be deployed manually in Azure portal or automated by following along with the [ARM Deployment tutorial](../azure_infra_setup/README.md).\n",
24+
"\n",
25+
"## Pricing\n",
2226
" \n",
2327
"1. **Azure OpenAI Service**: \n",
2428
" - Ensure that you have deployed both a GPT model and an Ada model within your Azure OpenAI instance.\n",

0 commit comments

Comments
 (0)