AI-RESEARCHER-2024 commited on
Commit
0e0fcef
·
verified ·
1 Parent(s): b497611

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -29,12 +29,11 @@ template = """Answer the question based only on the following context:
29
 
30
  Question: {question}
31
 
32
- Answer the question in a clear and concise way. If you cannot find the answer in the context, just say "I don't have enough information to answer this question."
33
 
34
  Make sure to:
35
  1. Only use information from the provided context
36
- 2. Be concise and direct
37
- 3. If you're unsure, acknowledge it
38
  """
39
 
40
  prompt = PromptTemplate.from_template(template)
 
29
 
30
  Question: {question}
31
 
32
+ Answer the question in a clear way. If you cannot find the answer in the context, just say "I don't have enough information to answer this question."
33
 
34
  Make sure to:
35
  1. Only use information from the provided context
36
+ 2. If you're unsure, acknowledge it
 
37
  """
38
 
39
  prompt = PromptTemplate.from_template(template)