Download synth/examples/alias_examples.jsonl from fisherman611/za-data-5eb2dec0: direct link, hf CLI and curl.
- Browser
- Download file 31.7 kB
-
https://huggingface.co/datasets/fisherman611/za-data-5eb2dec0/resolve/main/synth/examples/alias_examples.jsonl
- Command line
-
hf download hf://datasets/fisherman611/za-data-5eb2dec0/synth/examples/alias_examples.jsonl
-
curl -L -o alias_examples.jsonl https://huggingface.co/datasets/fisherman611/za-data-5eb2dec0/resolve/main/synth/examples/alias_examples.jsonl
31.7 kB
| {"id": "train_1481", "audio": "audio/train_1481/train_1481.wav", "audio_text": "Gọi thầy Peter Hansen giúp tớ, à thôi, thầy đang dạy, nhắn tin xin lùi buổi gặp mai sang bốn rưỡi chiều nha.", "context": {"current_time": "2026-10-28T10:20:00+07:00", "timezone": "Asia/Ho_Chi_Minh", "location": {"lat": 21.0285, "lng": 105.8542}, "user_profile": {"name": "Em Linh", "home_address": "KTX Mỹ Đình, Nam Từ Liêm, Hà Nội", "work_address": "Đại học Ngoại thương, 91 Chùa Láng, Hà Nội", "city": "Hà Nội"}, "installed_apps": {"contacts": {"tools": ["contacts.search", "contacts.get", "contacts.update"]}, "smart_home": {"tools": ["smart_home.get_status", "smart_home.light_set", "smart_home.fan_set", "smart_home.climate_set", "smart_home.switch_set", "smart_home.scene_run"]}, "maps": {"tools": ["maps.search_place", "maps.get_route", "maps.save_place"]}, "calendar": {"tools": ["calendar.list_events", "calendar.create_event", "calendar.update_event", "calendar.cancel_event"]}, "tasks": {"tools": ["tasks.list", "tasks.add", "tasks.complete"]}, "sms": {"tools": ["sms.send", "sms.read_recent"]}, "phone": {"tools": ["phone.call", "phone.recent_calls"]}, "ewallet": {"tools": ["ewallet.get_balance", "ewallet.transfer", "ewallet.topup_mobile", "ewallet.pay_qr"]}, "exchange_rate": {"tools": ["exchange_rate.get_rate", "exchange_rate.convert"]}}}, "history": [{"role": "user", "audio": "audio/train_1481/train_1481_u1.wav", "audio_text": "Ơi, mai tớ có lịch gì không nhỉ?"}, {"role": "assistant", "text": "Mai thứ Năm bạn có hai lịch: tám giờ sáng ăn sáng với gia đình ở Nhà hàng Ngon, và ba giờ chiều gặp Peter Hansen góp ý khoá luận ở phòng 304 nhà A.", "tool_calls": [{"name": "calendar.list_events", "arguments": {"date_from": "2026-10-29", "date_to": "2026-10-29"}}], "tool_results": [{"ok": true, "events": [{"id": "evt_8551", "title": "ăn sáng với gia đình", "start": "2026-10-29T08:00:00+07:00", "end": "2026-10-29T09:00:00+07:00", "location": "Nhà hàng Ngon", "status": "confirmed"}, {"id": "evt_6124", "title": "gặp Peter Hansen góp ý khoá luận", "start": "2026-10-29T15:00:00+07:00", "end": "2026-10-29T16:00:00+07:00", "location": "Phòng 304 nhà A, Đại học Ngoại thương", "status": "confirmed"}]}]}, {"role": "user", "audio": "audio/train_1481/train_1481_u2.wav", "audio_text": "Thầy Phong có nhắn gì cho tớ không?"}, {"role": "assistant", "text": "Thầy Phong nhắn: ba giờ chiều mai bạn lên văn phòng khoa nộp bản cứng khoá luận, thầy chỉ ngồi đến bốn giờ.", "tool_calls": [{"name": "contacts.search", "arguments": {"query": "Thầy Phong"}}, {"name": "sms.read_recent", "arguments": {"contact_id": "c_9552"}}], "tool_results": [{"ok": true, "contacts": [{"id": "c_9552", "name": "Thầy Phong", "relation": "giảng viên", "phone": "09104206967"}]}, {"ok": true, "messages": [{"id": "msg_318", "contact_id": "c_9552", "phone_number": "09104206967", "direction": "incoming", "content": "Linh ơi, ba giờ chiều mai em lên văn phòng khoa nộp bản cứng khoá luận nhé, thầy chỉ ngồi đến bốn giờ thôi."}]}]}, {"role": "user", "audio": "audio/train_1481/train_1481_u3.wav", "audio_text": "Ôi trùng rồi. Thế bốn rưỡi chiều mai tớ có rảnh không?"}, {"role": "assistant", "text": "Bốn rưỡi chiều mai bạn đang trống lịch, sau buổi ba giờ thì không còn lịch nào nữa.", "tool_calls": []}, {"role": "user", "audio": "audio/train_1481/train_1481_u4.wav", "audio_text": "Ừ, nhắn Trang là chiều mai tớ bận, không đi ăn được nha."}, {"role": "assistant", "text": "Đã nhắn Trang: chiều mai tớ bận, không đi ăn được nha.", "tool_calls": [{"name": "contacts.search", "arguments": {"query": "Trang"}}, {"name": "sms.send", "arguments": {"contact_id": "c_107", "content": "Chiều mai tớ bận, không đi ăn được nha"}}], "tool_results": [{"ok": true, "contacts": [{"id": "c_107", "name": "Trang", "relation": "bạn cùng phòng", "phone": "09859360044"}]}, {"ok": true, "message": {"id": "msg_03", "contact_id": "c_107", "phone_number": "09859360044", "direction": "outgoing", "content": "Chiều mai tớ bận, không đi ăn được nha"}}]}], "label": {"tool_calls": [{"name": "contacts.search", "arguments": {"query": "Peter Hansen"}}, {"name": "sms.send", "arguments": {"contact_id": "c_4183", "content": "Em xin lùi buổi gặp ngày mai sang bốn rưỡi chiều ạ"}}], "tool_results": [{"ok": true, "contacts": [{"id": "c_4183", "name": "Peter Hansen", "relation": "giáo sư hướng dẫn khoá luận", "phone": "09137264058"}]}, {"ok": true, "message": {"id": "msg_04", "contact_id": "c_4183", "phone_number": "09137264058", "direction": "outgoing", "content": "Em xin lùi buổi gặp ngày mai sang bốn rưỡi chiều ạ"}}], "final_state": {"sms": {"messages": [{"id": "msg_318", "contact_id": "c_9552", "phone_number": "09104206967", "direction": "incoming", "content": "Linh ơi, ba giờ chiều mai em lên văn phòng khoa nộp bản cứng khoá luận nhé, thầy chỉ ngồi đến bốn giờ thôi."}, {"id": "msg_142", "contact_id": "c_857", "phone_number": "09621734608", "direction": "incoming", "content": "Cuối tuần về nhà không em?"}, {"id": "msg_03", "contact_id": "c_107", "phone_number": "09859360044", "direction": "outgoing", "content": "Chiều mai tớ bận, không đi ăn được nha"}, {"id": "msg_04", "contact_id": "c_4183", "phone_number": "09137264058", "direction": "outgoing", "content": "Em xin lùi buổi gặp ngày mai sang bốn rưỡi chiều ạ"}]}}}} | |
| {"id": "train_1481#al1", "audio": "audio/train_1481/train_1481.wav", "audio_text": "Gọi thầy Peter Hansen giúp tớ, à thôi, thầy đang dạy, nhắn tin xin lùi buổi gặp mai sang bốn rưỡi chiều nha.", "context": {"current_time": "2026-10-28T10:20:00+07:00", "timezone": "Asia/Ho_Chi_Minh", "location": {"lat": 21.0285, "lng": 105.8542}, "user_profile": {"name": "Em Linh", "home_address": "KTX Mỹ Đình, Nam Từ Liêm, Hà Nội", "work_address": "Đại học Ngoại thương, 91 Chùa Láng, Hà Nội", "city": "Hà Nội"}, "installed_apps": {"danh_ba": {"tools": ["danh_ba.tim_kiem", "danh_ba.xem", "danh_ba.sua"]}, "smart_home": {"tools": ["smart_home.get_status", "smart_home.light_set", "smart_home.fan_set", "smart_home.climate_set", "smart_home.switch_set", "smart_home.scene_run"]}, "maps": {"tools": ["maps.search_place", "maps.get_route", "maps.save_place"]}, "calendar": {"tools": ["calendar.list_events", "calendar.create_event", "calendar.update_event", "calendar.cancel_event"]}, "tasks": {"tools": ["tasks.list", "tasks.add", "tasks.complete"]}, "tin_nhan": {"tools": ["tin_nhan.gui", "tin_nhan.doc_gan_day"]}, "phone": {"tools": ["phone.call", "phone.recent_calls"]}, "ewallet": {"tools": ["ewallet.get_balance", "ewallet.transfer", "ewallet.topup_mobile", "ewallet.pay_qr"]}, "exchange_rate": {"tools": ["exchange_rate.get_rate", "exchange_rate.convert"]}}}, "history": [{"role": "user", "audio": "audio/train_1481/train_1481_u1.wav", "audio_text": "Ơi, mai tớ có lịch gì không nhỉ?"}, {"role": "assistant", "text": "Mai thứ Năm bạn có hai lịch: tám giờ sáng ăn sáng với gia đình ở Nhà hàng Ngon, và ba giờ chiều gặp Peter Hansen góp ý khoá luận ở phòng 304 nhà A.", "tool_calls": [{"name": "calendar.list_events", "arguments": {"date_from": "2026-10-29", "date_to": "2026-10-29"}}], "tool_results": [{"ok": true, "events": [{"id": "evt_8551", "title": "ăn sáng với gia đình", "start": "2026-10-29T08:00:00+07:00", "end": "2026-10-29T09:00:00+07:00", "location": "Nhà hàng Ngon", "status": "confirmed"}, {"id": "evt_6124", "title": "gặp Peter Hansen góp ý khoá luận", "start": "2026-10-29T15:00:00+07:00", "end": "2026-10-29T16:00:00+07:00", "location": "Phòng 304 nhà A, Đại học Ngoại thương", "status": "confirmed"}]}]}, {"role": "user", "audio": "audio/train_1481/train_1481_u2.wav", "audio_text": "Thầy Phong có nhắn gì cho tớ không?"}, {"role": "assistant", "text": "Thầy Phong nhắn: ba giờ chiều mai bạn lên văn phòng khoa nộp bản cứng khoá luận, thầy chỉ ngồi đến bốn giờ.", "tool_calls": [{"name": "danh_ba.tim_kiem", "arguments": {"tu_khoa": "Thầy Phong"}}, {"name": "tin_nhan.doc_gan_day", "arguments": {"ma_lien_he": "c_9552"}}], "tool_results": [{"ok": true, "contacts": [{"id": "c_9552", "name": "Thầy Phong", "relation": "giảng viên", "phone": "09104206967"}]}, {"ok": true, "messages": [{"id": "msg_318", "contact_id": "c_9552", "phone_number": "09104206967", "direction": "incoming", "content": "Linh ơi, ba giờ chiều mai em lên văn phòng khoa nộp bản cứng khoá luận nhé, thầy chỉ ngồi đến bốn giờ thôi."}]}]}, {"role": "user", "audio": "audio/train_1481/train_1481_u3.wav", "audio_text": "Ôi trùng rồi. Thế bốn rưỡi chiều mai tớ có rảnh không?"}, {"role": "assistant", "text": "Bốn rưỡi chiều mai bạn đang trống lịch, sau buổi ba giờ thì không còn lịch nào nữa.", "tool_calls": []}, {"role": "user", "audio": "audio/train_1481/train_1481_u4.wav", "audio_text": "Ừ, nhắn Trang là chiều mai tớ bận, không đi ăn được nha."}, {"role": "assistant", "text": "Đã nhắn Trang: chiều mai tớ bận, không đi ăn được nha.", "tool_calls": [{"name": "danh_ba.tim_kiem", "arguments": {"tu_khoa": "Trang"}}, {"name": "tin_nhan.gui", "arguments": {"ma_lien_he": "c_107", "noi_dung": "Chiều mai tớ bận, không đi ăn được nha"}}], "tool_results": [{"ok": true, "contacts": [{"id": "c_107", "name": "Trang", "relation": "bạn cùng phòng", "phone": "09859360044"}]}, {"ok": true, "message": {"id": "msg_03", "contact_id": "c_107", "phone_number": "09859360044", "direction": "outgoing", "content": "Chiều mai tớ bận, không đi ăn được nha"}}]}], "label": {"tool_calls": [{"name": "danh_ba.tim_kiem", "arguments": {"tu_khoa": "Peter Hansen"}}, {"name": "tin_nhan.gui", "arguments": {"ma_lien_he": "c_4183", "noi_dung": "Em xin lùi buổi gặp ngày mai sang bốn rưỡi chiều ạ"}}], "tool_results": [{"ok": true, "contacts": [{"id": "c_4183", "name": "Peter Hansen", "relation": "giáo sư hướng dẫn khoá luận", "phone": "09137264058"}]}, {"ok": true, "message": {"id": "msg_04", "contact_id": "c_4183", "phone_number": "09137264058", "direction": "outgoing", "content": "Em xin lùi buổi gặp ngày mai sang bốn rưỡi chiều ạ"}}], "final_state": {"sms": {"messages": [{"id": "msg_318", "contact_id": "c_9552", "phone_number": "09104206967", "direction": "incoming", "content": "Linh ơi, ba giờ chiều mai em lên văn phòng khoa nộp bản cứng khoá luận nhé, thầy chỉ ngồi đến bốn giờ thôi."}, {"id": "msg_142", "contact_id": "c_857", "phone_number": "09621734608", "direction": "incoming", "content": "Cuối tuần về nhà không em?"}, {"id": "msg_03", "contact_id": "c_107", "phone_number": "09859360044", "direction": "outgoing", "content": "Chiều mai tớ bận, không đi ăn được nha"}, {"id": "msg_04", "contact_id": "c_4183", "phone_number": "09137264058", "direction": "outgoing", "content": "Em xin lùi buổi gặp ngày mai sang bốn rưỡi chiều ạ"}]}}}, "catalog_overlay": [{"name": "danh_ba.tim_kiem", "kind": "read", "description": "Tra cứu người trong danh bạ theo tên, mối quan hệ hoặc số máy; khớp một phần, bỏ qua dấu và hoa thường; bỏ trống thì liệt kê toàn bộ", "parameters": {"type": "object", "properties": {"tu_khoa": {"type": "string", "description": "Tên, quan hệ (mẹ, vợ, sếp) hoặc số điện thoại"}}, "required": []}, "returns": "contacts[]", "app": "danh_ba"}, {"name": "danh_ba.xem", "kind": "read", "description": "Xem đầy đủ thông tin một người trong danh bạ", "parameters": {"type": "object", "properties": {"ma_lien_he": {"type": "string", "description": "ID liên hệ, lấy từ danh_ba.tim_kiem", "x-ref": "danh_ba.contacts"}}, "required": ["ma_lien_he"]}, "returns": "contacts[]", "app": "danh_ba"}, {"name": "danh_ba.sua", "kind": "write", "description": "Cập nhật số điện thoại hoặc email của một người trong danh bạ", "parameters": {"type": "object", "properties": {"ma_lien_he": {"type": "string", "description": "ID liên hệ, lấy từ danh_ba.tim_kiem", "x-ref": "danh_ba.contacts"}, "phone": {"type": "string", "description": "Giữ nguyên chuỗi, ví dụ 09123456785"}, "email": {"type": "string"}}, "required": ["ma_lien_he"], "x-one-of": [["phone"], ["email"]]}, "returns": "", "app": "danh_ba"}, {"name": "tin_nhan.gui", "kind": "write", "description": "Gửi tin nhắn thường (SMS) ngay lập tức tới một người trong danh bạ hoặc một số máy; phải có ma_lien_he hoặc so_may, và noi_dung", "parameters": {"type": "object", "properties": {"ma_lien_he": {"type": "string", "description": "ID liên hệ, lấy từ danh_ba.tim_kiem", "x-ref": "danh_ba.contacts"}, "so_may": {"type": "string", "description": "Số điện thoại, giữ nguyên chuỗi, ví dụ 09123456785"}, "noi_dung": {"type": "string", "x-match": "fuzzy"}}, "required": ["noi_dung"], "x-one-of": [["ma_lien_he"], ["so_may"]]}, "returns": "", "app": "tin_nhan"}, {"name": "tin_nhan.doc_gan_day", "kind": "read", "description": "Đọc các tin nhắn thường mới nhất, có thể lọc theo người", "parameters": {"type": "object", "properties": {"ma_lien_he": {"type": "string", "description": "ID liên hệ, lấy từ danh_ba.tim_kiem", "x-ref": "danh_ba.contacts"}, "so_luong": {"type": "integer", "description": "Số nguyên, không dấu chấm hay phẩy, ví dụ 2"}}, "required": []}, "returns": "messages[]", "app": "tin_nhan"}], "aug": {"alias": ["danh_ba@a1", "tin_nhan@a1"], "decoys": [], "history_calls_renamed": 4, "pair_id": "train_1481", "canon": {"danh_ba.tim_kiem": "contacts.search", "danh_ba.xem": "contacts.get", "danh_ba.sua": "contacts.update", "tin_nhan.gui": "sms.send", "tin_nhan.doc_gan_day": "sms.read_recent"}}} | |
| {"id": "train_1481#al2", "audio": "audio/train_1481/train_1481.wav", "audio_text": "Gọi thầy Peter Hansen giúp tớ, à thôi, thầy đang dạy, nhắn tin xin lùi buổi gặp mai sang bốn rưỡi chiều nha.", "context": {"current_time": "2026-10-28T10:20:00+07:00", "timezone": "Asia/Ho_Chi_Minh", "location": {"lat": 21.0285, "lng": 105.8542}, "user_profile": {"name": "Em Linh", "home_address": "KTX Mỹ Đình, Nam Từ Liêm, Hà Nội", "work_address": "Đại học Ngoại thương, 91 Chùa Láng, Hà Nội", "city": "Hà Nội"}, "installed_apps": {"app_q7": {"tools": ["app_q7.fn_02", "app_q7.fn_05", "app_q7.fn_01"]}, "smart_home": {"tools": ["smart_home.get_status", "smart_home.light_set", "smart_home.fan_set", "smart_home.climate_set", "smart_home.switch_set", "smart_home.scene_run"]}, "maps": {"tools": ["maps.search_place", "maps.get_route", "maps.save_place"]}, "calendar": {"tools": ["calendar.list_events", "calendar.create_event", "calendar.update_event", "calendar.cancel_event"]}, "tasks": {"tools": ["tasks.list", "tasks.add", "tasks.complete"]}, "app_k3": {"tools": ["app_k3.fn_04", "app_k3.fn_09"]}, "phone": {"tools": ["phone.call", "phone.recent_calls"]}, "ewallet": {"tools": ["ewallet.get_balance", "ewallet.transfer", "ewallet.topup_mobile", "ewallet.pay_qr"]}, "exchange_rate": {"tools": ["exchange_rate.get_rate", "exchange_rate.convert"]}}}, "history": [{"role": "user", "audio": "audio/train_1481/train_1481_u1.wav", "audio_text": "Ơi, mai tớ có lịch gì không nhỉ?"}, {"role": "assistant", "text": "Mai thứ Năm bạn có hai lịch: tám giờ sáng ăn sáng với gia đình ở Nhà hàng Ngon, và ba giờ chiều gặp Peter Hansen góp ý khoá luận ở phòng 304 nhà A.", "tool_calls": [{"name": "calendar.list_events", "arguments": {"date_from": "2026-10-29", "date_to": "2026-10-29"}}], "tool_results": [{"ok": true, "events": [{"id": "evt_8551", "title": "ăn sáng với gia đình", "start": "2026-10-29T08:00:00+07:00", "end": "2026-10-29T09:00:00+07:00", "location": "Nhà hàng Ngon", "status": "confirmed"}, {"id": "evt_6124", "title": "gặp Peter Hansen góp ý khoá luận", "start": "2026-10-29T15:00:00+07:00", "end": "2026-10-29T16:00:00+07:00", "location": "Phòng 304 nhà A, Đại học Ngoại thương", "status": "confirmed"}]}]}, {"role": "user", "audio": "audio/train_1481/train_1481_u2.wav", "audio_text": "Thầy Phong có nhắn gì cho tớ không?"}, {"role": "assistant", "text": "Thầy Phong nhắn: ba giờ chiều mai bạn lên văn phòng khoa nộp bản cứng khoá luận, thầy chỉ ngồi đến bốn giờ.", "tool_calls": [{"name": "app_q7.fn_02", "arguments": {"p1": "Thầy Phong"}}, {"name": "app_k3.fn_09", "arguments": {"p1": "c_9552"}}], "tool_results": [{"ok": true, "contacts": [{"id": "c_9552", "name": "Thầy Phong", "relation": "giảng viên", "phone": "09104206967"}]}, {"ok": true, "messages": [{"id": "msg_318", "contact_id": "c_9552", "phone_number": "09104206967", "direction": "incoming", "content": "Linh ơi, ba giờ chiều mai em lên văn phòng khoa nộp bản cứng khoá luận nhé, thầy chỉ ngồi đến bốn giờ thôi."}]}]}, {"role": "user", "audio": "audio/train_1481/train_1481_u3.wav", "audio_text": "Ôi trùng rồi. Thế bốn rưỡi chiều mai tớ có rảnh không?"}, {"role": "assistant", "text": "Bốn rưỡi chiều mai bạn đang trống lịch, sau buổi ba giờ thì không còn lịch nào nữa.", "tool_calls": []}, {"role": "user", "audio": "audio/train_1481/train_1481_u4.wav", "audio_text": "Ừ, nhắn Trang là chiều mai tớ bận, không đi ăn được nha."}, {"role": "assistant", "text": "Đã nhắn Trang: chiều mai tớ bận, không đi ăn được nha.", "tool_calls": [{"name": "app_q7.fn_02", "arguments": {"p1": "Trang"}}, {"name": "app_k3.fn_04", "arguments": {"p1": "c_107", "p3": "Chiều mai tớ bận, không đi ăn được nha"}}], "tool_results": [{"ok": true, "contacts": [{"id": "c_107", "name": "Trang", "relation": "bạn cùng phòng", "phone": "09859360044"}]}, {"ok": true, "message": {"id": "msg_03", "contact_id": "c_107", "phone_number": "09859360044", "direction": "outgoing", "content": "Chiều mai tớ bận, không đi ăn được nha"}}]}], "label": {"tool_calls": [{"name": "app_q7.fn_02", "arguments": {"p1": "Peter Hansen"}}, {"name": "app_k3.fn_04", "arguments": {"p1": "c_4183", "p3": "Em xin lùi buổi gặp ngày mai sang bốn rưỡi chiều ạ"}}], "tool_results": [{"ok": true, "contacts": [{"id": "c_4183", "name": "Peter Hansen", "relation": "giáo sư hướng dẫn khoá luận", "phone": "09137264058"}]}, {"ok": true, "message": {"id": "msg_04", "contact_id": "c_4183", "phone_number": "09137264058", "direction": "outgoing", "content": "Em xin lùi buổi gặp ngày mai sang bốn rưỡi chiều ạ"}}], "final_state": {"sms": {"messages": [{"id": "msg_318", "contact_id": "c_9552", "phone_number": "09104206967", "direction": "incoming", "content": "Linh ơi, ba giờ chiều mai em lên văn phòng khoa nộp bản cứng khoá luận nhé, thầy chỉ ngồi đến bốn giờ thôi."}, {"id": "msg_142", "contact_id": "c_857", "phone_number": "09621734608", "direction": "incoming", "content": "Cuối tuần về nhà không em?"}, {"id": "msg_03", "contact_id": "c_107", "phone_number": "09859360044", "direction": "outgoing", "content": "Chiều mai tớ bận, không đi ăn được nha"}, {"id": "msg_04", "contact_id": "c_4183", "phone_number": "09137264058", "direction": "outgoing", "content": "Em xin lùi buổi gặp ngày mai sang bốn rưỡi chiều ạ"}]}}}, "catalog_overlay": [{"name": "app_q7.fn_02", "kind": "read", "description": "Tìm người liên hệ theo tên, quan hệ hoặc số điện thoại (khớp chuỗi con, không phân biệt dấu); p1 trống thì trả cả danh bạ", "parameters": {"type": "object", "properties": {"p1": {"type": "string", "description": "Tên, quan hệ (mẹ, vợ, sếp) hoặc số điện thoại"}}, "required": []}, "returns": "contacts[]", "app": "app_q7"}, {"name": "app_q7.fn_05", "kind": "read", "description": "Chi tiết một người liên hệ", "parameters": {"type": "object", "properties": {"p1": {"type": "string", "description": "ID liên hệ, lấy từ app_q7.fn_02", "x-ref": "app_q7.contacts"}}, "required": ["p1"]}, "returns": "contacts[]", "app": "app_q7"}, {"name": "app_q7.fn_01", "kind": "write", "description": "Sửa số hoặc email của người liên hệ", "parameters": {"type": "object", "properties": {"p1": {"type": "string", "description": "ID liên hệ, lấy từ app_q7.fn_02", "x-ref": "app_q7.contacts"}, "phone": {"type": "string", "description": "Giữ nguyên chuỗi, ví dụ 09123456785"}, "email": {"type": "string"}}, "required": ["p1"], "x-one-of": [["phone"], ["email"]]}, "returns": "", "app": "app_q7"}, {"name": "app_k3.fn_04", "kind": "write", "description": "Gửi SMS ngay cho người liên hệ (p1) hoặc số điện thoại (p2) với nội dung p3; cần p1 hoặc p2", "parameters": {"type": "object", "properties": {"p1": {"type": "string", "description": "ID liên hệ, lấy từ app_q7.fn_02", "x-ref": "app_q7.contacts"}, "p2": {"type": "string", "description": "Số điện thoại, giữ nguyên chuỗi, ví dụ 09123456785"}, "p3": {"type": "string", "x-match": "fuzzy"}}, "required": ["p3"], "x-one-of": [["p1"], ["p2"]]}, "returns": "", "app": "app_k3"}, {"name": "app_k3.fn_09", "kind": "read", "description": "Đọc SMS gần đây", "parameters": {"type": "object", "properties": {"p1": {"type": "string", "description": "ID liên hệ, lấy từ app_q7.fn_02", "x-ref": "app_q7.contacts"}, "p2": {"type": "integer", "description": "Số nguyên, không dấu chấm hay phẩy, ví dụ 2"}}, "required": []}, "returns": "messages[]", "app": "app_k3"}], "aug": {"alias": ["app_q7@m1", "app_k3@m1"], "decoys": [], "history_calls_renamed": 4, "pair_id": "train_1481", "canon": {"app_q7.fn_02": "contacts.search", "app_q7.fn_05": "contacts.get", "app_q7.fn_01": "contacts.update", "app_k3.fn_04": "sms.send", "app_k3.fn_09": "sms.read_recent"}}} | |
| {"id": "train_1481#al1d", "audio": "audio/train_1481/train_1481.wav", "audio_text": "Gọi thầy Peter Hansen giúp tớ, à thôi, thầy đang dạy, nhắn tin xin lùi buổi gặp mai sang bốn rưỡi chiều nha.", "context": {"current_time": "2026-10-28T10:20:00+07:00", "timezone": "Asia/Ho_Chi_Minh", "location": {"lat": 21.0285, "lng": 105.8542}, "user_profile": {"name": "Em Linh", "home_address": "KTX Mỹ Đình, Nam Từ Liêm, Hà Nội", "work_address": "Đại học Ngoại thương, 91 Chùa Láng, Hà Nội", "city": "Hà Nội"}, "installed_apps": {"danh_ba": {"tools": ["danh_ba.tim_kiem", "danh_ba.xem", "danh_ba.sua"]}, "smart_home": {"tools": ["smart_home.get_status", "smart_home.light_set", "smart_home.fan_set", "smart_home.climate_set", "smart_home.switch_set", "smart_home.scene_run"]}, "maps": {"tools": ["maps.search_place", "maps.get_route", "maps.save_place"]}, "calendar": {"tools": ["calendar.list_events", "calendar.create_event", "calendar.update_event", "calendar.cancel_event"]}, "tasks": {"tools": ["tasks.list", "tasks.add", "tasks.complete"]}, "tin_nhan": {"tools": ["tin_nhan.gui", "tin_nhan.doc_gan_day"]}, "phone": {"tools": ["phone.call", "phone.recent_calls"]}, "ewallet": {"tools": ["ewallet.get_balance", "ewallet.transfer", "ewallet.topup_mobile", "ewallet.pay_qr"]}, "exchange_rate": {"tools": ["exchange_rate.get_rate", "exchange_rate.convert"]}, "tin_hen_gio": {"tools": ["tin_hen_gio.dat_lich_gui"]}}}, "history": [{"role": "user", "audio": "audio/train_1481/train_1481_u1.wav", "audio_text": "Ơi, mai tớ có lịch gì không nhỉ?"}, {"role": "assistant", "text": "Mai thứ Năm bạn có hai lịch: tám giờ sáng ăn sáng với gia đình ở Nhà hàng Ngon, và ba giờ chiều gặp Peter Hansen góp ý khoá luận ở phòng 304 nhà A.", "tool_calls": [{"name": "calendar.list_events", "arguments": {"date_from": "2026-10-29", "date_to": "2026-10-29"}}], "tool_results": [{"ok": true, "events": [{"id": "evt_8551", "title": "ăn sáng với gia đình", "start": "2026-10-29T08:00:00+07:00", "end": "2026-10-29T09:00:00+07:00", "location": "Nhà hàng Ngon", "status": "confirmed"}, {"id": "evt_6124", "title": "gặp Peter Hansen góp ý khoá luận", "start": "2026-10-29T15:00:00+07:00", "end": "2026-10-29T16:00:00+07:00", "location": "Phòng 304 nhà A, Đại học Ngoại thương", "status": "confirmed"}]}]}, {"role": "user", "audio": "audio/train_1481/train_1481_u2.wav", "audio_text": "Thầy Phong có nhắn gì cho tớ không?"}, {"role": "assistant", "text": "Thầy Phong nhắn: ba giờ chiều mai bạn lên văn phòng khoa nộp bản cứng khoá luận, thầy chỉ ngồi đến bốn giờ.", "tool_calls": [{"name": "danh_ba.tim_kiem", "arguments": {"tu_khoa": "Thầy Phong"}}, {"name": "tin_nhan.doc_gan_day", "arguments": {"ma_lien_he": "c_9552"}}], "tool_results": [{"ok": true, "contacts": [{"id": "c_9552", "name": "Thầy Phong", "relation": "giảng viên", "phone": "09104206967"}]}, {"ok": true, "messages": [{"id": "msg_318", "contact_id": "c_9552", "phone_number": "09104206967", "direction": "incoming", "content": "Linh ơi, ba giờ chiều mai em lên văn phòng khoa nộp bản cứng khoá luận nhé, thầy chỉ ngồi đến bốn giờ thôi."}]}]}, {"role": "user", "audio": "audio/train_1481/train_1481_u3.wav", "audio_text": "Ôi trùng rồi. Thế bốn rưỡi chiều mai tớ có rảnh không?"}, {"role": "assistant", "text": "Bốn rưỡi chiều mai bạn đang trống lịch, sau buổi ba giờ thì không còn lịch nào nữa.", "tool_calls": []}, {"role": "user", "audio": "audio/train_1481/train_1481_u4.wav", "audio_text": "Ừ, nhắn Trang là chiều mai tớ bận, không đi ăn được nha."}, {"role": "assistant", "text": "Đã nhắn Trang: chiều mai tớ bận, không đi ăn được nha.", "tool_calls": [{"name": "danh_ba.tim_kiem", "arguments": {"tu_khoa": "Trang"}}, {"name": "tin_nhan.gui", "arguments": {"ma_lien_he": "c_107", "noi_dung": "Chiều mai tớ bận, không đi ăn được nha"}}], "tool_results": [{"ok": true, "contacts": [{"id": "c_107", "name": "Trang", "relation": "bạn cùng phòng", "phone": "09859360044"}]}, {"ok": true, "message": {"id": "msg_03", "contact_id": "c_107", "phone_number": "09859360044", "direction": "outgoing", "content": "Chiều mai tớ bận, không đi ăn được nha"}}]}], "label": {"tool_calls": [{"name": "danh_ba.tim_kiem", "arguments": {"tu_khoa": "Peter Hansen"}}, {"name": "tin_nhan.gui", "arguments": {"ma_lien_he": "c_4183", "noi_dung": "Em xin lùi buổi gặp ngày mai sang bốn rưỡi chiều ạ"}}], "tool_results": [{"ok": true, "contacts": [{"id": "c_4183", "name": "Peter Hansen", "relation": "giáo sư hướng dẫn khoá luận", "phone": "09137264058"}]}, {"ok": true, "message": {"id": "msg_04", "contact_id": "c_4183", "phone_number": "09137264058", "direction": "outgoing", "content": "Em xin lùi buổi gặp ngày mai sang bốn rưỡi chiều ạ"}}], "final_state": {"sms": {"messages": [{"id": "msg_318", "contact_id": "c_9552", "phone_number": "09104206967", "direction": "incoming", "content": "Linh ơi, ba giờ chiều mai em lên văn phòng khoa nộp bản cứng khoá luận nhé, thầy chỉ ngồi đến bốn giờ thôi."}, {"id": "msg_142", "contact_id": "c_857", "phone_number": "09621734608", "direction": "incoming", "content": "Cuối tuần về nhà không em?"}, {"id": "msg_03", "contact_id": "c_107", "phone_number": "09859360044", "direction": "outgoing", "content": "Chiều mai tớ bận, không đi ăn được nha"}, {"id": "msg_04", "contact_id": "c_4183", "phone_number": "09137264058", "direction": "outgoing", "content": "Em xin lùi buổi gặp ngày mai sang bốn rưỡi chiều ạ"}]}}}, "catalog_overlay": [{"name": "danh_ba.tim_kiem", "kind": "read", "description": "Tra cứu người trong danh bạ theo tên, mối quan hệ hoặc số máy; khớp một phần, bỏ qua dấu và hoa thường; bỏ trống thì liệt kê toàn bộ", "parameters": {"type": "object", "properties": {"tu_khoa": {"type": "string", "description": "Tên, quan hệ (mẹ, vợ, sếp) hoặc số điện thoại"}}, "required": []}, "returns": "contacts[]", "app": "danh_ba"}, {"name": "danh_ba.xem", "kind": "read", "description": "Xem đầy đủ thông tin một người trong danh bạ", "parameters": {"type": "object", "properties": {"ma_lien_he": {"type": "string", "description": "ID liên hệ, lấy từ danh_ba.tim_kiem", "x-ref": "danh_ba.contacts"}}, "required": ["ma_lien_he"]}, "returns": "contacts[]", "app": "danh_ba"}, {"name": "danh_ba.sua", "kind": "write", "description": "Cập nhật số điện thoại hoặc email của một người trong danh bạ", "parameters": {"type": "object", "properties": {"ma_lien_he": {"type": "string", "description": "ID liên hệ, lấy từ danh_ba.tim_kiem", "x-ref": "danh_ba.contacts"}, "phone": {"type": "string", "description": "Giữ nguyên chuỗi, ví dụ 09123456785"}, "email": {"type": "string"}}, "required": ["ma_lien_he"], "x-one-of": [["phone"], ["email"]]}, "returns": "", "app": "danh_ba"}, {"name": "tin_nhan.gui", "kind": "write", "description": "Gửi tin nhắn thường (SMS) ngay lập tức tới một người trong danh bạ hoặc một số máy; phải có ma_lien_he hoặc so_may, và noi_dung", "parameters": {"type": "object", "properties": {"ma_lien_he": {"type": "string", "description": "ID liên hệ, lấy từ danh_ba.tim_kiem", "x-ref": "danh_ba.contacts"}, "so_may": {"type": "string", "description": "Số điện thoại, giữ nguyên chuỗi, ví dụ 09123456785"}, "noi_dung": {"type": "string", "x-match": "fuzzy"}}, "required": ["noi_dung"], "x-one-of": [["ma_lien_he"], ["so_may"]]}, "returns": "", "app": "tin_nhan"}, {"name": "tin_nhan.doc_gan_day", "kind": "read", "description": "Đọc các tin nhắn thường mới nhất, có thể lọc theo người", "parameters": {"type": "object", "properties": {"ma_lien_he": {"type": "string", "description": "ID liên hệ, lấy từ danh_ba.tim_kiem", "x-ref": "danh_ba.contacts"}, "so_luong": {"type": "integer", "description": "Số nguyên, không dấu chấm hay phẩy, ví dụ 2"}}, "required": []}, "returns": "messages[]", "app": "tin_nhan"}, {"name": "tin_hen_gio.dat_lich_gui", "kind": "write", "app": "tin_hen_gio", "description": "Hẹn giờ gửi tin nhắn SMS vào một thời điểm trong tương lai (không gửi ngay); bắt buộc thoi_diem_gui", "parameters": {"type": "object", "properties": {"ma_lien_he": {"type": "string", "description": "ID liên hệ, lấy từ danh_ba.tim_kiem", "x-ref": "danh_ba.contacts"}, "noi_dung": {"type": "string"}, "thoi_diem_gui": {"type": "string", "format": "date-time"}}, "required": ["ma_lien_he", "noi_dung", "thoi_diem_gui"]}, "returns": ""}], "aug": {"alias": ["danh_ba@a1", "tin_nhan@a1"], "decoys": ["tin_hen_gio.dat_lich_gui"], "history_calls_renamed": 4, "pair_id": "train_1481", "canon": {"danh_ba.tim_kiem": "contacts.search", "danh_ba.xem": "contacts.get", "danh_ba.sua": "contacts.update", "tin_nhan.gui": "sms.send", "tin_nhan.doc_gan_day": "sms.read_recent"}}} | |