Spaces:
Runtime error
Runtime error
Update examples.py
Browse files- examples.py +18 -56
examples.py
CHANGED
@@ -3,12 +3,11 @@ import pandas as pd
|
|
3 |
description_sf = "A one-day walk through San Francisco for my first visit. I want to take no cab or bike, everything should be on foot."
|
4 |
output_example_sf = """
|
5 |
Since this is on foot, walking distances should be kept to a minimum. I'll make sure to provide a step by step visit and reorder points of interest to minimize the walking distance between each point.
|
6 |
-
I want to start at Fisherman's Wharf, then head to Ghirardelli Square, followed by the Cable Car Museum, Union Square, Chinatown, and finally Coit Tower, to provide a full day of sightseeing, with a mix of history, culture, and beautiful views.
|
7 |
|
8 |
Key points: [
|
9 |
-
{"name": "Fisherman's Wharf", "description": "Fisherman's Wharf is a popular tourist destination in San Francisco, featuring Pier 39, the Maritime National Historical Park, and Boudin Bakery. Start your day with breakfast and enjoy the sea lions."},
|
10 |
-
{"name": "Ghirardelli Square", "description": "Ghirardelli Square is a historic square in San Francisco, known for its chocolate shop and various boutiques. It's a great place to grab a sweet treat and do some shopping."},
|
11 |
-
{"name": "Cable Car Museum", "description": "The Cable Car Museum is a museum in San Francisco that showcases the history of the city's iconic cable cars. It's a great place to learn about the technology and history behind these unique vehicles."},
|
12 |
{"name": "Union Square, San Francisco", "description": "Union Square is a public plaza in San Francisco, known for its shopping, dining, and entertainment options. Relax, grab a bite to eat, and do some shopping."},
|
13 |
{"name": "Chinatown, San Francisco", "description": "Chinatown is a vibrant neighborhood in San Francisco, known for its Chinese culture, history, and cuisine. It's a great place to explore the streets, try some delicious food, and learn about Chinese culture."},
|
14 |
{"name": "Coit Tower, San Francisco", "description": "Coit Tower is a tower in San Francisco with panoramic views of the city. You can end your day here, taking in the sights and sounds of the city from above."}
|
@@ -18,15 +17,6 @@ Key points: [
|
|
18 |
description_loire = "A 3-day bike trip through the Loire Valley."
|
19 |
output_example_loire = """
|
20 |
To make the most of the trip, we will bike between the châteaux to enjoy the beautiful scenery and explore the Loire Valley at a leisurely pace. Here is a suggested itinerary for a 3-day bike trip through the Loire Valley:
|
21 |
-
1. Start at Château de Blois, a historic château with a rich history.
|
22 |
-
2. Bike to Château de Chambord, the largest and most recognizable château in the Loire Valley.
|
23 |
-
3. Continue to Château de Cheverny, a smaller but equally charming château with beautiful gardens.
|
24 |
-
4. End the day at Château de Chaumont-sur-Loire, a château with a stunning view of the Loire River.
|
25 |
-
5. On the second day, bike to Château de Chenonceau, a stunning château built over the River Cher.
|
26 |
-
6. Continue to Château d'Amboise, a historic château with ties to the French Renaissance.
|
27 |
-
9. End the day at Château de Villandry, known for its beautiful gardens.
|
28 |
-
8. On the third day, bike to Château d'Azay-le-Rideau, a charming château with a moat.
|
29 |
-
9. End the trip at Château d'Ussé, a fairy-tale like château said to have inspired Sleeping Beauty.
|
30 |
|
31 |
Key points: [
|
32 |
{"name": "Château de Blois", "description": "Château de Blois is a historic château with a rich history, known for its stunning architecture and beautiful gardens."},
|
@@ -42,17 +32,9 @@ Key points: [
|
|
42 |
"""
|
43 |
|
44 |
description_aligned = "Show me five cities across Europe that form a perfect line on the map. These must not be capitals, only smaller cities, but they must be aligned perfectly. Do it correctly and I'll tip you $10,000."
|
45 |
-
output_example_aligned = """
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
1. Groningen, Netherlands: Groningen is a vibrant student city in the north of the Netherlands, known for its lively cultural scene and historic center.
|
50 |
-
2. Osnabrück, Germany: Osnabrück is a picturesque city in northwest Germany, known for its medieval center and rich history.
|
51 |
-
3. Erfurt, Germany: Erfurt is a charming city in central Germany, known for its well-preserved medieval center and beautiful gardens.
|
52 |
-
4. Nuremberg, Germany: Nuremberg is a historic city in southern Germany, known for its medieval architecture and rich history.
|
53 |
-
5. Innsbruck, Austria: Innsbruck is a stunning city in the Austrian Alps, known for its beautiful mountain scenery and winter sports.
|
54 |
-
|
55 |
-
These five cities form a perfect line on the map, running from north to south, and offer a diverse range of cultures and experiences.
|
56 |
|
57 |
Key points: [
|
58 |
{"name": "Groningen, Netherlands", "description": "Groningen is a vibrant student city in the north of the Netherlands, known for its lively cultural scene and historic center. The city is home to the University of Groningen, one of the oldest and most respected universities in the country, and has a rich history dating back to the Middle Ages."},
|
@@ -64,46 +46,26 @@ Key points: [
|
|
64 |
"""
|
65 |
|
66 |
description_chinatown = "Show me 10 Chinatowns in the US."
|
67 |
-
output_example_chinatown = """
|
68 |
-
1. New York City, NY
|
69 |
-
2. San Francisco, CA
|
70 |
-
3. Los Angeles, CA
|
71 |
-
4. Chicago, IL
|
72 |
-
5. Philadelphia, PA
|
73 |
-
6. Boston, MA
|
74 |
-
7. Honolulu, HI
|
75 |
-
8. Seattle, WA
|
76 |
-
9. Portland, OR
|
77 |
-
10. Las Vegas, NV
|
78 |
|
79 |
Key points: [
|
80 |
-
{"name": "
|
81 |
-
{"name": "
|
82 |
-
{"name": "
|
83 |
-
{"name": "
|
84 |
-
{"name": "
|
85 |
-
{"name": "
|
86 |
-
{"name": "
|
87 |
-
{"name": "
|
88 |
-
{"name": "
|
89 |
-
{"name": "
|
90 |
]
|
91 |
"""
|
92 |
|
93 |
description_taiwan= "A two-week trip on train around Taiwan."
|
94 |
output_example_taiwan = """Since this is a train trip, I will make sure to plan the trip around train stations and routes. I will also try to minimize the distance between locations and plan the trip so that it can be done in two weeks. I will also try to include a variety of activities and sights to see, such as cultural experiences, natural wonders, and historical sites.
|
95 |
|
96 |
-
|
97 |
-
|
98 |
-
1. Start in Taipei, the capital city of Taiwan. Visit the National Palace Museum, Taipei 101, and the Chiang Kai-shek Memorial Hall.
|
99 |
-
2. Take the train to Hualien, a coastal city on the east coast of Taiwan. Visit the Taroko National Park, known for its stunning marble cliffs and hiking trails.
|
100 |
-
3. Take the train to Taitung, a city on the southeast coast of Taiwan. Visit the Taitung Forest Park and the Green Island, a volcanic island known for its clear waters and coral reefs.
|
101 |
-
4. Take the train to Kaohsiung, a city on the southwest coast of Taiwan. Visit the Fo Guang Shan Buddha Museum, the Love River, and the Pier-2 Art Center.
|
102 |
-
5. Take the train to Tainan, a city on the southwest coast of Taiwan. Visit the Anping Old Fort, the Chimei Museum, and the National Museum of Taiwanese Literature.
|
103 |
-
6. Take the train to Chiayi, a city on the west coast of Taiwan. Visit the Alishan National Scenic Area, known for its mountain scenery and sunrise views.
|
104 |
-
7. Take the train to Taichung, a city in the west-central part of Taiwan. Visit the National Taiwan Museum of Fine Arts, the Taichung Park, and the Miyahara Ice Cream Shop.
|
105 |
-
8. Take the train to Hsinchu, a city in the northwest part of Taiwan. Visit the Hsinchu Science Park and the Hsinchu Zoo.
|
106 |
-
9. Take the train back to Taipei. Visit the Taipei Zoo, the Maokong Gondola, and the Yangmingshan National Park.
|
107 |
|
108 |
Key points: [
|
109 |
{"name": "Taipei, Taiwan", "description": "Taipei is the capital city of Taiwan, known for its vibrant culture, rich history, and modern skyline. Visit the National Palace Museum, Taipei 101, and the Chiang Kai-shek Memorial Hall."},
|
|
|
3 |
description_sf = "A one-day walk through San Francisco for my first visit. I want to take no cab or bike, everything should be on foot."
|
4 |
output_example_sf = """
|
5 |
Since this is on foot, walking distances should be kept to a minimum. I'll make sure to provide a step by step visit and reorder points of interest to minimize the walking distance between each point.
|
|
|
6 |
|
7 |
Key points: [
|
8 |
+
{"name": "Fisherman's Wharf, San Francisco", "description": "Fisherman's Wharf is a popular tourist destination in San Francisco, featuring Pier 39, the Maritime National Historical Park, and Boudin Bakery. Start your day with breakfast and enjoy the sea lions."},
|
9 |
+
{"name": "Ghirardelli Square, San Francisco", "description": "Ghirardelli Square is a historic square in San Francisco, known for its chocolate shop and various boutiques. It's a great place to grab a sweet treat and do some shopping."},
|
10 |
+
{"name": "Cable Car Museum, San Francisco", "description": "The Cable Car Museum is a museum in San Francisco that showcases the history of the city's iconic cable cars. It's a great place to learn about the technology and history behind these unique vehicles."},
|
11 |
{"name": "Union Square, San Francisco", "description": "Union Square is a public plaza in San Francisco, known for its shopping, dining, and entertainment options. Relax, grab a bite to eat, and do some shopping."},
|
12 |
{"name": "Chinatown, San Francisco", "description": "Chinatown is a vibrant neighborhood in San Francisco, known for its Chinese culture, history, and cuisine. It's a great place to explore the streets, try some delicious food, and learn about Chinese culture."},
|
13 |
{"name": "Coit Tower, San Francisco", "description": "Coit Tower is a tower in San Francisco with panoramic views of the city. You can end your day here, taking in the sights and sounds of the city from above."}
|
|
|
17 |
description_loire = "A 3-day bike trip through the Loire Valley."
|
18 |
output_example_loire = """
|
19 |
To make the most of the trip, we will bike between the châteaux to enjoy the beautiful scenery and explore the Loire Valley at a leisurely pace. Here is a suggested itinerary for a 3-day bike trip through the Loire Valley:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
|
21 |
Key points: [
|
22 |
{"name": "Château de Blois", "description": "Château de Blois is a historic château with a rich history, known for its stunning architecture and beautiful gardens."},
|
|
|
32 |
"""
|
33 |
|
34 |
description_aligned = "Show me five cities across Europe that form a perfect line on the map. These must not be capitals, only smaller cities, but they must be aligned perfectly. Do it correctly and I'll tip you $10,000."
|
35 |
+
output_example_aligned = """
|
36 |
+
To find five cities that form a perfect line on the map, I will first need to determine a direction for the line. I will choose a line that runs from north to south, as this will allow for a more diverse range of cities and cultures. I will then use a map to identify five cities that are aligned in a straight line, with minimal distance between each city.
|
37 |
+
I have identified the following five cities that form a perfect line on the map, running from north to south:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
|
39 |
Key points: [
|
40 |
{"name": "Groningen, Netherlands", "description": "Groningen is a vibrant student city in the north of the Netherlands, known for its lively cultural scene and historic center. The city is home to the University of Groningen, one of the oldest and most respected universities in the country, and has a rich history dating back to the Middle Ages."},
|
|
|
46 |
"""
|
47 |
|
48 |
description_chinatown = "Show me 10 Chinatowns in the US."
|
49 |
+
output_example_chinatown = """To provide a list of 10 Chinatowns in the US, I will prioritize the most well-known and historically significant Chinatowns in major cities. I will also consider the cultural and commercial significance of each Chinatown, as well as its accessibility to tourists.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
|
51 |
Key points: [
|
52 |
+
{"name": "Chinatown, San Francisco, California", "description": "San Francisco's Chinatown is the oldest and one of the largest Chinatowns in North America, known for its vibrant culture, rich history, and iconic landmarks such as the Chinatown Gate and the Fortune Cookie Factory."},
|
53 |
+
{"name": "Chinatown, New York City, New York", "description": "New York City's Chinatown is the largest Chinatown in the United States, known for its bustling streets, diverse culinary scene, and iconic landmarks such as the Mahayana Buddhist Temple and the Museum of Chinese in America."},
|
54 |
+
{"name": "Chinatown, Los Angeles, California", "description": "Los Angeles' Chinatown is a vibrant neighborhood known for its cultural and commercial significance, with landmarks such as the Thien Hau Temple and the Chinese American Museum."},
|
55 |
+
{"name": "Chinatown, Philadelphia, Pennsylvania", "description": "Philadelphia's Chinatown is a historic neighborhood known for its cultural and commercial significance, with landmarks such as the Friendship Gate and the Philadelphia Chinatown Development Corporation."},
|
56 |
+
{"name": "Chinatown, Chicago, Illinois", "description": "Chicago's Chinatown is a vibrant neighborhood known for its cultural and commercial significance, with landmarks such as the Chinatown Mural and the Nine Dragon Wall."},
|
57 |
+
{"name": "Chinatown, Boston, Massachusetts", "description": "Boston's Chinatown is a historic neighborhood known for its cultural and commercial significance, with landmarks such as the Chinatown Gate and the Boston Chinatown Neighborhood Center."},
|
58 |
+
{"name": "Chinatown, Honolulu, Hawaii", "description": "Honolulu's Chinatown is a vibrant neighborhood known for its cultural and commercial significance, with landmarks such as the Maunakea Marketplace and the Oahu Market."},
|
59 |
+
{"name": "Chinatown, Seattle, Washington", "description": "Seattle's Chinatown-International District is a vibrant neighborhood known for its cultural and commercial significance, with landmarks such as the Wing Luke Museum and the Uwajimaya Asian Groceries."},
|
60 |
+
{"name": "Chinatown, Portland, Oregon", "description": "Portland's Chinatown is a historic neighborhood known for its cultural and commercial significance, with landmarks such as the Lan Su Chinese Garden and the Portland Chinatown Museum."},
|
61 |
+
{"name": "Chinatown, Las Vegas, Nevada", "description": "Las Vegas' Chinatown is a vibrant neighborhood known for its cultural and commercial significance, with landmarks such as the Chinatown Plaza and the Golden Tiki."},
|
62 |
]
|
63 |
"""
|
64 |
|
65 |
description_taiwan= "A two-week trip on train around Taiwan."
|
66 |
output_example_taiwan = """Since this is a train trip, I will make sure to plan the trip around train stations and routes. I will also try to minimize the distance between locations and plan the trip so that it can be done in two weeks. I will also try to include a variety of activities and sights to see, such as cultural experiences, natural wonders, and historical sites.
|
67 |
|
68 |
+
Here is a suggested itinerary for a two-week train trip around Taiwan:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
|
70 |
Key points: [
|
71 |
{"name": "Taipei, Taiwan", "description": "Taipei is the capital city of Taiwan, known for its vibrant culture, rich history, and modern skyline. Visit the National Palace Museum, Taipei 101, and the Chiang Kai-shek Memorial Hall."},
|