chore: update starter tutorial to properly use sdk search output

This commit is contained in:
Daulet Amirkhanov 2025-09-19 17:37:13 +01:00
parent 8f008a5899
commit 925615b1ce

View file

@ -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)"
]
},
{