-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathquestions copy.json
197 lines (196 loc) · 6.48 KB
/
questions copy.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
{
"question_sets": [
{
"id": "MUSIC_Q_SINGLE_STEP_ONE_SHOT_V1",
"name": "Mannheim Function Calling Benchmark: Questions w/ Single Parameters, One Step and One Shot",
"domain": "Music",
"date": "2024-01-27",
"description": "Simple, single step questions designed to test a subset of selection of records, interpretation, reasoning, different languages, typos, related and unrelated context",
"authors": ["Dennis Heinz", "Saman Khursheed", "Zeynep Eroglu"],
"license": "Apache 2.0",
"function_sets": ["MUSIC_FUNC_ONE_PARAM_SIMPLE_DESC_NO_EX_V01"],
"questions": [
{
"id": "MUSIC_SINGLE_STEP_ONE_SHOT_SEL_Q1",
"category": "Selection",
"question": "Among the top 30 rated albums, which were released by 'Radiohead'?",
"motivation": "Evaluate the ability to perform multi-targeted information retrieval of a dataset based on a defined criteria (string matching).",
"target": {
"chained": false,
"solution_paths": [
{
"path_id": 1,
"functions": ["top_rated_albums"],
"parameters": [{ "n": 30 }]
}
],
"expected_answers": ["Selects all 3 albums."],
"comment": null
}
},
{
"id": "MUSIC_SINGLE_STEP_ONE_SHOT_SEL_Q2",
"category": "Selection",
"question": "Which songs released in 2012 were performed by more than 1 artist?",
"motivation": "Evaluate the ability to perform multi-targeted information retrieval of a dataset based on a defined criteria (integer interval matching).",
"target": {
"chained": false,
"solution_paths": [
{
"path_id": 1,
"functions": ["songs_by_release_date"],
"parameters": [{ "release_date": "2012" }]
}
],
"expected_answers": ["Returns 3 songs performed by 2 artists."],
"comment": null
}
}
]
}
],
"function_sets": [
{
"id": "MUSIC_FUNC_ONE_PARAM_SIMPLE_DESC_NO_EX_V01",
"name": "Music - functions with simple function description, no examples.",
"domain": "Music",
"categories": [
"All Parameters",
"Without Examples",
"Simple Description"
],
"num_functions": 9,
"functions": [
{
"name": "albums_by_artist",
"description": "Returns all albums by a given artist.",
"parameters": {
"type": "object",
"properties": {
"artist_name": {
"type": "string",
"description": "The name of the artist."
}
},
"required": ["artist_name"]
}
},
{
"name": "top_rated_albums",
"description": "Returns the top-rated albums based on average rating.",
"parameters": {
"type": "object",
"properties": {
"n": {
"type": "number",
"description": "The number of albums to return. Default is 10."
}
},
"required": []
}
},
{
"name": "artist_by_album",
"description": "Returns the artist of an album by its name.",
"parameters": {
"type": "object",
"properties": {
"album_name": {
"type": "string",
"description": "The name of the album."
}
},
"required": ["album_name"]
}
},
{
"name": "albums_by_genres",
"description": "Retrieves a list of albums that contain any of the specified genres.",
"parameters": {
"type": "object",
"properties": {
"genres": {
"type": "array",
"items": {
"type": "string"
},
"description": "A list of genre strings the albums must contain."
}
},
"required": ["genres"]
}
},
{
"name": "top_streamed_songs",
"description": "Returns the n most streamed songs.",
"parameters": {
"type": "object",
"properties": {
"n": {
"type": "number",
"description": "The number of top-streamed songs to return. Default is 10."
}
},
"required": []
}
},
{
"name": "songs_by_release_date",
"description": "Retrieves all songs released on a specific date, in a specific month, or in a specific year, based on the provided release date.",
"parameters": {
"type": "object",
"properties": {
"release_date": {
"type": "string",
"description": "The release date to filter songs by. Can be in YYYY (year), YYYY-MM (year-month), or YYYY-MM-DD (specific date) format."
}
},
"required": ["release_date"]
}
},
{
"name": "songs_by_longest_duration",
"description": "Returns the top 'n' songs sorted by their duration, from longest to shortest.",
"parameters": {
"type": "object",
"properties": {
"n": {
"type": "number",
"description": "The number of top songs to return, based on duration. Defaults to 10 if not specified."
}
},
"required": []
}
},
{
"name": "artist_by_song",
"description": "Returns the artist of the song.",
"parameters": {
"type": "object",
"properties": {
"song_name": {
"type": "string",
"description": "The name of the song."
}
},
"required": ["song_name"]
}
},
{
"name": "songs_by_artist",
"description": "Returns all songs by a given artist.",
"parameters": {
"type": "object",
"properties": {
"artist_name": {
"type": "string",
"description": "The name of the artist."
}
},
"required": ["artist_name"]
}
}
]
}
]
}