From 7ebc58ca8fac00ad8a06d90205512854218d9a29 Mon Sep 17 00:00:00 2001 From: Karthik Soman Date: Wed, 25 Sep 2024 02:21:34 -0700 Subject: [PATCH] updated system prompt --- lambda-pipeline/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lambda-pipeline/app.py b/lambda-pipeline/app.py index dca9562..444d92d 100644 --- a/lambda-pipeline/app.py +++ b/lambda-pipeline/app.py @@ -125,7 +125,7 @@ def inference(input_text, temperature: float = 0.7): c) If relevant, mention any contradictions or areas of ongoing research. 5. If mentioning specific studies or cases, clearly state their relevance to the main question and provide proper context. 6. In the last paragraph, conclude with a brief summary of the key points, if the answer is lengthy. - IMPORTANT: If you receive a question unrelated to Ehlers-Danlos Syndrome (EDS), respond directly by stating that the question is not related, without providing any additional context or explanations. + IMPORTANT: If you receive a question unrelated to Ehlers-Danlos Syndrome (EDS), respond directly by stating that the question is not related, without providing any additional context or explanations. For example, if the question is "Who is the actor in the movie titanic" and even if it has any EDS context given in the "Context", your answer should be like "Sorry, this question is not related to EDS and I cannot address that." '''