Skip to content

Commit 3f10f1c

Browse files
fix notebook
1 parent 107ec3a commit 3f10f1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/user_guide/08_semantic_router.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@
421421
"source": [
422422
"router2 = SemanticRouter.from_dict(router.to_dict(), redis_url=\"redis://localhost:6379\")\n",
423423
"\n",
424-
"assert router2 == router"
424+
"assert router2.to_dict() == router.to_dict()"
425425
]
426426
},
427427
{
@@ -449,7 +449,7 @@
449449
"source": [
450450
"router3 = SemanticRouter.from_yaml(\"router.yaml\", redis_url=\"redis://localhost:6379\")\n",
451451
"\n",
452-
"assert router3 == router2 == router"
452+
"assert router3.to_dict() == router2.to_dict() == router.to_dict()"
453453
]
454454
},
455455
{

0 commit comments

Comments
 (0)