|
39 | 39 | "cell_type": "code", |
40 | 40 | "metadata": { |
41 | 41 | "ExecuteTime": { |
42 | | - "end_time": "2025-07-23T07:19:52.750523Z", |
43 | | - "start_time": "2025-07-23T07:19:48.896707Z" |
| 42 | + "end_time": "2025-07-23T14:03:27.619459Z", |
| 43 | + "start_time": "2025-07-23T14:03:23.931925Z" |
44 | 44 | } |
45 | 45 | }, |
46 | 46 | "source": [ |
|
61 | 61 | "cell_type": "code", |
62 | 62 | "metadata": { |
63 | 63 | "ExecuteTime": { |
64 | | - "end_time": "2025-07-23T07:19:54.091900Z", |
65 | | - "start_time": "2025-07-23T07:19:52.853485Z" |
| 64 | + "end_time": "2025-07-23T14:03:29.772500Z", |
| 65 | + "start_time": "2025-07-23T14:03:27.775396Z" |
66 | 66 | } |
67 | 67 | }, |
68 | 68 | "source": [ |
|
93 | 93 | { |
94 | 94 | "metadata": { |
95 | 95 | "ExecuteTime": { |
96 | | - "end_time": "2025-07-23T07:19:56.049115Z", |
97 | | - "start_time": "2025-07-23T07:19:54.276165Z" |
| 96 | + "end_time": "2025-07-23T14:03:38.533472Z", |
| 97 | + "start_time": "2025-07-23T14:03:29.782917Z" |
98 | 98 | } |
99 | 99 | }, |
100 | 100 | "cell_type": "code", |
|
122 | 122 | { |
123 | 123 | "metadata": { |
124 | 124 | "ExecuteTime": { |
125 | | - "end_time": "2025-07-23T07:19:56.060520Z", |
126 | | - "start_time": "2025-07-23T07:19:56.058656Z" |
| 125 | + "end_time": "2025-07-23T14:03:38.581039Z", |
| 126 | + "start_time": "2025-07-23T14:03:38.577880Z" |
127 | 127 | } |
128 | 128 | }, |
129 | 129 | "cell_type": "code", |
|
158 | 158 | "cell_type": "code", |
159 | 159 | "metadata": { |
160 | 160 | "ExecuteTime": { |
161 | | - "end_time": "2025-07-23T07:19:57.374782Z", |
162 | | - "start_time": "2025-07-23T07:19:57.297830Z" |
| 161 | + "end_time": "2025-07-23T14:03:38.905803Z", |
| 162 | + "start_time": "2025-07-23T14:03:38.653397Z" |
163 | 163 | } |
164 | 164 | }, |
165 | 165 | "source": [ |
|
189 | 189 | "cell_type": "code", |
190 | 190 | "metadata": { |
191 | 191 | "ExecuteTime": { |
192 | | - "end_time": "2025-07-23T07:19:57.579752Z", |
193 | | - "start_time": "2025-07-23T07:19:57.566833Z" |
| 192 | + "end_time": "2025-07-23T14:03:38.950116Z", |
| 193 | + "start_time": "2025-07-23T14:03:38.925006Z" |
194 | 194 | } |
195 | 195 | }, |
196 | 196 | "source": [ |
|
338 | 338 | "cell_type": "code", |
339 | 339 | "metadata": { |
340 | 340 | "ExecuteTime": { |
341 | | - "end_time": "2025-07-23T07:19:58.769910Z", |
342 | | - "start_time": "2025-07-23T07:19:58.767878Z" |
| 341 | + "end_time": "2025-07-23T14:03:38.999734Z", |
| 342 | + "start_time": "2025-07-23T14:03:38.995622Z" |
343 | 343 | } |
344 | 344 | }, |
345 | 345 | "source": [ |
|
386 | 386 | { |
387 | 387 | "metadata": { |
388 | 388 | "ExecuteTime": { |
389 | | - "end_time": "2025-07-23T07:20:00.941262Z", |
390 | | - "start_time": "2025-07-23T07:20:00.828130Z" |
| 389 | + "end_time": "2025-07-23T14:03:39.310715Z", |
| 390 | + "start_time": "2025-07-23T14:03:39.044874Z" |
391 | 391 | } |
392 | 392 | }, |
393 | 393 | "cell_type": "code", |
|
416 | 416 | { |
417 | 417 | "metadata": { |
418 | 418 | "ExecuteTime": { |
419 | | - "end_time": "2025-07-23T07:20:04.180391Z", |
420 | | - "start_time": "2025-07-23T07:20:01.398536Z" |
| 419 | + "end_time": "2025-07-23T14:03:43.677868Z", |
| 420 | + "start_time": "2025-07-23T14:03:39.327150Z" |
421 | 421 | } |
422 | 422 | }, |
423 | 423 | "cell_type": "code", |
|
440 | 440 | "name": "stderr", |
441 | 441 | "output_type": "stream", |
442 | 442 | "text": [ |
443 | | - "2025-07-23 10:20:01,411 - Anonymized telemetry enabled. See https://docs.trychroma.com/telemetry for more information.\n" |
| 443 | + "2025-07-23 17:03:39,346 - Anonymized telemetry enabled. See https://docs.trychroma.com/telemetry for more information.\n" |
444 | 444 | ] |
445 | 445 | }, |
446 | 446 | { |
|
462 | 462 | "cell_type": "code", |
463 | 463 | "metadata": { |
464 | 464 | "ExecuteTime": { |
465 | | - "end_time": "2025-07-23T07:20:53.891715Z", |
466 | | - "start_time": "2025-07-23T07:20:04.188558Z" |
| 465 | + "end_time": "2025-07-23T14:04:31.597482Z", |
| 466 | + "start_time": "2025-07-23T14:03:43.699526Z" |
467 | 467 | } |
468 | 468 | }, |
469 | 469 | "source": [ |
|
485 | 485 | "name": "stderr", |
486 | 486 | "output_type": "stream", |
487 | 487 | "text": [ |
488 | | - "2025-07-23 10:20:04,189 - Starting intent extraction on 5 conversations\n", |
489 | | - "2025-07-23 10:20:07,182 - Finished extracting original intents; generated 5 scenarios\n", |
490 | | - "2025-07-23 10:20:07,182 - Starting conversation simulations (self.max_concurrent_conversations=20)\n", |
491 | | - "2025-07-23 10:20:12,184 - Progress: 0/5 scenarios completed\n", |
492 | | - "2025-07-23 10:20:22,187 - Progress: 1/5 scenarios completed\n", |
493 | | - "2025-07-23 10:20:27,188 - Progress: 2/5 scenarios completed\n", |
494 | | - "2025-07-23 10:20:37,191 - Progress: 3/5 scenarios completed\n", |
495 | | - "2025-07-23 10:20:47,193 - Progress: 5/5 scenarios completed\n", |
496 | | - "2025-07-23 10:20:47,194 - Finished simulating conversations; simulated 5 conversations, with 0 failures\n", |
497 | | - "2025-07-23 10:20:47,194 - Starting analysis of simulation results\n", |
498 | | - "2025-07-23 10:20:53,890 - Finished analyzing results\n" |
| 488 | + "2025-07-23 17:03:43,702 - Starting intent extraction on 5 conversations\n", |
| 489 | + "2025-07-23 17:03:52,403 - Finished extracting original intents; generated 5 scenarios\n", |
| 490 | + "2025-07-23 17:03:52,404 - Starting conversation simulations (self.max_concurrent_conversations=20)\n", |
| 491 | + "2025-07-23 17:03:57,406 - Progress: 0/5 scenarios completed\n", |
| 492 | + "2025-07-23 17:04:07,408 - Progress: 2/5 scenarios completed\n", |
| 493 | + "2025-07-23 17:04:12,410 - Progress: 3/5 scenarios completed\n", |
| 494 | + "2025-07-23 17:04:22,413 - Progress: 5/5 scenarios completed\n", |
| 495 | + "2025-07-23 17:04:22,414 - Finished simulating conversations; simulated 5 conversations, with 0 failures\n", |
| 496 | + "2025-07-23 17:04:22,415 - Starting analysis of simulation results\n", |
| 497 | + "2025-07-23 17:04:31,594 - Finished analyzing results\n" |
499 | 498 | ] |
500 | 499 | }, |
501 | 500 | { |
|
512 | 511 | "cell_type": "code", |
513 | 512 | "metadata": { |
514 | 513 | "ExecuteTime": { |
515 | | - "end_time": "2025-07-23T07:20:53.909318Z", |
516 | | - "start_time": "2025-07-23T07:20:53.901864Z" |
| 514 | + "end_time": "2025-07-23T14:04:31.627201Z", |
| 515 | + "start_time": "2025-07-23T14:04:31.614360Z" |
517 | 516 | } |
518 | 517 | }, |
519 | 518 | "source": [ |
|
524 | 523 | "# Save results to file using built-in method\n", |
525 | 524 | "output_file = \"chroma_simulation_results.json\"\n", |
526 | 525 | "chroma_result.save_to_file(output_file)\n", |
527 | | - "print(f\"\\n✓ Results saved to {Path(output_file).absolute()}\")" |
| 526 | + "print(f\"\\n✓ Results saved to {Path(output_file).resolve().relative_to(Path('../../').resolve())}\")" |
528 | 527 | ], |
529 | 528 | "outputs": [ |
530 | 529 | { |
|
541 | 540 | "\n", |
542 | 541 | "Average messages per conversation:\n", |
543 | 542 | " Original: 4.4\n", |
544 | | - " Simulated: 4.2\n", |
| 543 | + " Simulated: 2.8\n", |
545 | 544 | "\n", |
546 | 545 | "Outcome distribution comparison:\n", |
547 | 546 | "Outcome Original Simulated \n", |
548 | 547 | "--------------------------------------------------\n", |
549 | | - "resolved 4 (80.0%) 4 (80.0%)\n", |
550 | | - "unresolved 1 (20.0%) 0 ( 0.0%)\n", |
| 548 | + "resolved 4 (80.0%) 3 (60.0%)\n", |
| 549 | + "unresolved 1 (20.0%) 2 (40.0%)\n", |
551 | 550 | "\n", |
552 | | - "Sample conversation (6 messages):\n", |
| 551 | + "Sample conversation (4 messages):\n", |
553 | 552 | " 1. customer: Last night, I waited in line for 2 hours in the business office, but because I only had a copy of my...\n", |
554 | | - " 2. agent: I'm sorry to hear about the inconvenience you've experienced. It sounds frustrating to have to make ...\n", |
555 | | - " 3. customer: I have the set-top box with me now. Can you confirm if this is all I need to proceed with the cancel...\n", |
556 | | - " 4. agent: Thank you for confirming that you have the set-top box with you. To proceed with the cancellation, p...\n", |
557 | | - " ... and 2 more messages\n", |
| 553 | + " 2. agent: I apologize for the inconvenience and frustration you've experienced with the cancellation process. ...\n", |
| 554 | + " 3. customer: I understand the need for the original ID and the set-top box now, but my issue is with the lack of ...\n", |
| 555 | + " 4. agent: I completely understand your frustration, and I apologize for the inconvenience this has caused. I w...\n", |
558 | 556 | "========================================\n", |
559 | 557 | "\n", |
560 | | - "✓ Results saved to /Users/erik/Dev/agentune/agentune_simulate/examples/chroma_simulation_results.json\n" |
| 558 | + "✓ Results saved to agentune_simulate/examples/chroma_simulation_results.json\n" |
561 | 559 | ] |
562 | 560 | } |
563 | 561 | ], |
|
0 commit comments