data_source stringclasses 2
values | question stringlengths 29 448 | ability stringclasses 1
value | reward_model dict | extra_info dict |
|---|---|---|---|---|
musique_re_call | Who was in charge of the country where Hafun is located? | re_call | {
"ground_truth": [
"Hassan Sheikh Mohamud"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9700"
} |
musique_re_call | Who was in charge of the country containing Yeed? | re_call | {
"ground_truth": [
"Hassan Sheikh Mohamud"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9701"
} |
musique_re_call | Who was in charge of the country Shululux is located in? | re_call | {
"ground_truth": [
"Hassan Sheikh Mohamud"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9702"
} |
musique_re_call | Who was in charge of the country where Hoga was located? | re_call | {
"ground_truth": [
"Hassan Sheikh Mohamud"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9703"
} |
musique_re_call | Who controls the country where Horseed is located? | re_call | {
"ground_truth": [
"Hassan Sheikh Mohamud"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9704"
} |
musique_re_call | Who is the president of the country which is home to Somafone telecommunications? | re_call | {
"ground_truth": [
"Hassan Sheikh Mohamud"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9705"
} |
musique_re_call | Who was in charge of the country where Wisil is located? | re_call | {
"ground_truth": [
"Hassan Sheikh Mohamud"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9706"
} |
musique_re_call | Who presides over the country containing Beyra? | re_call | {
"ground_truth": [
"Hassan Sheikh Mohamud"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9707"
} |
musique_re_call | Who was in charge of the country where Gondershe is located? | re_call | {
"ground_truth": [
"Hassan Sheikh Mohamud"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9708"
} |
musique_re_call | As of September 2012, who was in charge of the country where the town of Foar is located? | re_call | {
"ground_truth": [
"Hassan Sheikh Mohamud"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9709"
} |
musique_re_call | Who was in charge of the country Afruugleey is located in? | re_call | {
"ground_truth": [
"Hassan Sheikh Mohamud"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9710"
} |
musique_re_call | Who was the head of the country where Laako is located? | re_call | {
"ground_truth": [
"Hassan Sheikh Mohamud"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9711"
} |
musique_re_call | Who was in charge of the country Ceelmakoile is located in? | re_call | {
"ground_truth": [
"Hassan Sheikh Mohamud"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9712"
} |
musique_re_call | Who was in charge of the country where Godobjiraan is located? | re_call | {
"ground_truth": [
"Hassan Sheikh Mohamud"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9713"
} |
musique_re_call | Who was in charge of the country where Badel is located? | re_call | {
"ground_truth": [
"Hassan Sheikh Mohamud"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9714"
} |
musique_re_call | Who was in charge of the country where Roox is located? | re_call | {
"ground_truth": [
"Hassan Sheikh Mohamud"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9715"
} |
musique_re_call | Who was the head of the country where Galgala is located? | re_call | {
"ground_truth": [
"Hassan Sheikh Mohamud"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9716"
} |
musique_re_call | Who is in charge of the country Banderadley is located? | re_call | {
"ground_truth": [
"Hassan Sheikh Mohamud"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9717"
} |
musique_re_call | Who was in charge of the country Jiifyarey is located? | re_call | {
"ground_truth": [
"Hassan Sheikh Mohamud"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9718"
} |
musique_re_call | In what year did the country where the district of Jamame is located, become independent? | re_call | {
"ground_truth": [
"1960"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9719"
} |
musique_re_call | In what year did the country where the village of Roox is located become independent? | re_call | {
"ground_truth": [
"1960"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9720"
} |
musique_re_call | In what year did the country where Daharro is located become independent? | re_call | {
"ground_truth": [
"1960"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9721"
} |
musique_re_call | In what year did the country where Yurkud was located become independent? | re_call | {
"ground_truth": [
"1960"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9722"
} |
musique_re_call | In what year did the country where Horseed is located become independent? | re_call | {
"ground_truth": [
"1960"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9723"
} |
musique_re_call | In what year did the country where Bu'ale is located become independent? | re_call | {
"ground_truth": [
"1960"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9724"
} |
musique_re_call | In which year did the country that encompassed Beyra become independent? | re_call | {
"ground_truth": [
"1960"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9725"
} |
musique_re_call | In what year did the country where the Somafone company operates become independent? | re_call | {
"ground_truth": [
"1960"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9726"
} |
musique_re_call | In what year did the country where Gondershe is located become independent? | re_call | {
"ground_truth": [
"1960"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9727"
} |
musique_re_call | In what year did the country having Karkaar become independent? | re_call | {
"ground_truth": [
"1960"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9728"
} |
musique_re_call | In what year did the country where Foar was located become independent? | re_call | {
"ground_truth": [
"1960"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9729"
} |
musique_re_call | In what year did the country where Ibrahim Okash a citizen become independent? | re_call | {
"ground_truth": [
"1960"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9730"
} |
musique_re_call | Where is the new island forming in the state where Ekuan spent his childhood? | re_call | {
"ground_truth": [
"about 35 km (22 mi) off the southeast coast of the island of Hawaii",
"HI",
"Hawaii"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9731"
} |
musique_re_call | What is the area code of the state where KPHI is located? | re_call | {
"ground_truth": [
"808"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9732"
} |
musique_re_call | Where is the new island forming in the US state having KPHI? | re_call | {
"ground_truth": [
"about 35 km (22 mi) off the southeast coast of the island of Hawaii",
"HI",
"Hawaii",
"State of Hawaii"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9733"
} |
musique_re_call | Who is the current mayor of the city where Titanic departed from in the movie? | re_call | {
"ground_truth": [
"Linda Norris"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9734"
} |
musique_re_call | What is the area code for the state where Ekuan spent his childhood? | re_call | {
"ground_truth": [
"808"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9735"
} |
musique_re_call | Where is the new island forming in the state where The Fairmont Orchid is located? | re_call | {
"ground_truth": [
"about 35 km (22 mi) off the southeast coast of the island of Hawaii",
"HI",
"Hawaii"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9736"
} |
musique_re_call | Who is the current mayor of the city where Percy Heath died? | re_call | {
"ground_truth": [
"Linda Norris"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9737"
} |
musique_re_call | Who is the current mayor of the city where Philip Carteret died? | re_call | {
"ground_truth": [
"Linda Norris"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9738"
} |
musique_re_call | What is the area code for the state The Fairmont Orchid is located in? | re_call | {
"ground_truth": [
"808"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9739"
} |
musique_re_call | When did the state where KPHI is located become part of the U.S.? | re_call | {
"ground_truth": [
"August 12, 1898"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9740"
} |
musique_re_call | Who is the current mayor of the city Chris Wilkinson is from? | re_call | {
"ground_truth": [
"Linda Norris"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9741"
} |
musique_re_call | What is the area code of the state that owns Aloha Stadium? | re_call | {
"ground_truth": [
"808"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9742"
} |
musique_re_call | Where is the new island forming in the state where Submillimeter Array is located? | re_call | {
"ground_truth": [
"about 35 km (22 mi) off the southeast coast of the island of Hawaii",
"HI",
"Hawaii"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9743"
} |
musique_re_call | What is the hockey club of the town where Titanic departed from in the movie called? | re_call | {
"ground_truth": [
"Southampton Hockey Club"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9744"
} |
musique_re_call | Where is the new island forming in the state where the new Magnum PI was filmed? | re_call | {
"ground_truth": [
"about 35 km (22 mi) off the southeast coast of the island of Hawaii",
"HI",
"Hawaii"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9745"
} |
musique_re_call | Where is the new island forming in the state that owns Aloha Stadium? | re_call | {
"ground_truth": [
"about 35 km (22 mi) off the southeast coast of the island of Hawaii",
"Hawaii, United States",
"Hawaii",
"HI"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9746"
} |
musique_re_call | what is the area code for the state in which Submillimeter Array is located? | re_call | {
"ground_truth": [
"808"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9747"
} |
musique_re_call | Who is the current mayor of the location where Georges Ridges died? | re_call | {
"ground_truth": [
"Linda Norris"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9748"
} |
musique_re_call | When was the last time the state where KPHI is located was hit by a hurricane? | re_call | {
"ground_truth": [
"August 2018"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9749"
} |
musique_re_call | Who is the current mayor of the city where Ralph Ruffell died? | re_call | {
"ground_truth": [
"Linda Norris"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9750"
} |
musique_re_call | When was the last time the place where Ekuan spent his childhood was hit by a hurricane? | re_call | {
"ground_truth": [
"August 2018"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9751"
} |
musique_re_call | What is the area code for the state the new Magnum PI filmed in? | re_call | {
"ground_truth": [
"808"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9752"
} |
musique_re_call | When did the location where Ekuran spent his childhood become part of the United States? | re_call | {
"ground_truth": [
"August 12, 1898"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9753"
} |
musique_re_call | Who led the us movement to take over the island where Ekuan spent his childhood? | re_call | {
"ground_truth": [
"John L. Stevens"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9754"
} |
musique_re_call | Who led the movement to take control of the island where KPHI broadcasts? | re_call | {
"ground_truth": [
"John L. Stevens"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9755"
} |
musique_re_call | What is the area code of the state where Arnond Vongvanij was born? | re_call | {
"ground_truth": [
"808"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9756"
} |
musique_re_call | Where is the new island forming in the state where Brett Weston died? | re_call | {
"ground_truth": [
"about 35 km (22 mi) off the southeast coast of the island of Hawaii",
"HI",
"Hawaii"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9757"
} |
musique_re_call | Who is the current mayor of the place Samuel Escue Tillman died? | re_call | {
"ground_truth": [
"Linda Norris"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9758"
} |
musique_re_call | What is the area code for the state where Halona Blowhole is located? | re_call | {
"ground_truth": [
"808"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9759"
} |
musique_re_call | Who is the current mayor of Joseph Gelfer's birthplace? | re_call | {
"ground_truth": [
"Linda Norris"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9760"
} |
musique_re_call | What is the area code for the state where Pearl Harbor is located? | re_call | {
"ground_truth": [
"808"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9761"
} |
musique_re_call | What is the hockey club in the city where Ralph Ruffell died? | re_call | {
"ground_truth": [
"Southampton Hockey Club"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9762"
} |
musique_re_call | Who is the current mayor of the place where Holyrood estate is located? | re_call | {
"ground_truth": [
"Linda Norris"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9763"
} |
musique_re_call | Who is the current mayor of the birthplace of Adrian Aymes? | re_call | {
"ground_truth": [
"Linda Norris"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9764"
} |
musique_re_call | Who is the current mayor of the headquarters location of SCA Group? | re_call | {
"ground_truth": [
"Linda Norris"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9765"
} |
musique_re_call | Who is the current mayor of the birthplace of Foots Walker? | re_call | {
"ground_truth": [
"Linda Norris"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9766"
} |
musique_re_call | Who is current mayor of the city where Walter Parsons was born? | re_call | {
"ground_truth": [
"Linda Norris"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9767"
} |
musique_re_call | Where is the new island forming in the state where Hālona Blowhole is located? | re_call | {
"ground_truth": [
"about 35 km (22 mi) off the southeast coast of the island of Hawaii",
"HI",
"Hawaii"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9768"
} |
musique_re_call | Who is the current mayor of the Michael Langrish's birthplace? | re_call | {
"ground_truth": [
"Linda Norris"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9769"
} |
musique_re_call | Who is current mayor of the city where George Fiott Day was born? | re_call | {
"ground_truth": [
"Linda Norris"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9770"
} |
musique_re_call | Who is the current mayor of the birthplace of James Tooley? | re_call | {
"ground_truth": [
"Linda Norris"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9771"
} |
musique_re_call | What is the hockey club in the place Philip Carteret died named? | re_call | {
"ground_truth": [
"Southampton Hockey Club"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9772"
} |
musique_re_call | When did the state that owns Aloha Stadium become a part of the U.S.? | re_call | {
"ground_truth": [
"August 12, 1898"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9773"
} |
musique_re_call | Who is the current mayor of Howard Wood's birthplace? | re_call | {
"ground_truth": [
"Linda Norris"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9774"
} |
musique_re_call | Where is the new island forming in the state where Arnond Vongvanij was born? | re_call | {
"ground_truth": [
"about 35 km (22 mi) off the southeast coast of the island of Hawaii",
"HI",
"Hawaii"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9775"
} |
musique_re_call | When was the last time the state which owns Aloha Stadium was hit by a hurricane? | re_call | {
"ground_truth": [
"August 2018"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9776"
} |
musique_re_call | Who is the current mayor of Jona Lewie's birthplace? | re_call | {
"ground_truth": [
"Linda Norris"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9777"
} |
musique_re_call | What's the name of the hockey club in the city where Percy Heath died? | re_call | {
"ground_truth": [
"Southampton Hockey Club"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9778"
} |
musique_re_call | Who's the current Mayor of the location where Griffon Hoverwork is headquartered? | re_call | {
"ground_truth": [
"Linda Norris"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9779"
} |
musique_re_call | What is the hockey club of the city where George Ridges died? | re_call | {
"ground_truth": [
"Southampton Hockey Club"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9780"
} |
musique_re_call | What is the area code for the state where Kanye based himself to create his next album? | re_call | {
"ground_truth": [
"808"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9781"
} |
musique_re_call | Who is the current Mayor of the state Swaythling railway station is located? | re_call | {
"ground_truth": [
"Linda Norris"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9782"
} |
musique_re_call | Where is the new island forming in the state that has Pearl Harbor? | re_call | {
"ground_truth": [
"about 35 km (22 mi) off the southeast coast of the island of Hawaii",
"HI",
"Hawaii",
"State of Hawaii"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9783"
} |
musique_re_call | When was the last time the state where the new Magnum PI is filmed was hit by a hurricane? | re_call | {
"ground_truth": [
"August 2018"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9784"
} |
musique_re_call | Where is the new island forming in the 50th state to join the U.S.? | re_call | {
"ground_truth": [
"about 35 km (22 mi) off the southeast coast of the island of Hawaii",
"HI",
"Hawaii"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9785"
} |
musique_re_call | What is the area code of the 50th state to join the United States? | re_call | {
"ground_truth": [
"808"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9786"
} |
musique_re_call | Who is the current mayor of the birthplace of John May? | re_call | {
"ground_truth": [
"Linda Norris"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9787"
} |
musique_re_call | When did the state where The Fairmont Orchid is located become part of the United States? | re_call | {
"ground_truth": [
"August 12, 1898"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9788"
} |
musique_re_call | When did the state where Submillimeter Array is located become part of the United States? | re_call | {
"ground_truth": [
"August 12, 1898"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9789"
} |
musique_re_call | When was the last time the state where The Fairmont Orchid is located was hit by a hurricane? | re_call | {
"ground_truth": [
"August 2018"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9790"
} |
musique_re_call | What is the hockey club named in the city Chris Wilkinson is from? | re_call | {
"ground_truth": [
"Southampton Hockey Club"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9791"
} |
musique_re_call | Where is the new island forming where Kanye based himself to create his next album? | re_call | {
"ground_truth": [
"about 35 km (22 mi) off the southeast coast of the island of Hawaii",
"HI",
"Hawaii"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9792"
} |
musique_re_call | Who is the current Mayor of the birthplace of James Zebiela? | re_call | {
"ground_truth": [
"Linda Norris"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9793"
} |
musique_re_call | When was the last time the state the Submillimeter Array is located was hit by a hurricane? | re_call | {
"ground_truth": [
"August 2018"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9794"
} |
musique_re_call | When did the location where the new Magnum PI is filmed at become part of the United States? | re_call | {
"ground_truth": [
"August 12, 1898"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9795"
} |
musique_re_call | What's the name of the hockey club from James Tooley's birthplace? | re_call | {
"ground_truth": [
"Southampton Hockey Club"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9796"
} |
musique_re_call | When was Arnond Vongvanij's birth state last hit by a hurricane? | re_call | {
"ground_truth": [
"August 2018"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9797"
} |
musique_re_call | What's the name of the hockey club from Joseph Gelfer's birthplace? | re_call | {
"ground_truth": [
"Southampton Hockey Club"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9798"
} |
musique_re_call | Who is the current mayor of the the city of which Woolston is a suburb? | re_call | {
"ground_truth": [
"Linda Norris"
],
"style": "rule"
} | {
"env": "import requests\n\ndef wikipedia_search(query: str, top_n: int = 5):\n url = \"<search-url-placeholder>/search\"\n \n if query == '':\n return 'invalid query'\n \n data = {'query': query, 'top_n': top_n}\n response = requests.post(url, json=data)\n retrieval_text = ''\n for line in response.json():\n retrieval_text += f\"{line['contents']}\\n\\n\"\n retrieval_text = retrieval_text.strip()\n \n return retrieval_text",
"func_schemas": "[\n {\n \"type\": \"function\",\n \"function\": {\n \"name\": \"wikipedia_search\",\n \"description\": \"Search Wikipedia for a given query.\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"query\": {\n \"type\": \"string\",\n \"description\": \"Query to search for.\"\n },\n \"top_n\": {\n \"type\": \"integer\",\n \"description\": \"Number of results to return. The default value is 5.\",\n \"default\": 5\n }\n },\n \"required\": [\n \"query\"\n ]\n }\n }\n }\n]",
"id": "train_9799"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.