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
If you are doing this lab as part of a MongoDB GenAI Developer Day, at this point you should already have a free cluster, so you can skip this step.
5
+
:::
6
+
7
+
In this lab, you will learn how to use MongoDB Atlas as a knowledge base as well as a memory provider for a RAG-based documentation chatbot.
8
+
9
+
To use MongoDB Atlas, you will need to create an account, a free cluster and obtain the connection string to connect to your cluster. Follow these steps to get set up:
10
+
11
+
*[Register for a free MongoDB Atlas account](https://mongodb-developer.github.io/intro-lab/docs/mongodb-atlas/create-account)
12
+
13
+
*[Create a new database cluster](https://mongodb-developer.github.io/intro-lab/docs/mongodb-atlas/create-cluster)
14
+
15
+
*[Obtain the connection string for your database cluster](https://mongodb-developer.github.io/intro-lab/docs/importing-data/get-connection-string)
Copy file name to clipboardExpand all lines: docs/30-dev-env/2-dev-setup.mdx
+14-10Lines changed: 14 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -2,29 +2,33 @@ import Screenshot from "@site/src/components/Screenshot";
2
2
3
3
# 👐 Setup dev environment
4
4
5
+
:::caution
6
+
If you are doing this lab as part of a MongoDB GenAI Developer Day, at this point you should already have the GitHub Codespace ready for this lab, so you can skip this step.
7
+
:::
8
+
5
9
## Option 1: GitHub Codespaces
6
10
7
11
You will be working in a Jupyter Notebook in a GitHub Codespace throughout this lab. A codespace is a cloud-hosted, containerized development environment that comes pre-configured with all the tools you need to run this lab.
8
12
9
-
Navigate to [this](https://github.com/codespaces/new/mongodb-developer/ai-rag-lab-notebooks?quickstart=1) link. You will be prompted to sign into GitHub if you haven't already. Once signed in, click the **Create new codespace** button to create a new codespace.
13
+
Navigate to [this](https://github.com/codespaces/new/mongodb-developer/genai-devday-notebooks?quickstart=1) link. You will be prompted to sign into GitHub if you haven't already. Once signed in, click the **Create new codespace** button to create a new codespace.
10
14
11
15
<Screenshoturl="https://github.com/codespaces"src="img/screenshots/30-dev-env/2-dev-setup/1-create-codespace.png"alt="Start a codespace" />
12
16
13
-
Let it run for a few seconds as it prepares your environment. It will clone the repository, prepare the container, and run the installation scripts.
17
+
Let it run for a few seconds as it prepares your environment. It will clone the repository, prepare the container, and run the installation scripts. Once the environment is built, you should see a list of files appear under the Explorer.
14
18
15
-
In the left navigation bar of the IDE, click on the file named `notebook_template.ipynb` to open the Jupyter Notebook for the lab.
19
+
In the left navigation bar of the IDE, click on the file named `ai-rag-lab.ipynb` to open the Jupyter Notebook for this lab.
16
20
17
21
<Screenshoturl="https://github.com/codespaces"src="img/screenshots/30-dev-env/2-dev-setup/2-nav-notebook.png"alt="Navigate to the notebook" />
18
22
19
23
Next, select the Python interpreter by clicking **Select Kernel** at the top right of the IDE.
@@ -36,16 +40,16 @@ During the lab, we will use GitHub Codespaces. These instructions are here just
36
40
37
41
If you want to run the notebook locally, follow the steps below:
38
42
39
-
* Clone the [GitHub repo](https://github.com/mongodb-developer/ai-rag-lab-notebooks.git) for this lab by executing the following command from the terminal:
43
+
* Clone the [GitHub repo](https://github.com/mongodb-developer/genai-devday-notebooks.git) for this lab by executing the following command from the terminal:
0 commit comments