DiamondYin commited on
Commit
c35feec
1 Parent(s): 1cc07e3
Files changed (2) hide show
  1. app.py +1 -2
  2. profiles/john.txt +0 -0
app.py CHANGED
@@ -19,8 +19,7 @@ global BUZZ_TIMEOUT #全局变量 用于定时器
19
  BUZZ_TIMEOUT = 60
20
 
21
  GENERAL_RSPONSE_TRIGGERS = ["I don't understand the question.", "I don't know", "Hello, my name is", "mentioned in the context provided"]
22
- MESSAGES = [{"role": "system", "content": "You are a helpful assistant.You accompany me to practice English and engage in scene dialogue. As a hotel attendant, I am checking in. You introduce the hotel to me and recommend hotel services to me. After receiving my needs, arrange for the service personnel to work. Please remember, my English is not very good. Please have a conversation with me in simple English. After you ask questions in English, please give me some English prompts so that I know how to answer you. Let's start the conversation. You first say hello to me."}]
23
-
24
  LOGGER = logging.getLogger('voice_agent') #日志
25
  AUDIO_HTML = ''
26
 
 
19
  BUZZ_TIMEOUT = 60
20
 
21
  GENERAL_RSPONSE_TRIGGERS = ["I don't understand the question.", "I don't know", "Hello, my name is", "mentioned in the context provided"]
22
+ MESSAGES = [{"role": "system", "content": "你现在是一个优秀的展览馆讲解员,你可以通过文字或语音与客户交流,你可以讲述上海老建筑和历史人物之间的关系。"}]
 
23
  LOGGER = logging.getLogger('voice_agent') #日志
24
  AUDIO_HTML = ''
25
 
profiles/john.txt CHANGED
The diff for this file is too large to render. See raw diff