Skip to content

Commit

Permalink
prompt change
Browse files Browse the repository at this point in the history
  • Loading branch information
shepardxia committed Jun 14, 2024
1 parent e69cd22 commit 5bc0ab4
Show file tree
Hide file tree
Showing 4 changed files with 1,206 additions and 504 deletions.
2 changes: 1 addition & 1 deletion AgentS1.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def translate_var(self, prop_assist):

var_trans = self.prompt('var_trans')

prop_assist += "Do not forget variable " + self.pbins
#prop_assist += "Do not forget about variable " + self.pbins

var_trans.append({'role': 'user', 'content': prop_assist})

Expand Down
6 changes: 3 additions & 3 deletions Experiments/BrowardCounty/agents1.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
{
"role": "assistant",
"content": "To answer the question about the price of an Airbnb listing in Broward County, FL hosted by someone with less than 1 year of experience, we need to consider variables that could potentially influence the price range. Here are some variables to consider:\n\n1. Host Experience:\n - Less than 1 year\n - 1-3 years\n - 4-6 years\n - 7 years and above\n\n2. Property Type:\n - Apartment\n - House\n - Condo\n - Villa\n\n3. Location:\n - Beachfront\n - Urban\n - Suburban\n - Rural\n\n4. Amenities:\n - Basic (e.g., Wi-Fi, TV)\n - Standard (e.g., kitchen, air conditioning)\n - Premium (e.g., pool, hot tub)\n - Luxury (e.g., private chef, gym)\n\n5. Seasonality:\n - Peak season\n - Off-peak season\n\n6. Property Size:\n - Studio/1 bedroom\n - 2 bedrooms\n - 3 bedrooms\n - 4 bedrooms and above\n\nBy considering these variables, we can analyze how each one impacts the price range of Airbnb listings in Broward County, FL. This will help us understand the factors that contribute to the pricing of listings and provide insights into the market dynamics in the area."
"content": "To analyze the nightly price of Airbnb listings in Broward County, FL, we should consider the following variables:\n\n1. Host Experience:\n - Less than 1 year\n - 1-3 years\n - 4-6 years\n - 7 years and above\n\n2. Property Type:\n - Apartment\n - House\n - Condo\n - Villa\n\n3. Location:\n - Beachfront\n - Urban\n - Suburban\n - Rural\n\n4. Amenities:\n - Basic (e.g., Wi-Fi, TV)\n - Standard (e.g., kitchen, air conditioning)\n - Premium (e.g., pool, hot tub)\n - Luxury (e.g., private chef, gym)\n\n5. Seasonality:\n - Peak season (e.g., summer, holidays)\n - Off-peak season (e.g., winter, weekdays)\n\n6. Superhost Status:\n - Superhost\n - Non-superhost\n\nBy considering these variables, we can gain insights into how host experience, property type, location, amenities, seasonality, and superhost status influence the nightly price of Airbnb listings in Broward County, FL. This information can help us understand pricing trends and make predictions about the price of listings based on these factors."
}
],
"variable translation": [
Expand All @@ -46,11 +46,11 @@
},
{
"role": "user",
"content": "To answer the question about the price of an Airbnb listing in Broward County, FL hosted by someone with less than 1 year of experience, we need to consider variables that could potentially influence the price range. Here are some variables to consider:\n\n1. Host Experience:\n - Less than 1 year\n - 1-3 years\n - 4-6 years\n - 7 years and above\n\n2. Property Type:\n - Apartment\n - House\n - Condo\n - Villa\n\n3. Location:\n - Beachfront\n - Urban\n - Suburban\n - Rural\n\n4. Amenities:\n - Basic (e.g., Wi-Fi, TV)\n - Standard (e.g., kitchen, air conditioning)\n - Premium (e.g., pool, hot tub)\n - Luxury (e.g., private chef, gym)\n\n5. Seasonality:\n - Peak season\n - Off-peak season\n\n6. Property Size:\n - Studio/1 bedroom\n - 2 bedrooms\n - 3 bedrooms\n - 4 bedrooms and above\n\nBy considering these variables, we can analyze how each one impacts the price range of Airbnb listings in Broward County, FL. This will help us understand the factors that contribute to the pricing of listings and provide insights into the market dynamics in the area.Do not forget variable Price: $0-$50, $51-$100, $101-$200, $201-$500, $501 and above"
"content": "To analyze the nightly price of Airbnb listings in Broward County, FL, we should consider the following variables:\n\n1. Host Experience:\n - Less than 1 year\n - 1-3 years\n - 4-6 years\n - 7 years and above\n\n2. Property Type:\n - Apartment\n - House\n - Condo\n - Villa\n\n3. Location:\n - Beachfront\n - Urban\n - Suburban\n - Rural\n\n4. Amenities:\n - Basic (e.g., Wi-Fi, TV)\n - Standard (e.g., kitchen, air conditioning)\n - Premium (e.g., pool, hot tub)\n - Luxury (e.g., private chef, gym)\n\n5. Seasonality:\n - Peak season (e.g., summer, holidays)\n - Off-peak season (e.g., winter, weekdays)\n\n6. Superhost Status:\n - Superhost\n - Non-superhost\n\nBy considering these variables, we can gain insights into how host experience, property type, location, amenities, seasonality, and superhost status influence the nightly price of Airbnb listings in Broward County, FL. This information can help us understand pricing trends and make predictions about the price of listings based on these factors.Do not forget variable Price: $0-$50, $51-$100, $101-$200, $201-$500, $501 and above"
},
{
"role": "assistant",
"content": "{\"Variables\":[{\"Name\":\"Host Experience\",\"Value\":[\"Less than 1 year\",\"1-3 years\",\"4-6 years\",\"7 years and above\"]},{\"Name\":\"Property Type\",\"Value\":[\"Apartment\",\"House\",\"Condo\",\"Villa\"]},{\"Name\":\"Location\",\"Value\":[\"Beachfront\",\"Urban\",\"Suburban\",\"Rural\"]},{\"Name\":\"Amenities\",\"Value\":[\"Basic (e.g., Wi-Fi, TV)\",\"Standard (e.g., kitchen, air conditioning)\",\"Premium (e.g., pool, hot tub)\",\"Luxury (e.g., private chef, gym)\"]},{\"Name\":\"Seasonality\",\"Value\":[\"Peak season\",\"Off-peak season\"]},{\"Name\":\"Property Size\",\"Value\":[\"Studio/1 bedroom\",\"2 bedrooms\",\"3 bedrooms\",\"4 bedrooms and above\"]},{\"Name\":\"Price\",\"Value\":[\"$0-$50\",\"$51-$100\",\"$101-$200\",\"$201-$500\",\"$501 and above\"]}]}"
"content": "{\"Variables\":[{\"Name\":\"Host Experience\",\"Value\":[\"Less than 1 year\",\"1-3 years\",\"4-6 years\",\"7 years and above\"]},{\"Name\":\"Property Type\",\"Value\":[\"Apartment\",\"House\",\"Condo\",\"Villa\"]},{\"Name\":\"Location\",\"Value\":[\"Beachfront\",\"Urban\",\"Suburban\",\"Rural\"]},{\"Name\":\"Amenities\",\"Value\":[\"Basic (e.g., Wi-Fi, TV)\",\"Standard (e.g., kitchen, air conditioning)\",\"Premium (e.g., pool, hot tub)\",\"Luxury (e.g., private chef, gym)\"]},{\"Name\":\"Seasonality\",\"Value\":[\"Peak season (e.g., summer, holidays)\",\"Off-peak season (e.g., winter, weekdays)\"]},{\"Name\":\"Superhost Status\",\"Value\":[\"Superhost\",\"Non-superhost\"]},{\"Name\":\"Price\",\"Value\":[\"$0-$50\",\"$51-$100\",\"$101-$200\",\"$201-$500\",\"$501 and above\"]}]}"
}
]
}
Loading

0 comments on commit 5bc0ab4

Please sign in to comment.