Datasets:
add tool_eval_cases.jsonl
Browse files- tool_eval_cases.jsonl +8 -0
tool_eval_cases.jsonl
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"name": "weather_single_arg", "user": "What is the weather in Paris right now?", "tools": [{"type": "function", "function": {"name": "get_weather", "description": "Get current weather for a city", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}, "required": ["city"]}}}], "expect_tool": "get_weather", "expect_keys": ["city"]}
|
| 2 |
+
{"name": "calc_two_args", "user": "Add 17 and 25 using the calculator tool.", "tools": [{"type": "function", "function": {"name": "calculate", "description": "Do arithmetic", "parameters": {"type": "object", "properties": {"a": {"type": "number"}, "b": {"type": "number"}, "op": {"type": "string"}}, "required": ["a", "b", "op"]}}}], "expect_tool": "calculate", "expect_keys": ["a", "b"]}
|
| 3 |
+
{"name": "read_file_path", "user": "Read the contents of the file /etc/hosts for me.", "tools": [{"type": "function", "function": {"name": "read_file", "description": "Read a file from disk", "parameters": {"type": "object", "properties": {"path": {"type": "string"}}, "required": ["path"]}}}], "expect_tool": "read_file", "expect_keys": ["path"]}
|
| 4 |
+
{"name": "multi_tool_disambiguation", "user": "What is the weather in Tbilisi?", "tools": [{"type": "function", "function": {"name": "get_news", "description": "Get latest news headlines", "parameters": {"type": "object", "properties": {"topic": {"type": "string"}}, "required": ["topic"]}}}, {"type": "function", "function": {"name": "get_weather", "description": "Get current weather for a city", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}, "required": ["city"]}}}], "expect_tool": "get_weather", "expect_keys": ["city"]}
|
| 5 |
+
{"name": "web_search_query", "user": "Search the web for the latest stable Rust release version.", "tools": [{"type": "function", "function": {"name": "web_search", "description": "Search the web", "parameters": {"type": "object", "properties": {"query": {"type": "string"}}, "required": ["query"]}}}], "expect_tool": "web_search", "expect_keys": ["query"]}
|
| 6 |
+
{"name": "run_python_code", "user": "Run this Python code and tell me the output: print(2 + 2)", "tools": [{"type": "function", "function": {"name": "run_python", "description": "Execute Python code", "parameters": {"type": "object", "properties": {"code": {"type": "string"}}, "required": ["code"]}}}], "expect_tool": "run_python", "expect_keys": ["code"]}
|
| 7 |
+
{"name": "convert_currency_three_args", "user": "Convert 100 USD to EUR.", "tools": [{"type": "function", "function": {"name": "convert_currency", "description": "Convert an amount between currencies", "parameters": {"type": "object", "properties": {"amount": {"type": "number"}, "from": {"type": "string"}, "to": {"type": "string"}}, "required": ["amount", "from", "to"]}}}], "expect_tool": "convert_currency", "expect_keys": ["amount"]}
|
| 8 |
+
{"name": "negative_no_tool", "user": "Write a short haiku about the sea. Do not use any tools.", "tools": [{"type": "function", "function": {"name": "get_weather", "description": "Get current weather for a city", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}, "required": ["city"]}}}], "expect_tool": null, "expect_keys": []}
|