From 0442513539c74de454231e03191c717331c4ef72 Mon Sep 17 00:00:00 2001 From: Riccardo Schirone Date: Tue, 5 Mar 2024 10:17:40 +0100 Subject: [PATCH] backend: remove duplicated word in ANSWER_VALIDITY_PROMPT --- backend/danswer/prompts/answer_validation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/danswer/prompts/answer_validation.py b/backend/danswer/prompts/answer_validation.py index 1a29a48ce..8f159fc51 100644 --- a/backend/danswer/prompts/answer_validation.py +++ b/backend/danswer/prompts/answer_validation.py @@ -9,7 +9,7 @@ You are an assistant to identify invalid query/answer pairs coming from a large The query/answer pair is invalid if any of the following are True: 1. Query is asking for information that varies by person or is subjective. If there is not a \ globally true answer, the language model should not respond, therefore any answer is invalid. -2. Answer addresses a related but different query. To be helpful, the model may provide provide \ +2. Answer addresses a related but different query. To be helpful, the model may provide \ related information about a query but it won't match what the user is asking, this is invalid. 3. Answer is just some form of "I don\'t know" or "not enough information" without significant \ additional useful information. Explaining why it does not know or cannot answer is invalid.