Skip to content

Commit

Permalink
fix: cognee_demo notebook search
Browse files Browse the repository at this point in the history
  • Loading branch information
borisarzentar committed Nov 11, 2024
1 parent ed9036a commit fd6398d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions notebooks/cognee_demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@
},
{
"cell_type": "code",
"execution_count": 13,
"execution_count": null,
"id": "df16431d0f48b006",
"metadata": {
"ExecuteTime": {
Expand Down Expand Up @@ -304,7 +304,7 @@
},
{
"cell_type": "code",
"execution_count": 14,
"execution_count": null,
"id": "9086abf3af077ab4",
"metadata": {
"ExecuteTime": {
Expand Down Expand Up @@ -349,7 +349,7 @@
},
{
"cell_type": "code",
"execution_count": 15,
"execution_count": null,
"id": "a9de0cc07f798b7f",
"metadata": {
"ExecuteTime": {
Expand Down Expand Up @@ -393,7 +393,7 @@
},
{
"cell_type": "code",
"execution_count": 16,
"execution_count": null,
"id": "185ff1c102d06111",
"metadata": {
"ExecuteTime": {
Expand Down Expand Up @@ -437,7 +437,7 @@
},
{
"cell_type": "code",
"execution_count": 17,
"execution_count": null,
"id": "d55ce4c58f8efb67",
"metadata": {
"ExecuteTime": {
Expand Down Expand Up @@ -479,7 +479,7 @@
},
{
"cell_type": "code",
"execution_count": 18,
"execution_count": null,
"id": "ca4ecc32721ad332",
"metadata": {
"ExecuteTime": {
Expand Down Expand Up @@ -572,7 +572,7 @@
},
{
"cell_type": "code",
"execution_count": 26,
"execution_count": null,
"id": "9f1a1dbd",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -789,7 +789,7 @@
"from cognee.api.v1.search import SearchType\n",
"\n",
"node = (await vector_engine.search(\"Entity_name\", \"[email protected]\"))[0]\n",
"node_name = node.payload[\"name\"]\n",
"node_name = node.payload[\"text\"]\n",
"\n",
"search_results = await cognee.search(SearchType.SUMMARIES, query = node_name)\n",
"print(\"\\n\\Extracted summaries are:\\n\")\n",
Expand Down Expand Up @@ -881,7 +881,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.6"
"version": "3.11.8"
}
},
"nbformat": 4,
Expand Down

0 comments on commit fd6398d

Please sign in to comment.