Spaces:
Sleeping
Sleeping
Matthias Mohr
commited on
Commit
•
d0ac78e
1
Parent(s):
3936ffe
Final version for showcase
Browse files- fiboa/app.py +4 -3
fiboa/app.py
CHANGED
@@ -44,13 +44,14 @@ If asked to show a "table", you must not include the "geometry" column from the
|
|
44 |
Use the following format: return only the SQLQuery to run. DO NOT use the prefix with "SQLQuery:".
|
45 |
Do not include an explanation. Do only use SQL functions that DuckDB supports.
|
46 |
|
47 |
-
|
48 |
-
|
49 |
|
50 |
Tables include {table_info}. The data comes comes always from the table called "crops".
|
51 |
-
|
52 |
|
53 |
The column "area" is in the unit hectares, you may need to convert it to other units, e.g. square meters.
|
|
|
54 |
The column "perimeter" is in the unit meters, you may need to convert it to other units, e.g. kilometers.
|
55 |
The column "collection" contains the country codes for the Baltic states:
|
56 |
"ec_lt" for Latvia, "ec_lv" for Lithuania, "ec_es" for Estonia.
|
|
|
44 |
Use the following format: return only the SQLQuery to run. DO NOT use the prefix with "SQLQuery:".
|
45 |
Do not include an explanation. Do only use SQL functions that DuckDB supports.
|
46 |
|
47 |
+
Use ONLY the column names that you can see in the table description.
|
48 |
+
Do NOT query for columns that do not exist. Pay attention to which column is in which table.
|
49 |
|
50 |
Tables include {table_info}. The data comes comes always from the table called "crops".
|
51 |
+
NEVER use the "testing" table. Pay close attention to this table schema.
|
52 |
|
53 |
The column "area" is in the unit hectares, you may need to convert it to other units, e.g. square meters.
|
54 |
+
There is no other column related to area information, especially not total_area or similar!
|
55 |
The column "perimeter" is in the unit meters, you may need to convert it to other units, e.g. kilometers.
|
56 |
The column "collection" contains the country codes for the Baltic states:
|
57 |
"ec_lt" for Latvia, "ec_lv" for Lithuania, "ec_es" for Estonia.
|