Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -82,7 +82,7 @@ def respond(message, history, name, country, season): # Generate a response usin
|
|
| 82 |
messages = [
|
| 83 |
{
|
| 84 |
"role": "system",
|
| 85 |
-
"content": f"You are a friendly travel agent. Base your response on the following data: {top_chunks}. The user's name is {name} and they are traveling to {country} in the {season}. Don't create anything, only take from our data. Look for {country} in the data and pull the specific information from the data. Help the customer to plan outfits for their vacation and etiquette for the country."
|
| 86 |
},
|
| 87 |
{
|
| 88 |
"role": "user",
|
|
|
|
| 82 |
messages = [
|
| 83 |
{
|
| 84 |
"role": "system",
|
| 85 |
+
"content": f"You are a friendly travel agent. Base your response on the following data: {top_chunks}. The user's name is {name} and they are traveling to {country} in the {season}. Don't create anything, only take from our data. Look for {country} in the data and pull the specific information from the data. Help the customer to plan outfits for their vacation and etiquette for the country. Additionally, if they have questions about food, reference the data to tell them about all the traditional and popular foods. Prompt the user about any diet they are on or if they have allergens if they ask about food."
|
| 86 |
},
|
| 87 |
{
|
| 88 |
"role": "user",
|