Dataset Viewer
Auto-converted to Parquet Duplicate
sample_id
string
user_id
string
id
int64
time
string
query
dict
answer
unknown
user_history
string
u1_gpt_000000
u1
0
2025-06-26 19:13
{ "Minimum Difficulty": [ "Can you find me a cycling route from Huawei F3 to Glenfield Dental Hospital that avoids congestion?" ], "Low Difficulty": [ "I need a cycling route from Huawei F3 to Glenfield Dental Hospital, can you help?", "What's the best way to cycle from Huawei F3 to Glenfield Dental H...
{ "apitype": "transport", "toolname": "GaodeMap", "apiname": "get_path", "parameters": { "start_name": "Huawei F3", "end_name": "Glenfield Dental Hospital", "cartype": "cycling", "strategy": "least_congestion" }, "temporal_parameters": [ "start_name" ] }
[{"time": "2025-06-26 07:47", "apitype": "reminder", "toolname": "SystemClock", "apiname": "add_alarm", "fulltoolname": "reminder.SystemClock.add_alarm", "parameters": {"time": "07:47", "message": "Wake up", "remind_time": "weekdays_only"}}, {"time": "2025-06-26 08:00", "apitype": "transport", "toolname": "GaodeMap", "...
u1_gpt_000001
u1
1
2025-06-26 20:30
{ "Minimum Difficulty": [ "Can you help me find the shortest cycling route from Glenfield Dental Hospital to Longsheng Metro Station?" ], "Low Difficulty": [ "What's the best cycling route from Glenfield Dental Hospital to Longsheng Metro Station?", "Can you find me a cycling route from Glenfield Dent...
{ "apitype": "transport", "toolname": "GaodeMap", "apiname": "get_path", "parameters": { "start_name": "Glenfield Dental Hospital", "end_name": "Longsheng Metro Station", "cartype": "cycling", "strategy": "shortest_distance" }, "temporal_parameters": [ "start_name", "end_name" ] }
[{"time": "2025-06-26 07:47", "apitype": "reminder", "toolname": "SystemClock", "apiname": "add_alarm", "fulltoolname": "reminder.SystemClock.add_alarm", "parameters": {"time": "07:47", "message": "Wake up", "remind_time": "weekdays_only"}}, {"time": "2025-06-26 08:00", "apitype": "transport", "toolname": "GaodeMap", "...
u1_gpt_000002
u1
2
2025-06-27 08:00
{ "Minimum Difficulty": [ "Can you help me find the best cycling route from Longsheng Metro Station to Huawei F3 with the shortest distance?" ], "Low Difficulty": [ "What's the best cycling route from Longsheng Metro Station to Huawei F3?", "Can you find me a route from Longsheng Metro Station to Huaw...
{ "apitype": "transport", "toolname": "GaodeMap", "apiname": "get_path", "parameters": { "start_name": "Longsheng Metro Station", "end_name": "Huawei F3", "cartype": "cycling", "strategy": "shortest_distance" }, "temporal_parameters": [ "start_name" ] }
[{"time": "2025-06-26 07:47", "apitype": "reminder", "toolname": "SystemClock", "apiname": "add_alarm", "fulltoolname": "reminder.SystemClock.add_alarm", "parameters": {"time": "07:47", "message": "Wake up", "remind_time": "weekdays_only"}}, {"time": "2025-06-26 08:00", "apitype": "transport", "toolname": "GaodeMap", "...
u1_gpt_000003
u1
3
2025-06-27 08:50
{ "Minimum Difficulty": [ "I'm looking for Anchor Butter on Taobao, can you show me the comprehensive ranking?" ], "Low Difficulty": [ "Can you find Anchor Butter on Taobao for me?", "Show me Anchor Butter on Taobao with comprehensive ranking." ], "Medium Difficulty": [ "Find Anchor Butter for...
{ "apitype": "shopping", "toolname": "Taobao", "apiname": "search_goods", "parameters": { "keyword": "Anchor Butter", "sort_by": "comprehensive_ranking" } }
[{"time": "2025-06-26 07:47", "apitype": "reminder", "toolname": "SystemClock", "apiname": "add_alarm", "fulltoolname": "reminder.SystemClock.add_alarm", "parameters": {"time": "07:47", "message": "Wake up", "remind_time": "weekdays_only"}}, {"time": "2025-06-26 08:00", "apitype": "transport", "toolname": "GaodeMap", "...
u1_gpt_000004
u1
4
2025-06-27 12:00
{ "Minimum Difficulty": [ "I'm at Huawei F3 and looking for some food delivery options. Can you recommend restaurants that serve Stir-fried Pork with Chili Peppers and Steamed Egg, sorted by default?" ], "Low Difficulty": [ "Can you recommend some delivery restaurants at Huawei F3 that serve Stir-fried Po...
{ "apitype": "food", "toolname": "Meituan", "apiname": "recommend_restaurant", "parameters": { "location": "Huawei F3", "is_delivery": true, "food": [ "Stir-fried Pork with Chili Peppers", "Steamed Egg" ], "order_by": "default_sorting" }, "temporal_parameters": [ "locatio...
[{"time": "2025-06-26 07:47", "apitype": "reminder", "toolname": "SystemClock", "apiname": "add_alarm", "fulltoolname": "reminder.SystemClock.add_alarm", "parameters": {"time": "07:47", "message": "Wake up", "remind_time": "weekdays_only"}}, {"time": "2025-06-26 08:00", "apitype": "transport", "toolname": "GaodeMap", "...
u1_gpt_000005
u1
5
2025-06-27 12:05
{ "Minimum Difficulty": [ "I'm looking for anime videos related to 'Throne of Seal' on Tencent Video." ], "Low Difficulty": [ "Can you find some anime videos about 'Throne of Seal'?", "Search for 'Throne of Seal' in the anime category." ], "Medium Difficulty": [ "Find some anime videos for me....
{ "apitype": "entertainment", "toolname": "TencentVideo", "apiname": "search_video", "parameters": { "keyword": "Throne of Seal", "category": "anime" } }
[{"time": "2025-06-26 07:47", "apitype": "reminder", "toolname": "SystemClock", "apiname": "add_alarm", "fulltoolname": "reminder.SystemClock.add_alarm", "parameters": {"time": "07:47", "message": "Wake up", "remind_time": "weekdays_only"}}, {"time": "2025-06-26 08:00", "apitype": "transport", "toolname": "GaodeMap", "...
u1_gpt_000006
u1
6
2025-06-27 20:01
{ "Minimum Difficulty": [ "Can you find the best cycling route from Clumsy Radish to Rainbow Shopping Center with the shortest distance?" ], "Low Difficulty": [ "What's the best cycling path from Clumsy Radish to Rainbow Shopping Center?", "Can you find the shortest route from Clumsy Radish to Rainbow...
{ "apitype": "transport", "toolname": "GaodeMap", "apiname": "get_path", "parameters": { "start_name": "Clumsy Radish", "end_name": "Rainbow Shopping Center", "cartype": "cycling", "strategy": "shortest_distance" } }
[{"time": "2025-06-26 07:47", "apitype": "reminder", "toolname": "SystemClock", "apiname": "add_alarm", "fulltoolname": "reminder.SystemClock.add_alarm", "parameters": {"time": "07:47", "message": "Wake up", "remind_time": "weekdays_only"}}, {"time": "2025-06-26 08:00", "apitype": "transport", "toolname": "GaodeMap", "...
u1_gpt_000007
u1
7
2025-06-27 22:00
{ "Minimum Difficulty": [ "Can you help me find the best cycling route from Walmart to Longsheng Metro Station with the shortest distance?" ], "Low Difficulty": [ "What's the best cycling path from Walmart to Longsheng Metro Station?", "Can you find me a route from Walmart to Longsheng Metro Station t...
{ "apitype": "transport", "toolname": "GaodeMap", "apiname": "get_path", "parameters": { "start_name": "Walmart", "end_name": "Longsheng Metro Station", "cartype": "cycling", "strategy": "shortest_distance" }, "temporal_parameters": [ "start_name" ] }
[{"time": "2025-06-26 07:47", "apitype": "reminder", "toolname": "SystemClock", "apiname": "add_alarm", "fulltoolname": "reminder.SystemClock.add_alarm", "parameters": {"time": "07:47", "message": "Wake up", "remind_time": "weekdays_only"}}, {"time": "2025-06-26 08:00", "apitype": "transport", "toolname": "GaodeMap", "...
u1_gpt_000008
u1
8
2025-06-28 07:47
{ "Minimum Difficulty": [ "Set an alarm for 07:47 with the message 'Wake up' and make it for today only." ], "Low Difficulty": [ "Set an alarm for 07:47 with the message 'Wake up' for today.", "Set an alarm for 07:47 today only." ], "Medium Difficulty": [ "Set an alarm for 07:47 today.", "...
{ "apitype": "reminder", "toolname": "SystemClock", "apiname": "add_alarm", "parameters": { "time": "07:47", "message": "Wake up", "remind_time": "today_only" } }
[{"time": "2025-06-26 07:47", "apitype": "reminder", "toolname": "SystemClock", "apiname": "add_alarm", "fulltoolname": "reminder.SystemClock.add_alarm", "parameters": {"time": "07:47", "message": "Wake up", "remind_time": "weekdays_only"}}, {"time": "2025-06-26 08:00", "apitype": "transport", "toolname": "GaodeMap", "...
u1_gpt_000009
u1
9
2025-06-28 20:10
{ "Minimum Difficulty": [ "I'm looking for yeast on Taobao, can you show me the comprehensive ranking results?" ], "Low Difficulty": [ "I need to find yeast on Taobao, can you help me with that?", "Can you search for yeast on Taobao and show me the results?" ], "Medium Difficulty": [ "Can you ...
{ "apitype": "shopping", "toolname": "Taobao", "apiname": "search_goods", "parameters": { "keyword": "Yeast", "sort_by": "comprehensive_ranking" }, "temporal_parameters": [ "keyword" ] }
[{"time": "2025-06-26 07:47", "apitype": "reminder", "toolname": "SystemClock", "apiname": "add_alarm", "fulltoolname": "reminder.SystemClock.add_alarm", "parameters": {"time": "07:47", "message": "Wake up", "remind_time": "weekdays_only"}}, {"time": "2025-06-26 08:00", "apitype": "transport", "toolname": "GaodeMap", "...
u1_gpt_000010
u1
10
2025-06-28 20:15
{ "Minimum Difficulty": [ "I'm looking for breadcrumbs on Taobao, can you show me the comprehensive ranking results?" ], "Low Difficulty": [ "Can you find breadcrumbs for me on Taobao?", "I need breadcrumbs, can you search for them on Taobao?" ], "Medium Difficulty": [ "Can you help me find so...
{ "apitype": "shopping", "toolname": "Taobao", "apiname": "search_goods", "parameters": { "keyword": "Breadcrumbs", "sort_by": "comprehensive_ranking" }, "temporal_parameters": [ "keyword" ] }
[{"time": "2025-06-26 07:47", "apitype": "reminder", "toolname": "SystemClock", "apiname": "add_alarm", "fulltoolname": "reminder.SystemClock.add_alarm", "parameters": {"time": "07:47", "message": "Wake up", "remind_time": "weekdays_only"}}, {"time": "2025-06-26 08:00", "apitype": "transport", "toolname": "GaodeMap", "...
u1_gpt_000011
u1
11
2025-06-28 20:30
{ "Minimum Difficulty": [ "I'm looking for German sausage on Taobao, can you help me find it with a comprehensive ranking?" ], "Low Difficulty": [ "Can you find German sausage for me on Taobao?", "I'm searching for German sausage, can you help me find it with a comprehensive ranking?" ], "Medium D...
{ "apitype": "shopping", "toolname": "Taobao", "apiname": "search_goods", "parameters": { "keyword": "German sausage", "sort_by": "comprehensive_ranking" } }
[{"time": "2025-06-26 07:47", "apitype": "reminder", "toolname": "SystemClock", "apiname": "add_alarm", "fulltoolname": "reminder.SystemClock.add_alarm", "parameters": {"time": "07:47", "message": "Wake up", "remind_time": "weekdays_only"}}, {"time": "2025-06-26 08:00", "apitype": "transport", "toolname": "GaodeMap", "...
u1_gpt_000012
u1
12
2025-06-29 09:50
{ "Minimum Difficulty": [ "I'm at Longsheng Metro Station and want to order Changde Beef Rice Noodles for delivery. Can you recommend some restaurants?" ], "Low Difficulty": [ "I'm at Longsheng Metro Station and want to order Changde Beef Rice Noodles. Any delivery options?", "Can you recommend some d...
{ "apitype": "food", "toolname": "Meituan", "apiname": "recommend_restaurant", "parameters": { "location": "Longsheng Metro Station", "is_delivery": true, "food": [ "Changde Beef Rice Noodles" ], "order_by": "default_sorting" }, "temporal_parameters": [ "location" ] }
[{"time": "2025-06-26 07:47", "apitype": "reminder", "toolname": "SystemClock", "apiname": "add_alarm", "fulltoolname": "reminder.SystemClock.add_alarm", "parameters": {"time": "07:47", "message": "Wake up", "remind_time": "weekdays_only"}}, {"time": "2025-06-26 08:00", "apitype": "transport", "toolname": "GaodeMap", "...
u1_gpt_000013
u1
13
2025-06-29 12:00
{ "Minimum Difficulty": [ "Can you find some knowledge content about sausage buns on Xiaohongshu?" ], "Low Difficulty": [ "Can you find some content about sausage buns?", "Can you find some knowledge content about sausage buns on Xiaohongshu, sorted by the most liked?" ], "Medium Difficulty": [ ...
{ "apitype": "knowledge", "toolname": "Xiaohongshu", "apiname": "get_knowledge", "parameters": { "keyword": "sausage bun" }, "temporal_parameters": [ "keyword" ] }
[{"time": "2025-06-26 07:47", "apitype": "reminder", "toolname": "SystemClock", "apiname": "add_alarm", "fulltoolname": "reminder.SystemClock.add_alarm", "parameters": {"time": "07:47", "message": "Wake up", "remind_time": "weekdays_only"}}, {"time": "2025-06-26 08:00", "apitype": "transport", "toolname": "GaodeMap", "...
u1_gpt_000014
u1
14
2025-06-29 12:35
{ "Minimum Difficulty": [ "Can you find some information on Xiaohongshu about how to whip cream?" ], "Low Difficulty": [ "Can you find some tips on whipping cream?", "I need some advice on whipping cream, can you help?" ], "Medium Difficulty": [ "I need some help with cream, can you find somet...
{ "apitype": "knowledge", "toolname": "Xiaohongshu", "apiname": "get_knowledge", "parameters": { "keyword": "How to whip cream?" }, "temporal_parameters": [ "keyword" ] }
[{"time": "2025-06-26 07:47", "apitype": "reminder", "toolname": "SystemClock", "apiname": "add_alarm", "fulltoolname": "reminder.SystemClock.add_alarm", "parameters": {"time": "07:47", "message": "Wake up", "remind_time": "weekdays_only"}}, {"time": "2025-06-26 08:00", "apitype": "transport", "toolname": "GaodeMap", "...
u1_gpt_000015
u1
15
2025-06-29 13:40
{ "Minimum Difficulty": [ "Can you find some information on Zhihu about the Sam Massage Chair?" ], "Low Difficulty": [ "I'm looking for details on the Sam Massage Chair, can you check Zhihu for me?", "Can you search Zhihu for info on the Sam Massage Chair?" ], "Medium Difficulty": [ "Can you f...
{ "apitype": "knowledge", "toolname": "Zhihu", "apiname": "get_knowledge", "parameters": { "keyword": "Sam Massage Chair" }, "temporal_parameters": [ "keyword" ] }
[{"time": "2025-06-26 07:47", "apitype": "reminder", "toolname": "SystemClock", "apiname": "add_alarm", "fulltoolname": "reminder.SystemClock.add_alarm", "parameters": {"time": "07:47", "message": "Wake up", "remind_time": "weekdays_only"}}, {"time": "2025-06-26 08:00", "apitype": "transport", "toolname": "GaodeMap", "...
u1_gpt_000016
u1
16
2025-06-29 14:00
{ "Minimum Difficulty": [ "Can you find information on whether a spectrum beauty device is a waste of money on Zhihu?" ], "Low Difficulty": [ "Can you check if a spectrum beauty device is worth the investment?", "Is a spectrum beauty device really effective?" ], "Medium Difficulty": [ "Find ou...
{ "apitype": "knowledge", "toolname": "Zhihu", "apiname": "get_knowledge", "parameters": { "keyword": "Is a spectrum beauty device a waste of money?" } }
[{"time": "2025-06-26 07:47", "apitype": "reminder", "toolname": "SystemClock", "apiname": "add_alarm", "fulltoolname": "reminder.SystemClock.add_alarm", "parameters": {"time": "07:47", "message": "Wake up", "remind_time": "weekdays_only"}}, {"time": "2025-06-26 08:00", "apitype": "transport", "toolname": "GaodeMap", "...
End of preview. Expand in Data Studio

Dataset Usage and Format

TRAILBench is released as JSON files, where each sample corresponds to one personalized function-calling evaluation instance. Each instance contains a current user query, the ground-truth function call, and the anonymized historical tool-use records available before the query time.

Sample-Level Fields

Each sample contains the following fields:

Field Type Description
sample_id string The unique identifier of the sample within the dataset file.
id string No specific function; mainly indicates the sample index for the current user
user_id string The identifie of which user the sample belongs to
time string The timestamp of the current user query. Only user-history records before this time are available to the model.
query object A set of natural language queries with different difficulty or ambiguity levels. All query variants correspond to the same ground-truth function call.
query["Minimum Difficulty"] list of strings The most explicit query form, where the key tool and parameter information is mostly stated by the user.
query["Low Difficulty"] list of strings A slightly less explicit query form with limited omitted information.
query["Medium Difficulty"] list of strings A more ambiguous query form that requires inferring some missing information from the user history.
query["High Difficulty"] list of strings The most ambiguous query form, where the model must infer key tool or parameter information from historical context.
answer object The ground-truth function call expected from the model.
answer["apitype"] string The domain or scenario of the target function call, such as transport, food, or reminder.
answer["toolname"] string The target tool or application to be selected, such as GaodeMap.
answer["apiname"] string The target API or function name, such as get_path.
answer["parameters"] object The ground-truth parameter values of the target function call.
answer["temporal_parameters"] list of strings The parameter names of temporal context personalized parameters. Omitted if no such parameters exist.
user_history list or string The anonymized chronological interaction history of the same user before the current query. In some raw files, this field may be stored as a JSON-encoded string and should be parsed with json.loads.

User-History Fields

The user_history field records previous tool-use behaviors of the same anonymized user. Each item in user_history corresponds to one historical function call.

Field Type Description
time string The timestamp of the historical interaction.
apitype string The domain or scenario of the historical tool call, such as transport, food, or entertainment.
toolname string The application or tool used in this historical interaction.
apiname string The API or function invoked in this historical interaction.
fulltoolname string The fully qualified function name in the format apitype.toolname.apiname. This field is provided for convenience and may duplicate information already contained in apitype, toolname, and apiname.
parameters object The parameters used in the historical function call.

Notes

The user_history field may contain interactions from multiple domains, including records that are not directly relevant to the current query. This design reflects realistic long-context user histories, where useful personalized signals are mixed with noisy behaviors.

For better compatibility with standard JSON parsers, we recommend converting user_history from a JSON-encoded string into a native JSON array during preprocessing.

More details

TRAILBench is the implementation for TRAILBench: Personalized Function Calling Benchmark Grounded in Real-world User Histories. It includes a high-quality dataset of anonymized interaction histories and an evaluation suite with controlled query vagueness.

supplementary_material_for_TRAILBench.pdf in our github repository include more dataset statistics and analysis in our paper like Dataset Details, Implemention details, Experiment analysis ,Prompt for generating and so on.

License

This entire project, including both the Codebase (all evaluation scripts, baseline implementations, and data processing pipelines) and the Dataset (the TRAILBench dataset, including anonymized user interaction logs and generated queries), is licensed under the Apache License 2.0.

Downloads last month
12