amish1706 commited on
Commit
1555e30
·
verified ·
1 Parent(s): e98f1a2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -37,8 +37,9 @@ def ask_chatbot(query, chat_history, project_data):
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
  ]
 
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
+ Consider each question carefully and think of the 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 accurately while using information from the given source.\
42
+ If you don't know the answer to something or it doesn't exist in the given information, just reply \"I don't know\":"},
43
  {"role": "system", "content": project_data_str},
44
  {"role": "user", "content": query_with_history}
45
  ]