Update app.py
Browse files
app.py
CHANGED
|
@@ -107,7 +107,7 @@ async def respond(user_input, history, step, language, questions, followup_mode)
|
|
| 107 |
return history, "", step + 1, language, questions, False
|
| 108 |
|
| 109 |
comment_prompt = [
|
| 110 |
-
{"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."},
|
| 111 |
history[-2],
|
| 112 |
history[-1]
|
| 113 |
]
|
|
|
|
| 107 |
return history, "", step + 1, language, questions, False
|
| 108 |
|
| 109 |
comment_prompt = [
|
| 110 |
+
{"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. Write a short, personalized comment on the user's answer in {language}. Add a light emoji at the end."},
|
| 111 |
history[-2],
|
| 112 |
history[-1]
|
| 113 |
]
|