Files
CyberGril/docs/rework/hel910/window/call2.json
T

384 lines
10 KiB
JSON

{
"session_voice": "rain",
"marks": {
"playback_end_ms": 1793275970454,
"user_final_ms": 1793275972886,
"turn_start_ms": 1793275976553,
"assistant_final_ms": 1793275982556,
"assistant_final_kind": "assistant_final",
"first_agent_frame_ms": 1793275970457,
"q2_turn_start_ms": 1793276022633,
"A_post_ms": 1793276022652
},
"reply_text_head": "好,小十。去化缘",
"barge": {
"outcome": "interrupted",
"old_audio_last_frame_ms": 1793276002937,
"cancel_ms": 1793275988927,
"frames_total": 4565,
"source": "pre-recorded wav playback over real WebRTC (not a human microphone)",
"new_user_final_ms": 1793275972886,
"new_reply_end": {
"kind": "turn_end",
"at_ms": 1793275982559
}
},
"timing_a": {
"fired": true,
"post_ms": 1793276022652,
"status": 200,
"body_head": "data: {\"t\": \"chat.cancelled\", \"epoch\": 1, \"turn_id\": \"58d03703-cf6b-4699-a4a5-d63a07f38bb4\"}\n\n",
"voice_turn_cancel_ms": 1793276030578,
"voice_turn_cancel_reason": "error_phi",
"q2_frames_after_cancel": 800
},
"hangup": {
"delete_status": 200,
"delete_body": {
"ended": true,
"room": "cg-voice-dlas9zmiox"
},
"delete_ms": 1793276041619,
"agent_frames_after_delete": 1,
"room_removed": true
},
"call": {
"tag": "call2",
"session": {
"url": "wss://192.168.200.12:8363",
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ2aWRlbyI6eyJyb29tSm9pbiI6dHJ1ZSwicm9vbSI6ImNnLXZvaWNlLWRsYXM5em1pb3giLCJjYW5QdWJsaXNoIjp0cnVlLCJjYW5TdWJzY3JpYmUiOnRydWUsImNhblB1Ymxpc2hEYXRhIjp0cnVlfSwic3ViIjoidXNlci1qb29ibmlzYiIsImlzcyI6ImRldmtleSIsIm5iZiI6MTc5MzI3NTk1NiwiZXhwIjoxNzkzMjc2MjU2LCJuYW1lIjoi55So5oi3In0.GeGFqnvFP_XUgV8eLn6T2ZIqxCd7A8V-dHZBxMXp7Yo",
"room": "cg-voice-dlas9zmiox",
"session_id": "Br4leZ_1VqtwH_E4TIM9n8o5",
"agent_name": "cybergril-voice-agent",
"epoch": 1,
"expires_at": 1793276856594,
"voice": "rain"
},
"session_voice": "rain",
"subtitle_count": 69,
"seq_monotonic": true,
"agent_frames": 8434,
"agent_audio_seconds": 84.3,
"agent_audio_rate": 48000,
"agent_joined_ms": 1793275957224,
"subtitles_file": "/opt/cybergril-hel910/evidence/call2.subtitles.jsonl",
"frames_file": "/opt/cybergril-hel910/evidence/call2.frames.json",
"agent_audio_file": "/opt/cybergril-hel910/evidence/call2.agent.wav"
},
"budget_after": {
"at_ms": 1793276044162,
"token_usage": [
{
"day": "2026-10-29",
"scene": "dialogue_main",
"used": 30398
}
],
"request_usage": [
{
"day": "2026-10-29",
"category": "dialogue",
"requests": 10
}
],
"budget_total": [
{
"key": "total_requests",
"value": 10
},
{
"key": "total_tokens",
"value": 30398
}
]
},
"worker_state_after": {
"exists": true,
"content": {
"voice": "rain"
}
},
"db_dump": {
"chat_message": [
{
"id": 1,
"ts": 1793275110974,
"role": "user",
"turn_id": "25a72390-7a14-4ea0-821c-01bc87ab684c",
"status": "sent",
"text": "我就是个笨蛋派大星,我们一起去抓水母吧,我们一起度过快乐的一天"
},
{
"id": 2,
"ts": 1793275113739,
"role": "companion",
"turn_id": "25a72390-7a14-4ea0-821c-01bc87ab684c",
"status": "sent",
"text": "好呀,小十。带上小网兜,慢一点也没关系,抓到一只算一只,抓不到就当风陪我们走一趟。"
},
{
"id": 3,
"ts": 1793275121122,
"role": "user",
"turn_id": "e6732ca0-c56b-4cd2-9e60-5f6b4603cdc6",
"status": "sent",
"text": "先停下,我用打字跟你说:把你刚才那句还没说完的话作废,改用文字告诉我,你今天想拉我一起做的第一件事是什么?"
},
{
"id": 4,
"ts": 1793275123508,
"role": "companion",
"turn_id": "e6732ca0-c56b-4cd2-9e60-5f6b4603cdc6",
"status": "sent",
"text": "今天想拉你一起做的第一件事,是找个安静的地方坐下,先一起晒一会儿太阳。"
},
{
"id": 5,
"ts": 1793275181313,
"role": "user",
"turn_id": "c726406d-5476-4c3a-8dac-49b92c86c43e",
"status": "sent",
"text": "师傅,哎,这取经路比高,老庄种地还苦,俺老猪饿的能吞下石龙素包子,猴哥,你筋斗云块,要不先去画个缘"
},
{
"id": 6,
"ts": 1793275183882,
"role": "companion",
"turn_id": "c726406d-5476-4c3a-8dac-49b92c86c43e",
"status": "sent",
"text": "行啊,小十。去画缘之前,先把那石龙素包子掏出来分我一半。"
},
{
"id": 7,
"ts": 1793275231037,
"role": "user",
"turn_id": "e52af134-b80b-4e40-a42f-8aeab4a3a91b",
"status": "sent",
"text": "没错,我就是个笨蛋派大星,我们一起去抓水母吧,我们一起度过快乐的一天"
},
{
"id": 8,
"ts": 1793275233262,
"role": "companion",
"turn_id": "e52af134-b80b-4e40-a42f-8aeab4a3a91b",
"status": "sent",
"text": "好,小十。先坐下来歇口气,等力气攒够了,再一起去抓水母。"
},
{
"id": 9,
"ts": 1793275235147,
"role": "user",
"turn_id": "dc1f3c9d-33da-411f-ae1e-1a2559b150f4",
"status": "sent",
"text": "等一下,先别把刚才那段长回答说完,我打字补充:只用一句话告诉我你现在的心情,然后安静等我。"
},
{
"id": 10,
"ts": 1793275236443,
"role": "companion",
"turn_id": "dc1f3c9d-33da-411f-ae1e-1a2559b150f4",
"status": "sent",
"text": "平静。"
},
{
"id": 11,
"ts": 1793275351015,
"role": "user",
"turn_id": "188dec6c-e59c-49a5-bf56-ea5a071acf30",
"status": "sent",
"text": "没错,我就是个笨蛋派大星,我们一起去抓水母吧,我们一起度过快乐的一天"
},
{
"id": 12,
"ts": 1793275357616,
"role": "companion",
"turn_id": "188dec6c-e59c-49a5-bf56-ea5a071acf30",
"status": "sent",
"text": "好,小十,那就一起。"
},
{
"id": 13,
"ts": 1793275976566,
"role": "user",
"turn_id": "faeccd22-7cbf-48f5-8195-ca34d952c078",
"status": "sent",
"text": "师傅,哎,这取经路比高,老庄种地还苦,俺老猪饿的能吞下石龙素包子,猴哥,你筋斗云块,要不先去化个缘"
},
{
"id": 14,
"ts": 1793275977965,
"role": "companion",
"turn_id": "faeccd22-7cbf-48f5-8195-ca34d952c078",
"status": "sent",
"text": "好,小十。去化缘"
},
{
"id": 15,
"ts": 1793275985818,
"role": "user",
"turn_id": "3100252b-25b4-4090-8ae9-05441b77d69a",
"status": "sent",
"text": "盯着,你看怎么啦"
},
{
"id": 16,
"ts": 1793275987410,
"role": "companion",
"turn_id": "3100252b-25b4-4090-8ae9-05441b77d69a",
"status": "sent",
"text": "我在"
},
{
"id": 17,
"ts": 1793275989727,
"role": "user",
"turn_id": "1cef4c0c-a35e-4864-b0b2-00b002bc5585",
"status": "sent",
"text": "难得看你这么有意思的样子吗"
},
{
"id": 18,
"ts": 1793275990925,
"role": "companion",
"turn_id": "1cef4c0c-a35e-4864-b0b2-00b002bc5585",
"status": "sent",
"text": "我在"
},
{
"id": 19,
"ts": 1793276022655,
"role": "user",
"turn_id": "58d03703-cf6b-4699-a4a5-d63a07f38bb4",
"status": "cancelled",
"text": "先别把这句长回答生成完,我打字打断你:只用一句话告诉我你现在待在哪个角落。"
},
{
"id": 20,
"ts": 1793276022662,
"role": "user",
"turn_id": "76a151eb-b2f0-46aa-a533-ae981ae53168",
"status": "failed",
"text": "师傅,哎,这取经路比高老庄种地还苦,俺老猪饿的能吞下石龙素包子,猴哥,你筋斗云块,要不先去化个缘"
}
],
"budget_total": [
{
"key": "total_requests",
"value": 10
},
{
"key": "total_tokens",
"value": 30398
}
],
"token_usage": [
{
"day": "2026-10-29",
"scene": "dialogue_main",
"used": 30398
}
],
"request_usage": [
{
"day": "2026-10-29",
"category": "dialogue",
"requests": 10
}
]
},
"asr_ledger_after": {
"exists": true,
"events": 80,
"raw": [
{
"kind": "audio",
"call": "cg-voice-dlas9zmiox",
"seconds": 5.023499,
"confirmed_seconds": 5.056311,
"frames": 101,
"bytes": 160752,
"sample_rate": 16000,
"window": "hel910-20261029-a",
"t": 1793276017.648
},
{
"kind": "audio",
"call": "cg-voice-dlas9zmiox",
"seconds": 5.023498,
"confirmed_seconds": 4.990686,
"frames": 100,
"bytes": 160752,
"sample_rate": 16000,
"window": "hel910-20261029-a",
"t": 1793276022.651
},
{
"kind": "audio",
"call": "cg-voice-dlas9zmiox",
"seconds": 5.056311,
"confirmed_seconds": 5.056311,
"frames": 101,
"bytes": 161802,
"sample_rate": 16000,
"window": "hel910-20261029-a",
"t": 1793276027.698
},
{
"kind": "audio",
"call": "cg-voice-dlas9zmiox",
"seconds": 5.023499,
"confirmed_seconds": 5.056373,
"frames": 101,
"bytes": 160752,
"sample_rate": 16000,
"window": "hel910-20261029-a",
"t": 1793276032.748
},
{
"kind": "audio",
"call": "cg-voice-dlas9zmiox",
"seconds": 5.023498,
"confirmed_seconds": 4.990624,
"frames": 100,
"bytes": 160752,
"sample_rate": 16000,
"window": "hel910-20261029-a",
"t": 1793276037.75
},
{
"kind": "audio",
"call": "cg-voice-dlas9zmiox",
"seconds": 5.023499,
"confirmed_seconds": 4.892186,
"frames": 83,
"bytes": 160752,
"sample_rate": 16000,
"window": "hel910-20261029-a",
"t": 1793276041.653
},
{
"kind": "audio",
"call": "cg-voice-dlas9zmiox",
"seconds": 0.820813,
"confirmed_seconds": 1.017813,
"frames": 4,
"bytes": 26266,
"sample_rate": 16000,
"window": "hel910-20261029-a",
"t": 1793276043.643
},
{
"kind": "call_end",
"call": "cg-voice-dlas9zmiox",
"reason": "error",
"audio_seconds": 86.384475,
"confirmed_audio_seconds": 86.384475,
"connect_attempts": 1,
"connect_failures": 0,
"connect_retries": 0,
"window": "hel910-20261029-a",
"t": 1793276043.643
}
]
}
}