You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 00-course-setup/README.md
+14-13Lines changed: 14 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -34,11 +34,13 @@ Here's a step-by-step guide on how to create a `.env` file for Python and add th
34
34
2.**Create the `.env` File**: Use your preferred text editor to create a new file named `.env`. If you're using the command line, you can use `touch` (on Unix-based systems) or `echo` (on Windows):
35
35
36
36
Unix-based systems:
37
+
37
38
```bash
38
39
touch .env
39
40
```
40
41
41
42
Windows:
43
+
42
44
```cmd
43
45
echo . > .env
44
46
```
@@ -87,9 +89,9 @@ cd generative-ai-for-beginners
87
89
88
90
Once you have everything checked out, you can get started!
89
91
90
-
## Optional Steps
92
+
## Optional Steps
91
93
92
-
### Installing Miniconda
94
+
### Installing Miniconda
93
95
94
96
[Miniconda](https://conda.io/en/latest/miniconda.html?WT.mc_id=academic-105485-koreyst) is a lightweight installer for installing [Conda](https://docs.conda.io/en/latest?WT.mc_id=academic-105485-koreyst), Python, as well as a few packages.
95
97
Conda itself is a package manager, that makes it easy to setup and switch between different Python [**virtual environments**](https://docs.python.org/3/tutorial/venv.html?WT.mc_id=academic-105485-koreyst) and packages. It also comes in handy for installing packages that are not available via `pip`.
@@ -105,19 +107,18 @@ Go ahead and populate your environment file with the snippet below:
105
107
```yml
106
108
name: <environment-name>
107
109
channels:
108
-
- defaults
109
-
- microsoft
110
+
- defaults
111
+
- microsoft
110
112
dependencies:
111
-
- python=<python-version>
112
-
- openai
113
-
- python-dotenv
114
-
- pip
115
-
- pip:
116
-
- azure-ai-ml
117
-
113
+
- python=<python-version>
114
+
- openai
115
+
- python-dotenv
116
+
- pip
117
+
- pip:
118
+
- azure-ai-ml
118
119
```
119
120
120
-
If you find you getting errors using conda you can mannually install the Microsoft AI Libraries using the following command in a terminal.
121
+
If you find you getting errors using conda you can manually install the Microsoft AI Libraries using the following command in a terminal.
121
122
122
123
```
123
124
conda install -c microsoft azure-ai-ml
@@ -166,7 +167,7 @@ Once you access the URL, you should see the course outline and be able to naviga
166
167
167
168
### Running in a container
168
169
169
-
An alternative to setting everything up on your computer or Codespace is to use a [container](https://en.wikipedia.org/wiki/Containerization_(computing)?WT.mc_id=academic-105485-koreyst). The special `.devcontainer` folder within the course repository makes it possible for VS Code to set up the project within a container. Outside of Codespaces, this will require the installation of Docker, and quite frankly, it involves a bit of work, so we recommend this only to those with experience working with containers.
170
+
An alternative to setting everything up on your computer or Codespace is to use a [container](<https://en.wikipedia.org/wiki/Containerization_(computing)?WT.mc_id=academic-105485-koreyst>). The special `.devcontainer` folder within the course repository makes it possible for VS Code to set up the project within a container. Outside of Codespaces, this will require the installation of Docker, and quite frankly, it involves a bit of work, so we recommend this only to those with experience working with containers.
170
171
171
172
One of the best ways to keep your API keys secure when using GitHub Codespaces is by using Codespace Secrets. Please follow the [Codespaces secrets management](https://docs.github.com/en/codespaces/managing-your-codespaces/managing-secrets-for-your-codespaces?WT.mc_id=academic-105485-koreyst) guide to learn more about this.
Copy file name to clipboardExpand all lines: 06-text-generation-apps/README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -646,7 +646,7 @@ What does the concept temperature do?
646
646
647
647
## 🚀 Challenge
648
648
649
-
When working on the assignment, try to vary the temperature, tryset it to 0, 0.5, and1. Remember that 0is the least varied and1is the most, what value works best for your app?
649
+
When working on the assignment, try to vary the temperature, trysetting it to 0, 0.5, and1. Remember that 0is the least varied and1is the most. What value works best for your app?
0 commit comments