From 9a57659266d893bb58fe2e1ad4ea38a38f4f5a1d Mon Sep 17 00:00:00 2001 From: Vasilije <8619304+Vasilije1990@users.noreply.github.com> Date: Tue, 2 Jul 2024 08:37:51 +0200 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f756f2152..e42b3a259 100644 --- a/README.md +++ b/README.md @@ -97,11 +97,11 @@ import cognee text = """Natural language processing (NLP) is an interdisciplinary subfield of computer science and information retrieval""" -cognee.add([text], "example_dataset") # Add a new piece of information +await cognee.add([text], "example_dataset") # Add a new piece of information -cognee.cognify() # Use LLMs and cognee to create knowledge +await cognee.cognify() # Use LLMs and cognee to create knowledge -search_results = cognee.search("SIMILARITY", {'query': 'Tell me about NLP'}) # Query cognee for the knowledge +await search_results = cognee.search("SIMILARITY", {'query': 'Tell me about NLP'}) # Query cognee for the knowledge print(search_results)