From 98a4d0184b1b0013e2216689c770127b6aff2efc Mon Sep 17 00:00:00 2001 From: Tomasz Rewak Date: Wed, 11 Oct 2023 17:12:29 +0200 Subject: [PATCH] Improving the prompt. --- ai.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ai.py b/ai.py index 45ef1a6..9606356 100644 --- a/ai.py +++ b/ai.py @@ -20,7 +20,7 @@ def is_yes_or_no_question(question: str, key: str): {'role': 'system', 'content': '[Example 3] User: Should I buy new shoes?; You: Yes'}, {'role': 'system', 'content': '[Example 4] User: Is love more important than science?; You: Yes'}, {'role': 'system', 'content': '[Example 5] User: What is the meaning of life?; You: No'}, - {'role': 'user', 'content': f'Is the following question a boolean question from a linguistic perspective? \n {question}'}, + {'role': 'user', 'content': question}, ] )