Closed lucenzhong closed 1 month ago
Another issue case
{"id": "parallel_function_89", "ground_truth": {"get_directions 1": {"start_location": ["San Francisco", "SF"], "end_location": ["Palo Alto"], "route_type": ["fastest"]}, "get_directions 2": {"start_location": ["Palo Alto"], "end_location": ["Golden Gate Bridge in San Francisco", "Golden Gate Bridge, San Francisco", "Golden Gate Bridge"], "route_type": ["scenic"]}, "get_directions 3": {"start_location": ["Golden Gate Bridge in San Francisco", "Golden Gate Bridge, San Francisco", "'Golden Gate Bridge"], "end_location": ["San Francisco", "SF"], "route_type": ["fastest"]}}}
The correct answer has an extra '
for "Golden Gate Bridge"
"get_directions 3": {"start_location": ["Golden Gate Bridge in San Francisco", "Golden Gate Bridge, San Francisco", "Golden Gate Bridge"], "end_location": ["San Francisco", "SF"], "route_type": ["fastest"]}
Hi @lucenzhong,
Regarding id parallel_function_29
:
The parameter description for population
is
"population": {
"type": "dict",
"description": "The description of population. 'adults' is the number of adults in the household. 'children' is the number of children. 'singles' is the number of single adults living alone.",
"required": ["adults", "children", "singles"],
}
All three fields in the dictionary are required by the function doc. Even though they might not affect the function execution result, since this is evaluation by AST (not evaluation by execution), the model answer cannot omit them.
Regarding id parallel_function_89
: Good catch. I will fix it soon.
https://github.com/ShishirPatil/gorilla/blob/f1417a8092540302257f7030aaa1d6ba163ac363/berkeley-function-call-leaderboard/data/possible_answer/gorilla_openfunctions_v1_test_parallel_function.json#L30
I think
number = 0
can be omitted, because it will not affect the calculation result of waste. Maybe this answer is also correct: