From 47a5b83ac660428419c798ed93de6d8ee1142fe0 Mon Sep 17 00:00:00 2001
From: Stephen Witkowski <stephen.witkowski@66degrees.com>
Date: Mon, 1 Apr 2024 09:29:35 -0400
Subject: [PATCH] Updating colab link in google.ipynb

---
 docs/encoders/google.ipynb | 109 +++++--------------------------------
 1 file changed, 13 insertions(+), 96 deletions(-)

diff --git a/docs/encoders/google.ipynb b/docs/encoders/google.ipynb
index 0dad529c..f596eff7 100644
--- a/docs/encoders/google.ipynb
+++ b/docs/encoders/google.ipynb
@@ -4,7 +4,7 @@
    "cell_type": "markdown",
    "metadata": {},
    "source": [
-    "[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/aurelio-labs/semantic-router/blob/main/docs/encoders/huggingface.ipynb) [![Open nbviewer](https://raw.githubusercontent.com/pinecone-io/examples/master/assets/nbviewer-shield.svg)](https://nbviewer.org/github/aurelio-labs/semantic-router/blob/main/docs/encoders/huggingface.ipynb)"
+    "[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/aurelio-labs/semantic-router/blob/main/docs/encoders/google.ipynb) [![Open nbviewer](https://raw.githubusercontent.com/pinecone-io/examples/master/assets/nbviewer-shield.svg)](https://nbviewer.org/github/aurelio-labs/semantic-router/blob/main/docs/encoders/google.ipynb)"
    ]
   },
   {
@@ -53,18 +53,9 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 1,
+   "execution_count": null,
    "metadata": {},
-   "outputs": [
-    {
-     "name": "stderr",
-     "output_type": "stream",
-     "text": [
-      "/Users/Stephen.Witkowski/miniforge3/envs/semantic-router/lib/python3.11/site-packages/tqdm/auto.py:21: TqdmWarning: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html\n",
-      "  from .autonotebook import tqdm as notebook_tqdm\n"
-     ]
-    }
-   ],
+   "outputs": [],
    "source": [
     "from semantic_router import Route\n",
     "\n",
@@ -90,7 +81,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 2,
+   "execution_count": null,
    "metadata": {},
    "outputs": [],
    "source": [
@@ -117,7 +108,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 8,
+   "execution_count": null,
    "metadata": {},
    "outputs": [],
    "source": [
@@ -138,17 +129,9 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 4,
+   "execution_count": null,
    "metadata": {},
-   "outputs": [
-    {
-     "name": "stderr",
-     "output_type": "stream",
-     "text": [
-      "\u001b[32m2024-04-01 09:25:34 INFO semantic_router.utils.logger local\u001b[0m\n"
-     ]
-    }
-   ],
+   "outputs": [],
    "source": [
     "from semantic_router.layer import RouteLayer\n",
     "\n",
@@ -164,62 +147,18 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 5,
+   "execution_count": null,
    "metadata": {},
-   "outputs": [
-    {
-     "name": "stdout",
-     "output_type": "stream",
-     "text": [
-      "chitchat 0.6414884458605304\n",
-      "politics 0.7184715572295559\n",
-      "politics 0.7439275034824486\n",
-      "politics 0.7782497192765216\n",
-      "politics 0.896539779971592\n"
-     ]
-    },
-    {
-     "data": {
-      "text/plain": [
-       "RouteChoice(name='politics', function_call=None, similarity_score=None)"
-      ]
-     },
-     "execution_count": 5,
-     "metadata": {},
-     "output_type": "execute_result"
-    }
-   ],
+   "outputs": [],
    "source": [
     "rl(\"don't you love politics?\")"
    ]
   },
   {
    "cell_type": "code",
-   "execution_count": 6,
+   "execution_count": null,
    "metadata": {},
-   "outputs": [
-    {
-     "name": "stdout",
-     "output_type": "stream",
-     "text": [
-      "politics 0.6707593528326423\n",
-      "chitchat 0.7714977687548606\n",
-      "chitchat 0.8433716231360381\n",
-      "chitchat 0.8563028552685018\n",
-      "chitchat 1.0000000000000004\n"
-     ]
-    },
-    {
-     "data": {
-      "text/plain": [
-       "RouteChoice(name='chitchat', function_call=None, similarity_score=None)"
-      ]
-     },
-     "execution_count": 6,
-     "metadata": {},
-     "output_type": "execute_result"
-    }
-   ],
+   "outputs": [],
    "source": [
     "rl(\"how's the weather today?\")"
    ]
@@ -233,31 +172,9 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 7,
+   "execution_count": null,
    "metadata": {},
-   "outputs": [
-    {
-     "name": "stdout",
-     "output_type": "stream",
-     "text": [
-      "politics 0.5136569490418237\n",
-      "politics 0.5147603969017434\n",
-      "politics 0.5481785565189041\n",
-      "chitchat 0.5495495505326361\n",
-      "chitchat 0.5587930037610617\n"
-     ]
-    },
-    {
-     "data": {
-      "text/plain": [
-       "RouteChoice(name=None, function_call=None, similarity_score=None)"
-      ]
-     },
-     "execution_count": 7,
-     "metadata": {},
-     "output_type": "execute_result"
-    }
-   ],
+   "outputs": [],
    "source": [
     "rl(\"I'm interested in learning about llama 2\")"
    ]
-- 
GitLab