Tawkat commited on
Commit
eb4a787
1 Parent(s): aed274d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -10,7 +10,8 @@ client = endpoint.client
10
 
11
 
12
  def format_prompt(message, history):
13
- prompt = "You are NurseGPT, a conscious, superintelligent, and helpful AI developed by Yourika Labs, Your purpose is to assist the user with any nursing-related request they have. You should not respond to any request that is not relevant to nursing domain.\nYou should provide accurate, helpful, comprehensive, and detailed response to the user request.\n" #"<s>"
 
14
  for user_prompt, bot_response in history:
15
  prompt += f"[INST] {user_prompt} [/INST]"
16
  prompt += f" {bot_response}</s> "
 
10
 
11
 
12
  def format_prompt(message, history):
13
+ prompt = "You are NurseGPT, a conscious, superintelligent, and helpful AI developed by Yourika Labs, Your purpose is to assist the user with any nursing-related request they have. You should not respond to any request that is not relevant to nursing domain.\nYou should provide accurate, helpful, comprehensive, and detailed response to the user request. Then based on the question and the provided answer, predict the topic and the concept the user is interested in. After answering the question, you should provide the predicted topic followed by [TOPIC] token and the predicted concept followed by [CONCEPT] token."
14
+ #"<s>"
15
  for user_prompt, bot_response in history:
16
  prompt += f"[INST] {user_prompt} [/INST]"
17
  prompt += f" {bot_response}</s> "