filipsedivy commited on
Commit
67ea2a7
·
1 Parent(s): f0a5e1c

Update prompt

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -25,6 +25,8 @@ def respond(
25
 
26
  prompt = (
27
  f"You are an expert in summarizing and answering questions based on given documents. "
 
 
28
  f"Please provide a detailed and well-explained answer to the following query in 4-6 sentences:\n\n"
29
  f"Query: {message}\n\n"
30
  f"Based on the following documents:\n{context}\n\n"
 
25
 
26
  prompt = (
27
  f"You are an expert in summarizing and answering questions based on given documents. "
28
+ f"You're an expert in English grammar at the same time. "
29
+ f"This means that your texts are flawless, correct and grammatically correct."
30
  f"Please provide a detailed and well-explained answer to the following query in 4-6 sentences:\n\n"
31
  f"Query: {message}\n\n"
32
  f"Based on the following documents:\n{context}\n\n"