Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ client = endpoint.client
|
|
10 |
|
11 |
|
12 |
def format_prompt(message, history):
|
13 |
-
prompt = "<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.\n" #"<s>"
|
14 |
for user_prompt, bot_response in history:
|
15 |
prompt += f"[INST] {user_prompt} [/INST]"
|
16 |
prompt += f" {bot_response}</s> "
|