Spaces:
Sleeping
Sleeping
diana3135
commited on
Commit
·
d6520c8
1
Parent(s):
af3f052
update task description
Browse files- instructions.py +8 -15
- utils.py +1 -1
instructions.py
CHANGED
|
@@ -44,21 +44,14 @@ def invalid_group():
|
|
| 44 |
|
| 45 |
def default_task_discription():
|
| 46 |
TASK_DESCRIPTION = """
|
| 47 |
-
Given Airbnb's current business model below, please propose ideas
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
- Travelers:
|
| 52 |
-
Airbnb
|
| 53 |
-
|
| 54 |
-
-
|
| 55 |
-
Airbnb enables property owners, from single-room hosts to entire home renters, to generate income from underutilized properties. Hosts benefit from Airbnb's tools for secure bookings, easy listing management, pricing, and marketing support.
|
| 56 |
-
|
| 57 |
-
- Core Operations:
|
| 58 |
-
Airbnb operates a user-friendly platform that connects hosts with guests. Key activities include managing the platform, ensuring safety through verification, providing reliable customer support, and continuously enhancing technology to improve user experience.
|
| 59 |
-
|
| 60 |
-
- Market Reach and Partnerships:
|
| 61 |
-
Airbnb expands its market reach through targeted marketing and partnerships with local tourism agencies, helping to promote the platform within local communities.
|
| 62 |
"""
|
| 63 |
|
| 64 |
return TASK_DESCRIPTION
|
|
|
|
| 44 |
|
| 45 |
def default_task_discription():
|
| 46 |
TASK_DESCRIPTION = """
|
| 47 |
+
Given Airbnb's current business model below, please propose ideas to make it comply with the 17 SDGs.
|
| 48 |
+
Airbnb is a peer-to-peer short-term rental platform serving two primary customer segments: travelers and property owners.
|
| 49 |
+
Here's how the business model currently works:
|
| 50 |
+
|
| 51 |
+
- Travelers: Airbnb serves tourists, business travelers, and families looking for unique, cost-effective accommodations. Many prefer Airbnb for its personalized, home-like experience compared to traditional hotels.
|
| 52 |
+
- Property Owners: Airbnb enables property owners, from single-room hosts to entire home renters, to generate income from underutilized properties. Hosts benefit from Airbnb's tools for secure bookings, easy listing management, pricing, and marketing support.
|
| 53 |
+
- Core Operations: Airbnb operates a user-friendly platform that connects hosts with guests. Key activities include managing the platform, ensuring safety through verification, providing reliable customer support, and continuously enhancing technology to improve user experience.
|
| 54 |
+
- Market Reach and Partnerships: Airbnb expands its market reach through targeted marketing and partnerships with local tourism agencies, helping to promote the platform within local communities.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
"""
|
| 56 |
|
| 57 |
return TASK_DESCRIPTION
|
utils.py
CHANGED
|
@@ -75,5 +75,5 @@ def get_evaluation_with_gpt(task_description, text, api_key = None):
|
|
| 75 |
f"where criteria for evaluation are Novelty, Feasibility, and Defensibility.\n" + \
|
| 76 |
f"Use a professional standard, where 5 represents an acceptable quality,\n" + \
|
| 77 |
f"and scores closer to 10 should reflect exceptional quality.\n" + \
|
| 78 |
-
f"Finally conclude with an overall score in the range of 0 to 10
|
| 79 |
return generate_text_with_gpt(prompt, api_key)
|
|
|
|
| 75 |
f"where criteria for evaluation are Novelty, Feasibility, and Defensibility.\n" + \
|
| 76 |
f"Use a professional standard, where 5 represents an acceptable quality,\n" + \
|
| 77 |
f"and scores closer to 10 should reflect exceptional quality.\n" + \
|
| 78 |
+
f"Finally conclude with an overall score in the range of 0 to 10."
|
| 79 |
return generate_text_with_gpt(prompt, api_key)
|