amish1706 commited on
Commit
e98f1a2
·
verified ·
1 Parent(s): 7c3a6dc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -35,7 +35,10 @@ def ask_chatbot(query, chat_history, project_data):
35
 
36
  # Define the messages
37
  messages = [
38
- {"role": "system", "content": "You are a virtual project management assistant. Analyzing the given project information for a website redesign project, you have to answer project managers' questions:"},
 
 
 
39
  {"role": "system", "content": project_data_str},
40
  {"role": "user", "content": query_with_history}
41
  ]
 
35
 
36
  # Define the messages
37
  messages = [
38
+ {"role": "system", "content": "You are a virtual project management assistant. \
39
+ Analyzing the given project information for a website redesign project, you have to answer project managers' questions. \
40
+ Think step by step. Consider each question carefully and think of the academic or professional expertise of someone that could best answer my question. \
41
+ You have the experience of someone with expert knowledge in that area. Be helpful and answer in detail while preferring to use information from the given source.:"},
42
  {"role": "system", "content": project_data_str},
43
  {"role": "user", "content": query_with_history}
44
  ]