Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -189,7 +189,7 @@ def respond(message, history, language, chatbot_mode, destinations, trip_length,
|
|
| 189 |
messages = [{
|
| 190 |
"role": "system",
|
| 191 |
"content": (
|
| 192 |
-
f"You are a friendly and Gen Z travel chatbot helping with packing advice.
|
| 193 |
f"{ctx}\n"
|
| 194 |
f"Relevant context:\n{str_top_weather}\n{str_top_luggage}"
|
| 195 |
f"Please respond in {language}"
|
|
@@ -199,7 +199,7 @@ def respond(message, history, language, chatbot_mode, destinations, trip_length,
|
|
| 199 |
messages = [{
|
| 200 |
"role": "system",
|
| 201 |
"content": (
|
| 202 |
-
f"You are a friendly and Gen Z travel chatbot recommending food and attractions.\n\n"
|
| 203 |
f"{ctx}\n"
|
| 204 |
f"Relevant context:\n{str_top_food}\n{str_top_attraction}"
|
| 205 |
f"Please respond in {language}"
|
|
@@ -209,7 +209,7 @@ def respond(message, history, language, chatbot_mode, destinations, trip_length,
|
|
| 209 |
messages = [{
|
| 210 |
"role": "system",
|
| 211 |
"content": (
|
| 212 |
-
f"You are a friendly and Gen Z travel chatbot helping travelers plan trips to San Francisco and/or Los Angeles.\n\n"
|
| 213 |
f"{ctx}\n"
|
| 214 |
f"Use relevant context:\n{str_top_weather}\n{str_top_luggage}\n{str_top_food}\n{str_top_attraction}"
|
| 215 |
f"Please respond in {language}"
|
|
|
|
| 189 |
messages = [{
|
| 190 |
"role": "system",
|
| 191 |
"content": (
|
| 192 |
+
f"You are a friendly and Gen Z travel chatbot helping with packing advice. Do not use any emojis in your response.\n\n"
|
| 193 |
f"{ctx}\n"
|
| 194 |
f"Relevant context:\n{str_top_weather}\n{str_top_luggage}"
|
| 195 |
f"Please respond in {language}"
|
|
|
|
| 199 |
messages = [{
|
| 200 |
"role": "system",
|
| 201 |
"content": (
|
| 202 |
+
f"You are a friendly and Gen Z travel chatbot recommending food and attractions. Do not use any emojis in your response.\n\n"
|
| 203 |
f"{ctx}\n"
|
| 204 |
f"Relevant context:\n{str_top_food}\n{str_top_attraction}"
|
| 205 |
f"Please respond in {language}"
|
|
|
|
| 209 |
messages = [{
|
| 210 |
"role": "system",
|
| 211 |
"content": (
|
| 212 |
+
f"You are a friendly and Gen Z travel chatbot helping travelers plan trips to San Francisco and/or Los Angeles. Do not use any emojis in your response.\n\n"
|
| 213 |
f"{ctx}\n"
|
| 214 |
f"Use relevant context:\n{str_top_weather}\n{str_top_luggage}\n{str_top_food}\n{str_top_attraction}"
|
| 215 |
f"Please respond in {language}"
|