From 925615b1ceb9de39a6fd2be9df52c6f6c63c0b4b Mon Sep 17 00:00:00 2001 From: Daulet Amirkhanov Date: Fri, 19 Sep 2025 17:37:13 +0100 Subject: [PATCH] chore: update starter tutorial to properly use sdk search output --- notebooks/tutorial_stripped.ipynb | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/notebooks/tutorial_stripped.ipynb b/notebooks/tutorial_stripped.ipynb index 7fe96d3d2..dd9aff765 100644 --- a/notebooks/tutorial_stripped.ipynb +++ b/notebooks/tutorial_stripped.ipynb @@ -226,13 +226,23 @@ } ], "source": [ - "result = await cognee.add(\n", + "await cognee.add(\n", " \"file://data/guido_contributions.json\",\n", " node_set=[\"guido_data\"]\n", ")\n", - "await cognee.cognify(temporal_cognify=True)\n", + "await cognee.cognify(temporal_cognify=True)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "e5dde604", + "metadata": {}, + "outputs": [], + "source": [ + "# Now that we've added data, let's search\n", "results = await cognee.search(\"Show me commits\")\n", - "print(results[0])" + "print(results)" ] }, {