The sample code in this repository is for use in hands-on exercises in Microsoft Learn modules.
The exercises are designed to be completed in Visual Studio Online. To complete the labs, you'll need the following:
- A Microsoft Azure subscription. If you don't already have one, you can sign up for a free trial at https://azure.microsoft.com.
- A Visual Studio Online environment. This provides a hosted instance of Visual Studio Code, in which you'll be able to run the notebooks for the lab exercises. To set up this environment:
- Browse to https://online.visualstudio.com
- Click Get Started.
- Sign in using the Microsoft account associated with your Azure subscription.
- Click Create environment. If you don't already have a Visual Studio Online plan, create one. This is used to track resource utilization by your Visual Studio Online environments. Then create an environment with the following settings:
- Environment Name: A name for your environment - for example, ai-environment.
- Git Repository: MicrosoftDocs/ai-fundamentals
- Instance Type: Standard (Linux) 4 cores, 8GB RAM
- Suspend idle environment after: 120 minutes
- Wait for the environment to be created. This will open a browser-based instance of Visual Studio Code.
- Wait for a minute or so while the environment is set up for you. It might look like nothing is happening, but in the background we are installing some extensions that you will use in the labs. You'll see the following things happen:
- The files in this repo will appear in the pane on the left.
- After a few minutes (during which there's no apparent activity, but in the background we're setting up the environment for you), a new file named REFRESH NOW will appear in the pane on the left. This is your indication that everything has been installed.
- After the REFRESH NOW file has appeared and the color scheme has changed, refresh the web page to ensure all of the extensions are loaded and you're ready to start.
- Note the .ipynb files in the Explorer pane - these contain the lab exercises.
Tip: you can change the color scheme in Visual Studio Online if you prefer - just click the ⚙ icon at the bottom left and select a new Color Theme.
At this time, we are not accepting contributions to this repository. If you encounter an issue with the exercises, please report it.