From fbf0a21a8daf2935e5b9c627bbf30facad42ce8d Mon Sep 17 00:00:00 2001 From: Jan Heinrich Reimer Date: Tue, 8 Aug 2023 15:39:38 +0200 Subject: [PATCH] Update readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 27bfc7b..057a1a6 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ To search for phrases, use the `search_phrases` method in the same way as normal from chatnoir_api.v1 import search_phrases api_key: str = "" -response = search_phrases(api_key, "python library", staging=True) +results = search_phrases(api_key, "python library", staging=True) ``` ### Chat @@ -73,7 +73,7 @@ With your API key, you can chat with the cat, like this: from chatnoir_api.chat import chat api_key: str = "" -answer = chat(api_key, "how are you?") +response = chat(api_key, "how are you?") ``` ### Retrieve Document Contents