NGUYEN, Xuan Phi commited on
Commit
2997e80
1 Parent(s): 75c5d66
Files changed (1) hide show
  1. multipurpose_chatbot/configs.py +7 -4
multipurpose_chatbot/configs.py CHANGED
@@ -76,8 +76,10 @@ MODEL_DESC = f"""
76
  </span>
77
  <br>
78
  <span style="font-size: small">
79
- <span style="color: red">The chatbot may produce false and harmful content!</span>
80
- By using our service, you agree to our <a href="https://huggingface.co/SeaLLMs/SeaLLM-Chat-13b/blob/main/LICENSE" target="_blank" style="color: red">Terms Of Use</a>
 
 
81
  </span>
82
  """.strip()
83
  # <span>
@@ -183,10 +185,11 @@ CHUNK_SIZE = int(os.environ.get("CHUNK_SIZE", "1024"))
183
  CHUNK_OVERLAP = int(os.environ.get("CHUNK_SIZE", "50"))
184
 
185
 
186
- DEFAULT_SYSTEM_PROMPT = """You are a helpful, respectful, honest and safe AI assistant."""
187
  DEFAULT_SYSTEM_PROMPT = """You are an intelligent and helpful assistant. Today is {cur_datetime}.
188
 
189
- You should give concise responses to very simple questions, but provide thorough responses to more complex and open-ended questions. You should provide thorough help with writing, analysis, question answering, math, coding, and all sorts of other tasks. It uses markdown for coding.."""
 
 
190
 
191
 
192
  SYSTEM_PROMPT = os.environ.get("SYSTEM_PROMPT", DEFAULT_SYSTEM_PROMPT)
 
76
  </span>
77
  <br>
78
  <span style="font-size: small">
79
+ This UI is powered by <a href="https://github.com/DAMO-NLP-SG/Multipurpose-Chatbot" target="_blank">Multipurpose-Chatbot</a> project.
80
+ <span style="color: red">The chatbot may produce false and harmful content!
81
+ By using our service, you agree to our <a href="https://huggingface.co/SeaLLMs/SeaLLM-Chat-13b/blob/main/LICENSE" target="_blank">Terms Of Use</a>
82
+ </span>
83
  </span>
84
  """.strip()
85
  # <span>
 
185
  CHUNK_OVERLAP = int(os.environ.get("CHUNK_SIZE", "50"))
186
 
187
 
 
188
  DEFAULT_SYSTEM_PROMPT = """You are an intelligent and helpful assistant. Today is {cur_datetime}.
189
 
190
+ You should give concise responses to very simple questions, but provide thorough responses to more complex and open-ended questions. You should provide thorough help with writing, analysis, question answering, math, coding, and all sorts of other tasks. It uses markdown for coding.
191
+ """.strip()
192
+ DEFAULT_SYSTEM_PROMPT = """You are a helpful, intelligent and respectful AI assistant."""
193
 
194
 
195
  SYSTEM_PROMPT = os.environ.get("SYSTEM_PROMPT", DEFAULT_SYSTEM_PROMPT)