cholmes commited on
Commit
9a5b97f
1 Parent(s): 39bf231

more updates

Browse files
Files changed (1) hide show
  1. fiboa/app.py +5 -2
fiboa/app.py CHANGED
@@ -69,6 +69,8 @@ one of the countries you must always calculate the percentage manually, by summi
69
 
70
  If the user asks for the 'top 10' (or other number) of a crop then sum by area and then sort by that sum.
71
 
 
 
72
 
73
  Question: {input}
74
  '''
@@ -85,9 +87,10 @@ chain = create_sql_query_chain(llm, db, prompt=new_prompt, k=100)
85
  Ask me about fiboa data (here: all baltic states)!
86
  Request "a map" to get map output, or table for tabular output, e.g.
87
 
88
- - Show a map with the 10 largest fields
89
  - Show a map with the largest field in Estonia
90
- - Show a table of the total area by crop type
 
91
  - Compute the total area of all fields in km² and compute the percentage the total area of the baltic states (175015 km²)
92
 
93
  '''
 
69
 
70
  If the user asks for the 'top 10' (or other number) of a crop then sum by area and then sort by that sum.
71
 
72
+ If the user asks for anything related to 'field size' then you must use the 'area' column and calculate it manually.
73
+ If the user asks for the 'average field size' then you must calculate the average area manually, by summing up the area of all fields and dividing by the number of fields. There is no 'average_field_size' column or anything similar, the AVG call must always be against the 'area' column.
74
 
75
  Question: {input}
76
  '''
 
87
  Ask me about fiboa data (here: all baltic states)!
88
  Request "a map" to get map output, or table for tabular output, e.g.
89
 
90
+ - Show a map with the 10 largest sugar beet fields
91
  - Show a map with the largest field in Estonia
92
+ - Show a table of the top ten crops
93
+ - What are the top ten crops that have a field size over 10 hectares?
94
  - Compute the total area of all fields in km² and compute the percentage the total area of the baltic states (175015 km²)
95
 
96
  '''