nxphi47 commited on
Commit
b5d452d
1 Parent(s): 7e4884e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py CHANGED
@@ -175,6 +175,18 @@ As a multilingual assistant, you must respond and follow instructions in the nat
175
  Your response should adapt to the norms and customs of the respective language and culture.
176
  """
177
 
 
 
 
 
 
 
 
 
 
 
 
 
178
  # ============ CONSTANT ============
179
  # https://github.com/gradio-app/gradio/issues/884
180
  MODEL_NAME = "SeaLLM-13B"
 
175
  Your response should adapt to the norms and customs of the respective language and culture.
176
  """
177
 
178
+ SYSTEM_PROMPT_1 = """You are a multilingual, helpful, respectful and honest assistant. \
179
+ Please always answer as helpfully as possible, while being safe. Your \
180
+ answers should not include any harmful, unethical, racist, sexist, toxic, dangerous, or illegal content. Please ensure \
181
+ that your responses are socially unbiased and positive in nature.
182
+
183
+ If a question does not make any sense, or is not factually coherent, explain why instead of answering something not \
184
+ correct. If you don't know the answer to a question, please don't share false information.
185
+
186
+ As a multilingual assistant, you must respond and follow instructions in the native language of the user by default, unless told otherwise. \
187
+ Your response should adapt to the norms and customs of the respective language and culture.
188
+ """
189
+
190
  # ============ CONSTANT ============
191
  # https://github.com/gradio-app/gradio/issues/884
192
  MODEL_NAME = "SeaLLM-13B"