Skip to content

Commit 05d0093

Browse files
author
ajosh0504
committed
Tracking cluster creation
1 parent cbc1aa4 commit 05d0093

File tree

3 files changed

+42
-9
lines changed

3 files changed

+42
-9
lines changed

notebooks/ai-agents-lab.ipynb

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
"outputs": [],
2424
"source": [
2525
"import os\n",
26-
"from pymongo import MongoClient"
26+
"from pymongo import MongoClient\n",
27+
"from utils import track_progress"
2728
]
2829
},
2930
{
@@ -40,6 +41,16 @@
4041
"mongodb_client.admin.command(\"ping\")"
4142
]
4243
},
44+
{
45+
"cell_type": "code",
46+
"execution_count": null,
47+
"metadata": {},
48+
"outputs": [],
49+
"source": [
50+
"# Track progress of key steps-- DO NOT CHANGE\n",
51+
"track_progress(\"cluster_creation\", \"ai_agents_lab\")"
52+
]
53+
},
4354
{
4455
"cell_type": "markdown",
4556
"metadata": {},
@@ -164,7 +175,7 @@
164175
"metadata": {},
165176
"outputs": [],
166177
"source": [
167-
"from utils import create_index, check_index_ready, track_progress"
178+
"from utils import create_index, check_index_ready"
168179
]
169180
},
170181
{
@@ -227,7 +238,7 @@
227238
"outputs": [],
228239
"source": [
229240
"# Track progress of key steps-- DO NOT CHANGE\n",
230-
"track_progress(\"vs_index_creation\", DB_NAME)"
241+
"track_progress(\"vs_index_creation\", \"ai_agents_lab\")"
231242
]
232243
},
233244
{

notebooks/ai-rag-lab.ipynb

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"outputs": [],
2222
"source": [
2323
"import os\n",
24-
"from pymongo import MongoClient"
24+
"from pymongo import MongoClient\n",
25+
"from utils import track_progress"
2526
]
2627
},
2728
{
@@ -38,6 +39,16 @@
3839
"mongodb_client.admin.command(\"ping\")"
3940
]
4041
},
42+
{
43+
"cell_type": "code",
44+
"execution_count": null,
45+
"metadata": {},
46+
"outputs": [],
47+
"source": [
48+
"# Track progress of key steps-- DO NOT CHANGE\n",
49+
"track_progress(\"cluster_creation\", \"ai_rag_lab\")"
50+
]
51+
},
4152
{
4253
"cell_type": "code",
4354
"execution_count": null,
@@ -379,7 +390,7 @@
379390
"metadata": {},
380391
"outputs": [],
381392
"source": [
382-
"from utils import create_index, check_index_ready, track_progress"
393+
"from utils import create_index, check_index_ready"
383394
]
384395
},
385396
{
@@ -442,7 +453,7 @@
442453
"outputs": [],
443454
"source": [
444455
"# Track progress of key steps-- DO NOT CHANGE\n",
445-
"track_progress(\"vs_index_creation\", DB_NAME)"
456+
"track_progress(\"vs_index_creation\", \"ai_rag_lab\")"
446457
]
447458
},
448459
{

notebooks/vector-search-lab.ipynb

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"outputs": [],
2222
"source": [
2323
"import os\n",
24-
"from pymongo import MongoClient"
24+
"from pymongo import MongoClient\n",
25+
"from utils import track_progress"
2526
]
2627
},
2728
{
@@ -38,6 +39,16 @@
3839
"mongodb_client.admin.command(\"ping\")"
3940
]
4041
},
42+
{
43+
"cell_type": "code",
44+
"execution_count": null,
45+
"metadata": {},
46+
"outputs": [],
47+
"source": [
48+
"# Track progress of key steps-- DO NOT CHANGE\n",
49+
"track_progress(\"cluster_creation\", \"ai_vs_lab\")"
50+
]
51+
},
4152
{
4253
"cell_type": "markdown",
4354
"metadata": {},
@@ -306,7 +317,7 @@
306317
"metadata": {},
307318
"outputs": [],
308319
"source": [
309-
"from utils import create_index, check_index_ready, track_progress"
320+
"from utils import create_index, check_index_ready"
310321
]
311322
},
312323
{
@@ -369,7 +380,7 @@
369380
"outputs": [],
370381
"source": [
371382
"# Track progress of key steps-- DO NOT CHANGE\n",
372-
"track_progress(\"vs_index_creation\", DB_NAME)"
383+
"track_progress(\"vs_index_creation\", \"ai_vs_lab\")"
373384
]
374385
},
375386
{

0 commit comments

Comments
 (0)