Skip to content

Commit 6aacd0b

Browse files
authored
Merge pull request #565 from aurelio-labs/josh/fix-threshold
fix: threshold issue
2 parents e35a977 + 754b9e9 commit 6aacd0b

19 files changed

+171
-93
lines changed

docs/00-introduction.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
},
5454
"outputs": [],
5555
"source": [
56-
"!pip install -qU \"semantic-router==0.1.1\""
56+
"!pip install -qU \"semantic-router==0.1.2\""
5757
]
5858
},
5959
{

docs/01-save-load-from-file.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
},
4747
"outputs": [],
4848
"source": [
49-
"!pip install -qU \"semantic-router==0.1.1\""
49+
"!pip install -qU \"semantic-router==0.1.2\""
5050
]
5151
},
5252
{

docs/02-dynamic-routes.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
],
9696
"source": [
9797
"!pip install tzdata\n",
98-
"!pip install -qU \"semantic-router==0.1.1\""
98+
"!pip install -qU \"semantic-router==0.1.2\""
9999
]
100100
},
101101
{

docs/03-basic-langchain-agent.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"outputs": [],
5353
"source": [
5454
"!pip install -qU \\\n",
55-
" \"semantic-router==0.1.1\" \\\n",
55+
" \"semantic-router==0.1.2\" \\\n",
5656
" langchain==0.0.352 \\\n",
5757
" openai>=1.6.1"
5858
]

docs/06-threshold-optimization.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
},
3838
"outputs": [],
3939
"source": [
40-
"!pip install -qU \"semantic-router==0.1.1\""
40+
"!pip install -qU \"semantic-router==0.1.2\""
4141
]
4242
},
4343
{

docs/08-async-dynamic-routes.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
"outputs": [],
7979
"source": [
8080
"!pip install -qU \\\n",
81-
" \"semantic-router==0.1.1\" \\\n",
81+
" \"semantic-router==0.1.2\" \\\n",
8282
" tzdata"
8383
]
8484
},

docs/09-route-filter.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
},
5454
"outputs": [],
5555
"source": [
56-
"!pip install -qU \"semantic-router==0.1.1\""
56+
"!pip install -qU \"semantic-router==0.1.2\""
5757
]
5858
},
5959
{

docs/examples/hybrid-router.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,10 @@
171171
"from semantic_router.routers import HybridRouter\n",
172172
"\n",
173173
"router = HybridRouter(\n",
174-
" encoder=dense_encoder, \n",
175-
" sparse_encoder=sparse_encoder, \n",
174+
" encoder=dense_encoder,\n",
175+
" sparse_encoder=sparse_encoder,\n",
176176
" routes=routes,\n",
177-
" alpha=0.5 # Balance between dense (0) and sparse (1) embeddings\n",
177+
" alpha=0.5, # Balance between dense (0) and sparse (1) embeddings\n",
178178
")"
179179
]
180180
},

docs/indexes/local.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"metadata": {},
1414
"outputs": [],
1515
"source": [
16-
"!pip install -qU \"semantic-router==0.1.1\""
16+
"!pip install -qU \"semantic-router==0.1.2\""
1717
]
1818
},
1919
{

docs/indexes/pinecone-local.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"metadata": {},
5151
"outputs": [],
5252
"source": [
53-
"!pip install -qU \"semantic-router[pinecone]==0.1.1\""
53+
"!pip install -qU \"semantic-router[pinecone]==0.1.2\""
5454
]
5555
},
5656
{

0 commit comments

Comments
 (0)