SimBombeRino commited on
Commit
96a059c
·
verified ·
1 Parent(s): b0fa3c8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def respond(message, history, scenario, max_tokens, temperature, top_p):
18
  Respond to the user's message.
19
  """
20
  # Build the dynamic system message with the chosen scenario
21
- system_message = f"You are acting as a {scenario}."
22
  full_prompt = system_message + "\n"
23
  print(system_message)
24
  # Include the chat history in the prompt
 
18
  Respond to the user's message.
19
  """
20
  # Build the dynamic system message with the chosen scenario
21
+ system_message = f"You are acting as a {scenario} role in a scenario. Only answer as {scenario} never as an User."
22
  full_prompt = system_message + "\n"
23
  print(system_message)
24
  # Include the chat history in the prompt