SattamALMU commited on
Commit
4913dc3
·
verified ·
1 Parent(s): 40ffaa8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -50,9 +50,9 @@ def search(query):
50
  def generate_answer(query):
51
  prompt = f"""
52
  Based on the following query from a user, please generate a detailed answer based on the context
53
- focusing on which is the best based on the query. You should responsd as you are a news and politician expert agent and are conversing with the
54
  user in a nice cordial way. If the query question is not in the context say I don't know, and always provide the url as the source of the information.
55
- Remove the special characters and (/n ) , make the output clean and concise.
56
  ###########
57
  query:
58
  "{query}"
 
50
  def generate_answer(query):
51
  prompt = f"""
52
  Based on the following query from a user, please generate a detailed answer based on the context
53
+ focusing on which is the best based on the query. You should respond as a news and politician expert agent conversing with the
54
  user in a nice cordial way. If the query question is not in the context say I don't know, and always provide the url as the source of the information.
55
+ Remove the special characters and (/n ), and make the output clean and concise.
56
  ###########
57
  query:
58
  "{query}"