Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions samples/langchain_quick_start.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@
" print(\"Found an existing Memorystore for Redis Instance!\")\n",
"else:\n",
" print(\"Creating a new Memorystore for Redis instance...\")\n",
" !gcloud beta redis instances create --region {region} {instance_name} --size {instance_size_gb} --zone {zone} --tier BASIC --redis-version=redis_7_2"
" !gcloud beta redis instances create --region {region} {instance_name} --size {instance_size_gb} --tier BASIC --redis-version=redis_7_2"
]
},
{
Expand Down Expand Up @@ -340,7 +340,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"To connect to your Redis instance, you'll need to establish an SSH tunnel using port forwarding through your Google Compute Engine (GCE) VM."
"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:"
]
},
{
Expand All @@ -350,7 +350,7 @@
"outputs": [],
"source": [
"redis_ip = !gcloud beta redis instances describe {instance_name} --region {region} --format=\"value(host)\"\n",
"!gcloud compute ssh --project={project_id} --zone={region}-a {vm_name} -- -NL 6379:{redis_ip}:6379"
"!gcloud compute ssh --project={project_id} --zone={zone} {vm_name} -- -NL 6379:{redis_ip}:6379"
]
},
{
Expand Down