cognee/cognee/modules/notebooks/tutorials/cognee-basics/cell-6.py
2025-12-18 22:52:09 +01:00

9 lines
244 B
Python

# And after the cognification, search the knowledge graph
result = await cognee.search(
"Which characters belong to Gryffindor?",
datasets=["cognee-basics"],
)
# Print the result so you can see it in the notebook output
print(result)