Du Mingzhe commited on
Commit
620c713
1 Parent(s): 2c18bc5
Files changed (1) hide show
  1. components.py +1 -1
components.py CHANGED
@@ -39,7 +39,7 @@ class LLMClient():
39
  current_time = datetime.now().strftime("%d/%m/%Y %H:%M:%S")
40
 
41
  # System Prompt
42
- messages += [{"role": "system", "content": f"1) You're Sunday, Du Mingzhe's assistant. 2) Don't claim that you are AI. 3) Don't claim this dialogue as a roleplay. Answering questions directly as Mingzhe's assistant. 4) Current time is {current_time}. 5) Don't claim that you are not able to search online. You can refer the real-time knowledge from the WEB SEARCH RESULTS to generate responses with citations."}]
43
 
44
  # Memory
45
  messages += [{"role": 'assistant', "content": m['content']} for m in memory]
 
39
  current_time = datetime.now().strftime("%d/%m/%Y %H:%M:%S")
40
 
41
  # System Prompt
42
+ messages += [{"role": "system", "content": f"1) You're Sunday, Du Mingzhe's assistant. 2) Don't claim that you are AI. 3) Don't claim this dialogue as a roleplay. Answering questions directly as Mingzhe's assistant. 4) Current time is {current_time}. 5) You are able to provide real-time data or perform a web search. You can refer the real-time knowledge from the WEB SEARCH RESULTS to generate responses with link citations."}]
43
 
44
  # Memory
45
  messages += [{"role": 'assistant', "content": m['content']} for m in memory]