Azure OpenAI Service provides REST API access to OpenAI's powerful language models including the GPT-3, Codex and Embeddings model series. These models can be easily adapted to your specific task including but not limited to content generation, summarization, semantic search, and natural language to code translation. Users can access the service through REST APIs, Python SDK, or our web-based interface in the Azure OpenAI Studio.
In this workshop, you will learn how to leverage the Azure OpenAI service to create AI powered solutions. You will get hands-on experience with the latest AI technologies and will also learn how to interact with the Azure OpenAI APIs.
The following prerequisites must be completed before you start these labs
-
WI-FI enabled Laptop
-
You must be connected to the internet
-
Use either Edge or Chrome when executing the labs.
-
Access to an Azure Subscription with Owner or Contributor Access
-
Approved access to Azure OpenAI service in your Azure subscription. You can request access here
IMPORTANT:
- Only use your institutions/organization email. Do not use a personal email address (Example: @gmail.com, hotmail.com, etc.)
- Authorization can take up to 10 business days.
-
Azure Open AI already provisioned and text-davinci-003 model deployed. For this lab, we recommend South Central US region for your Azure Open AI deployment.
-
Required Resource Providers How to Register Azure Services
- Azure OpenAI
- Microsoft.Search
- Microssoft.Functions
- Microsoft.Authorization
- Microsoft.CognitiveServices
- Microsoft.ManagedIdentity
- Microsoft.KeyVault
- Microsoft.Storage
- Microsoft.Insights
- Microsoft.Application
- Microsoft.LogicApps
- Microsoft.BotService
-
VS Code installed on your computer.
Lab 1:
No additional pre-reqs
Lab 2:
-
Git
-
Python v3.7-v3.10
-
(Optional): Azure Developer CLI
Lab 3:
-
Microsoft.Search Resource provider needs to be registered in the Azure Subscription.
-
PostMan Client installed on your laptop.
-
Azure Cloud Shell (shell.azure.com)
-
.Net Core 3.1 or later
-
Install Node.js
Activity | Duration |
---|---|
Lab 1: Automate Mailbox Responses | 45 min |
Lab 2: Chat with your database | 45 min |
Lab 3: Chat with your documents | 60 min |
Retrieve your Azure OpenAI endpoint and keys and copy them to notepad for future reference as you will be using them throughout the labs.
- Instructor will run through an overview of solutions and steps
- Audience will then build the solution in their environment
- Power Users
- Software Engineers
- Data Scientists
- Solution Architects
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.