Skip to main content

Lab Environment Setup

Setting up your machine to use Open AI

Your Machine

pip install flask requests python-dotenv pylint matplotlib pillow
pip install --upgrade numpy

VS Code Extensions

  1. Python
  2. C#
  3. Azure Functions
  4. PowerShell
  5. Bot Framework Emulator Follow the instructions at https://github.com/Microsoft/BotFramework-Emulator/blob/master/README.md to download and install the latest stable version of the Bot Framework Emulator for your operating system.

Azure Setup


  1. Sign into https://portal.azure.com
  2. Subscriptions
  3. Select your subscription
  4. Resource Providers
  5. Ensure these are registered:
  • Microsoft.BotService
  • Microsoft.Web
  • Microsoft.ManagedIdentity
  • Microsoft.Search
  • Microsoft.Storage
  • Microsoft.CognitiveServices
  • Microsoft.AlertsManagement
  • microsoft.insights
  • Microsoft.KeyVault
  • Microsoft.ContainerInstance

Git Repos


Run this to clone down the git repos into a folder of your choice. I typically do c:\coding\openai\ and then clone them there.

git clone https://github.com/MicrosoftLearning/mslearn-ai-vision
git clone https://github.com/MicrosoftLearning/mslearn-ai-language
git clone https://github.com/MicrosoftLearning/mslearn-ai-document-intelligence
git clone https://github.com/MicrosoftLearning/mslearn-knowledge-mining
git clone https://github.com/MicrosoftLearning/mslearn-openai

  1. Open this in VS Code
    image.png