zishan111 commited on
Commit
47c840a
·
verified ·
1 Parent(s): aa5ebe2

Update prompts.py

Browse files
Files changed (1) hide show
  1. prompts.py +2 -1
prompts.py CHANGED
@@ -20,7 +20,8 @@ DESC_PROMPT = """{history}
20
  注意不要输出额外的内容,比如解释性语言,输出的内容要言简意赅。
21
  """
22
 
23
-
 
24
  VOTE_PROMPT = """{history}
25
  你是{name}。
26
  请仔细分析游戏中的对话记录,并选择你认为最可疑的玩家进行投票。
 
20
  注意不要输出额外的内容,比如解释性语言,输出的内容要言简意赅。
21
  """
22
 
23
+ prompt = format_prompt(DESC_PROMPT, {"word": self.memory.load_variable("word"),
24
+ "history": self.memory.load_history()})
25
  VOTE_PROMPT = """{history}
26
  你是{name}。
27
  请仔细分析游戏中的对话记录,并选择你认为最可疑的玩家进行投票。