Skip to content

Commit a71c859

Browse files
authored
fix(demo): fixed typos and added clarifications (#50)
1 parent 1886727 commit a71c859

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

samples/langchain_quick_start.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@
289289
" print(\"Found an existing Memorystore for Redis Instance!\")\n",
290290
"else:\n",
291291
" print(\"Creating a new Memorystore for Redis instance...\")\n",
292-
" !gcloud beta redis instances create --region {region} {instance_name} --size {instance_size_gb} --zone {zone} --tier BASIC --redis-version=redis_7_2"
292+
" !gcloud beta redis instances create --region {region} {instance_name} --size {instance_size_gb} --tier BASIC --redis-version=redis_7_2"
293293
]
294294
},
295295
{
@@ -340,7 +340,7 @@
340340
"cell_type": "markdown",
341341
"metadata": {},
342342
"source": [
343-
"To connect to your Redis instance, you'll need to establish an SSH tunnel using port forwarding through your Google Compute Engine (GCE) VM."
343+
"To connect to your Redis instance, you'll need to establish an SSH tunnel using port forwarding through your Google Compute Engine (GCE) VM. Use the following command in your terminal window:"
344344
]
345345
},
346346
{
@@ -350,7 +350,7 @@
350350
"outputs": [],
351351
"source": [
352352
"redis_ip = !gcloud beta redis instances describe {instance_name} --region {region} --format=\"value(host)\"\n",
353-
"!gcloud compute ssh --project={project_id} --zone={region}-a {vm_name} -- -NL 6379:{redis_ip}:6379"
353+
"!gcloud compute ssh --project={project_id} --zone={zone} {vm_name} -- -NL 6379:{redis_ip}:6379"
354354
]
355355
},
356356
{

0 commit comments

Comments
 (0)