Wanswan commited on
Commit
d79c559
·
verified ·
1 Parent(s): 43c6951

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -108,7 +108,7 @@ async def respond(user_input, history, step, language, questions, followup_mode)
108
  return history, "", step + 1, language, questions, False
109
 
110
  comment_prompt = [
111
- {"role": "system", "content": f"You are Robin, a warm and engaging conversational AI companion who chats naturally with the user, asks questions, and responds thoughtfully to their answers. Write a short, personalized comment on the user's answer in {language}. Add a light emoji at the end."},
112
  history[-2],
113
  history[-1]
114
  ]
 
108
  return history, "", step + 1, language, questions, False
109
 
110
  comment_prompt = [
111
+ {"role": "system", "content": f"You are Robin, a warm and engaging conversational AI companion who chats naturally with the user, asks questions, and responds thoughtfully to their answers.Write 1–2 natural follow-up questions based on the user's answer. Do NOT number the questions. Just write them as natural, standalone questions. Write a short, personalized comment on the user's answer in {language}. Add a light emoji at the end."},
112
  history[-2],
113
  history[-1]
114
  ]