|
55 | 55 | },
|
56 | 56 | {
|
57 | 57 | "cell_type": "code",
|
58 |
| - "execution_count": 11, |
| 58 | + "execution_count": 5, |
59 | 59 | "id": "660da8b8-f422-4f31-a3aa-15296709033f",
|
60 | 60 | "metadata": {},
|
61 | 61 | "outputs": [],
|
|
75 | 75 | },
|
76 | 76 | {
|
77 | 77 | "cell_type": "code",
|
78 |
| - "execution_count": 12, |
| 78 | + "execution_count": 6, |
79 | 79 | "id": "b4c4291d-35c9-48b7-8b45-7da5ff155db7",
|
80 | 80 | "metadata": {},
|
81 | 81 | "outputs": [],
|
|
85 | 85 | },
|
86 | 86 | {
|
87 | 87 | "cell_type": "code",
|
88 |
| - "execution_count": 13, |
| 88 | + "execution_count": 8, |
89 | 89 | "id": "6baab55c-892f-4938-8f18-c2b8c8712cf2",
|
90 | 90 | "metadata": {},
|
91 | 91 | "outputs": [
|
|
96 | 96 | "\n",
|
97 | 97 | "\n",
|
98 | 98 | "\u001b[1m> Entering new AgentExecutor chain...\u001b[0m\n",
|
99 |
| - "\u001b[32;1m\u001b[1;3mI need to use the mercantile tool to get the xyz tile for London.\n", |
| 99 | + "\u001b[32;1m\u001b[1;3mI need to use mercantile to get the xyz tile for London, but I need to find the longitude and latitude coordinates for London first.\n", |
| 100 | + "Action: DuckDuckGo\n", |
| 101 | + "Action Input: \"London longitude and latitude\"\u001b[0m\n", |
| 102 | + "Observation: \u001b[36;1m\u001b[1;3mLondon, city, capital of the United Kingdom. It is among the oldest of the world's great cities—its history spanning nearly two millennia—and one of the most cosmopolitan. By far Britain's largest metropolis, it is also the country's economic, transportation, and cultural centre. London is situated in southeastern England, lying astride the River Thames some 50 miles (80 km) upstream ... The length of a degree of arc of latitude is approximately 111 km (69 miles), varying, because of the nonuniformity of Earth's curvature, from 110.567 km (68.706 miles) at the Equator to 111.699 km (69.41 miles) at the poles. Geographic latitude is also given in degrees, minutes, and seconds. facts about lines of longitude London (51°30′N) is farther north than Calgary (51°03′N) with Amsterdam, Berlin and Dublin being located even further north. Montreal is south of Paris. Phoenix is placed close to the Ancient city of Carthage, which was a Phoenician city-state. People from Phoenix today are known as Phoenicians. (Credit: reddit users twomancanoe and svaachkuet) Covering an area of 130,279 sq. km, England is the largest country in the United Kingdom. Located in the southeastern part of the country, along the banks of the Thames River is London - the capital and the largest city of England. London serves as one of the most important global cities in the world. Where is England? Greenwich Mean Time or GMT is mean (average) solar time at the Greenwich Meridian or Prime Meridian, 0 degrees longitude. The Prime Meridian is the reference point for every time zone in the world. The time displayed by the Shepherd Gate Clock at the Royal Observatory in Greenwich, London, is always GMT. When the sun is at its highest point ...\u001b[0m\n", |
| 103 | + "Thought:\u001b[32;1m\u001b[1;3mNow that I have the longitude and latitude information for London, I can use mercantile to get the xyz tile.\n", |
100 | 104 | "Action: mercantile\n",
|
101 |
| - "Action Input: -0.1278, 51.5074, 10\u001b[0m\n", |
| 105 | + "Action Input: \"-0.1278, 51.5074, 10\"\u001b[0m\n", |
102 | 106 | "Observation: \u001b[33;1m\u001b[1;3mTile(x=511, y=340, z=10.0)\u001b[0m\n",
|
103 |
| - "Thought:\u001b[32;1m\u001b[1;3mI now know the xyz tile for London is Tile(x=511, y=340, z=10.0).\n", |
| 107 | + "Thought:\u001b[32;1m\u001b[1;3mThe xyz tile for London is Tile(x=511, y=340, z=10.0)\n", |
104 | 108 | "Final Answer: Tile(x=511, y=340, z=10.0)\u001b[0m\n",
|
105 | 109 | "\n",
|
106 | 110 | "\u001b[1m> Finished chain.\u001b[0m\n"
|
|
113 | 117 | " 'output': 'Tile(x=511, y=340, z=10.0)'}"
|
114 | 118 | ]
|
115 | 119 | },
|
116 |
| - "execution_count": 13, |
| 120 | + "execution_count": 8, |
117 | 121 | "metadata": {},
|
118 | 122 | "output_type": "execute_result"
|
119 | 123 | }
|
|
0 commit comments