Skip to content

Commit 84e0ce7

Browse files
author
ajosh0504
committed
Updating screenshots
1 parent db21e4e commit 84e0ce7

14 files changed

+16
-24
lines changed

docs/20-dev-env/1-dev-env-setup.mdx

Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -32,45 +32,37 @@ Let it run for a few seconds as it prepares a Docker container with all the requ
3232

3333
Once the environment is built, you will be prompted to connect to the MongoDB cluster via MongoDB's VSCode extension. This will allow you to visualize the data that we will import into the cluster later in the lab, directly from the VSCode IDE.
3434

35-
To connect to the cluster, click the **Connect** button.
35+
To connect to the cluster, click the leaf icon in the left navigation bar of the IDE.
3636

37-
<Screenshot url="https://github.com/codespaces" src="img/screenshots/20-dev-env/1-dev-env-setup/4-click-connect.png" alt="Click Connect" />
37+
<Screenshot url="https://github.com/codespaces" src="img/screenshots/20-dev-env/1-dev-env-setup/4-click-leaf.png" alt="Click leaf icon" />
3838

39-
In the modal that appears at the top of the screen, copy and paste the following string, and hit **Enter** on your keyboard:
39+
Under **Connections**, click the _mongodb:27017_ connection. This should automatically establish a connection to the local MongoDB cluster running on port 27017.
4040

41-
<div>
42-
```
43-
mongodb://admin:mongodb@mongodb:27017/
44-
```
45-
</div>
41+
<Screenshot url="https://github.com/codespaces" src="img/screenshots/20-dev-env/1-dev-env-setup/5-connect-cluster.png" alt="Connect to the cluster" />
4642

47-
<Screenshot url="https://github.com/codespaces" src="img/screenshots/20-dev-env/1-dev-env-setup/5-enter-connection-string.png" alt="Enter connection string" />
43+
If the connection was successful, you should see the message **Connected to: mongodb:27017** with a green indicator.
4844

49-
If the connection was successful, you should see **Connected to: mongodb:27017** with a green indicator.
45+
You will also see the default databases in the cluster appear under **Connections**. Any additional databases we create during the lab will also appear here.
5046

5147
<Screenshot url="https://github.com/codespaces" src="img/screenshots/20-dev-env/1-dev-env-setup/6-connection-successful.png" alt="Connection successful" />
5248

53-
You can view the default and any additional collections we create on the cluster during the lab by clicking the leaf icon in the left navigation bar of the IDE.
54-
55-
<Screenshot url="https://github.com/codespaces" src="img/screenshots/20-dev-env/1-dev-env-setup/7-view-collections.png" alt="View collections" />
56-
5749
### Jupyter Notebook setup
5850

5951
You will be filling code in a Jupyter Notebook during this lab, so let's get set up with that next!
6052

6153
Within the codespace, click on the files icon in the left navigation bar of the IDE. In the Explorer menu, under `notebooks`, click on the file named `ai-rag-lab.ipynb` to open the Jupyter Notebook for this lab.
6254

63-
<Screenshot url="https://github.com/codespaces" src="img/screenshots/20-dev-env/1-dev-env-setup/8-nav-notebook.png" alt="Navigate to the notebook" />
55+
<Screenshot url="https://github.com/codespaces" src="img/screenshots/20-dev-env/1-dev-env-setup/7-nav-notebook.png" alt="Navigate to the notebook" />
6456

6557
Next, select the Python interpreter by clicking **Select Kernel** at the top right of the IDE.
6658

67-
<Screenshot url="https://github.com/codespaces" src="img/screenshots/20-dev-env/1-dev-env-setup/9-select-kernel.png" alt="Select kernel" />
59+
<Screenshot url="https://github.com/codespaces" src="img/screenshots/20-dev-env/1-dev-env-setup/8-select-kernel.png" alt="Select kernel" />
6860

6961
In the modal that appears, click **Python environments...** and select the interpreter that is marked as **Recommended** or **Global Env**.
7062

71-
<Screenshot url="https://github.com/codespaces" src="img/screenshots/20-dev-env/1-dev-env-setup/10-python-env-modal.png" alt="Select Python Environments" />
63+
<Screenshot url="https://github.com/codespaces" src="img/screenshots/20-dev-env/1-dev-env-setup/9-python-env-modal.png" alt="Select Python Environments" />
7264

73-
<Screenshot url="https://github.com/codespaces" src="img/screenshots/20-dev-env/1-dev-env-setup/11-select-recommended.png" alt="Select recommended interpreter" />
65+
<Screenshot url="https://github.com/codespaces" src="img/screenshots/20-dev-env/1-dev-env-setup/10-select-recommended.png" alt="Select recommended interpreter" />
7466

7567
That's it! You're ready for the lab!
7668

@@ -116,4 +108,4 @@ jupyter notebook
116108

117109
* In the browser tab that pops up, open the file named `ai-rag-lab.ipynb`.
118110

119-
<Screenshot url="localhost:8888/tree" src="img/screenshots/20-dev-env/1-dev-env-setup/12-jupyter-notebook.png" alt="Jupyter Notebook" />
111+
<Screenshot url="localhost:8888/tree" src="img/screenshots/20-dev-env/1-dev-env-setup/11-jupyter-notebook.png" alt="Jupyter Notebook" />

docs/30-prepare-the-data/1-download-data.mdx

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# 👐 Load the dataset
2+
3+
First, let's download the dataset for the lab. We'll use a subset of MongoDB's technical documentation as the source data for the documentation chatbot.
4+
5+
Run all the cells under the **Step 2: Load the dataset** section in the notebook to load the dataset from a local file.
Binary file not shown.
Loading
Loading
Binary file not shown.
Loading
Binary file not shown.

0 commit comments

Comments
 (0)