Skip to content

Commit

Permalink
Merge branch 'main' into register-workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
natoverse authored Feb 13, 2025
2 parents a852f1a + b8b949f commit b4c70b7
Show file tree
Hide file tree
Showing 14 changed files with 130 additions and 343 deletions.
4 changes: 4 additions & 0 deletions .semversioner/next-release/patch-20250210204532206223.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"type": "patch",
"description": "cleanup query code duplication."
}
4 changes: 2 additions & 2 deletions docs/examples_notebooks/drift_search.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -388,7 +388,7 @@
}
],
"source": [
"resp = await search.asearch(\"Who is agent Mercer?\")"
"resp = await search.search(\"Who is agent Mercer?\")"
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions docs/examples_notebooks/global_search.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@
},
{
"cell_type": "code",
"execution_count": 12,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -420,7 +420,7 @@
}
],
"source": [
"result = await search_engine.asearch(\n",
"result = await search_engine.search(\n",
" \"What is Cosmic Vocalization and who are involved in it?\"\n",
")\n",
"\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand All @@ -420,7 +420,7 @@
}
],
"source": [
"result = await search_engine.asearch(\n",
"result = await search_engine.search(\n",
" \"What is Cosmic Vocalization and who are involved in it?\"\n",
")\n",
"\n",
Expand Down
8 changes: 4 additions & 4 deletions docs/examples_notebooks/local_search.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -963,7 +963,7 @@
},
{
"cell_type": "code",
"execution_count": 13,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -991,13 +991,13 @@
}
],
"source": [
"result = await search_engine.asearch(\"Tell me about Agent Mercer\")\n",
"result = await search_engine.search(\"Tell me about Agent Mercer\")\n",
"print(result.response)"
]
},
{
"cell_type": "code",
"execution_count": 14,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -1026,7 +1026,7 @@
],
"source": [
"question = \"Tell me about Dr. Jordan Hayes\"\n",
"result = await search_engine.asearch(question)\n",
"result = await search_engine.search(question)\n",
"print(result.response)"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@
"metadata": {},
"outputs": [],
"source": [
"result = await search_engine.asearch(\"Tell me about Agent Mercer\")\n",
"result = await search_engine.search(\"Tell me about Agent Mercer\")\n",
"print(result.response)"
]
},
Expand All @@ -395,7 +395,7 @@
"outputs": [],
"source": [
"question = \"Tell me about Dr. Jordan Hayes\"\n",
"result = await search_engine.asearch(question)\n",
"result = await search_engine.search(question)\n",
"print(result.response)"
]
},
Expand Down
Loading

0 comments on commit b4c70b7

Please sign in to comment.