Lab Environment Setup
Setting up your machine to use Open AI
Your Machine
- Windows OS
- MS Edge
- .NET Core SDK https://dotnet.microsoft.com/download (download .NET Core SDK)
- C++ Redistributable from https://aka.ms/vs/16/release/vc_redist.x64.exe. -Node.JS Download the latest LTS version from https://nodejs.org/en/download/ Install using the default options
- Python 3.8 https://docs.conda.io/en/latest/miniconda.html Important: Select the options to add Miniconda to the PATH variable and to register Miniconda as the default Python environment.
- Open the Anaconda prompt and enter the following commands to install packages: code
pip install flask requests python-dotenv pylint matplotlib pillow
pip install --upgrade numpy
- Azure CLI https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest
- Git Download and install from https://git-scm.com/download.html, using the default options
- Visual Studio Code https://code.visualstudio.com/Download
VS Code Extensions
- Python
- C#
- Azure Functions
- PowerShell
- 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.
- Bot Framework Composer Install from https://docs.microsoft.com/en-us/composer/install-composer.
Azure Setup
- Sign into https://portal.azure.com
- Subscriptions
- Select your subscription
- Resource Providers
- 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
- Open this in VS Code