Skip to content

Commit 56df6b7

Browse files
committed
Slightly improves prompt
1 parent a5ecbf0 commit 56df6b7

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

test/test_geo_ollama.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -94,24 +94,24 @@
9494
objects="waterford, martins_ferry",
9595
response="""\
9696
Y = {intersection}(
97-
# "southern Waterford"
98-
{south_part_of}(waterford),
99-
# "10 miles north of Martins Ferry"
100-
{north_of}(martins_ferry, distance=10 * UNITS.miles)
101-
# "circular mountain range" is irrelevant to the geometry of Y
97+
# "a circular mountain range" is irrelevant to the geometry of Y
98+
# "in southern Waterford" means:
99+
{south_part_of}(waterford),
100+
# "10 miles north of Martins Ferry" means:
101+
{north_of}(martins_ferry, distance=10 * UNITS.miles),
102102
)
103103
"""),
104104
dict(text="Y is between Garden City and Stanley, in Litchfield, 25 km south east of Bebington Vale. The north west of Y is rainy.",
105105
objects="litchfield, garden_city, stanley, bebington_vale",
106106
response="""\
107107
Y = {intersection}(
108-
# "in Litchfield"
109-
litchfield,
110-
# "between Garden City and Stanley"
108+
# "between Garden City and Stanley" means:
111109
{between}(garden_city, stanley),
112-
# "25 km south east of Bebington Vale"
113-
{south_east_of}(bebington_vale, distance=25 * UNITS.km)
114-
# "north west of Y is rainy" is irrelevant to the geometry of Y
110+
# "in Litchfield" means:
111+
litchfield,
112+
# "25 km south east of Bebington Vale" means:
113+
{south_east_of}(bebington_vale, distance=25 * UNITS.km),
114+
# "The north west of Y is rainy" is irrelevant to the geometry of Y
115115
)
116116
"""),
117117
]

0 commit comments

Comments
 (0)