@livekit/protocol 1.50.2 → 1.50.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +24 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +112 -79
- package/dist/index.d.mts +112 -79
- package/dist/index.d.ts +112 -79
- package/dist/index.mjs +24 -13
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/livekit_agent_simulation_pb.d.ts +91 -77
- package/src/gen/livekit_agent_simulation_pb.js +12 -15
- package/src/gen/livekit_metrics_pb.d.ts +14 -0
- package/src/gen/livekit_metrics_pb.js +2 -0
- package/src/gen/livekit_models_pb.d.ts +7 -2
- package/src/gen/livekit_models_pb.js +1 -0
- package/src/gen/version.js +1 -1
package/package.json
CHANGED
|
@@ -452,11 +452,15 @@ export declare class SimulationRun_JobMetrics extends Message<SimulationRun_JobM
|
|
|
452
452
|
* accuracy = task_completion x3 + stt.keyterm_recall + (1 - stt.wer) + tts.enunciation_score
|
|
453
453
|
* experience = conversation.turn_taking_score x2 + tts.naturalness_score + llm.conciseness_score
|
|
454
454
|
*
|
|
455
|
+
* absent when the simulator spoiled the call
|
|
456
|
+
*
|
|
455
457
|
* @generated from field: optional float accuracy_score = 1;
|
|
456
458
|
*/
|
|
457
459
|
accuracyScore?: number;
|
|
458
460
|
|
|
459
461
|
/**
|
|
462
|
+
* absent when the simulator spoiled the call
|
|
463
|
+
*
|
|
460
464
|
* @generated from field: optional float experience_score = 2;
|
|
461
465
|
*/
|
|
462
466
|
experienceScore?: number;
|
|
@@ -464,6 +468,8 @@ export declare class SimulationRun_JobMetrics extends Message<SimulationRun_JobM
|
|
|
464
468
|
/**
|
|
465
469
|
* The accuracy anchor: the scenario verdict as 1/0, or the fraction of the declared target state the call reached.
|
|
466
470
|
*
|
|
471
|
+
* absent when the simulator spoiled the call
|
|
472
|
+
*
|
|
467
473
|
* @generated from field: optional float task_completion = 3;
|
|
468
474
|
*/
|
|
469
475
|
taskCompletion?: number;
|
|
@@ -522,7 +528,7 @@ export declare class SimulationRun_JobMetrics extends Message<SimulationRun_JobM
|
|
|
522
528
|
hasRemoteSession: boolean;
|
|
523
529
|
|
|
524
530
|
/**
|
|
525
|
-
* call start (first speech edge); turn times relative to it
|
|
531
|
+
* audio only; call start (first speech edge); turn times relative to it
|
|
526
532
|
*
|
|
527
533
|
* @generated from field: google.protobuf.Timestamp t0 = 13;
|
|
528
534
|
*/
|
|
@@ -544,66 +550,76 @@ export declare class SimulationRun_JobMetrics extends Message<SimulationRun_JobM
|
|
|
544
550
|
}
|
|
545
551
|
|
|
546
552
|
/**
|
|
547
|
-
* The agent's perception of the caller.
|
|
553
|
+
* The agent's perception of the caller. Audio only.
|
|
548
554
|
*
|
|
549
555
|
* @generated from message livekit.SimulationRun.JobMetrics.STT
|
|
550
556
|
*/
|
|
551
557
|
export declare class SimulationRun_JobMetrics_STT extends Message<SimulationRun_JobMetrics_STT> {
|
|
552
558
|
/**
|
|
553
|
-
* word error rate, pooled: word_errors / words
|
|
559
|
+
* needs the RemoteSession; word error rate, pooled: word_errors / words
|
|
554
560
|
*
|
|
555
561
|
* @generated from field: optional float wer = 1;
|
|
556
562
|
*/
|
|
557
563
|
wer?: number;
|
|
558
564
|
|
|
559
565
|
/**
|
|
560
|
-
* pooling stats: run WER = sum errors / sum words
|
|
566
|
+
* needs the RemoteSession; pooling stats: run WER = sum errors / sum words
|
|
561
567
|
*
|
|
562
568
|
* @generated from field: optional uint32 words = 2;
|
|
563
569
|
*/
|
|
564
570
|
words?: number;
|
|
565
571
|
|
|
566
572
|
/**
|
|
573
|
+
* needs the RemoteSession
|
|
574
|
+
*
|
|
567
575
|
* @generated from field: optional uint32 word_errors = 3;
|
|
568
576
|
*/
|
|
569
577
|
wordErrors?: number;
|
|
570
578
|
|
|
571
579
|
/**
|
|
572
|
-
* character error rate, pooled
|
|
580
|
+
* needs the RemoteSession; character error rate, pooled
|
|
573
581
|
*
|
|
574
582
|
* @generated from field: optional float cer = 4;
|
|
575
583
|
*/
|
|
576
584
|
cer?: number;
|
|
577
585
|
|
|
578
586
|
/**
|
|
587
|
+
* needs the RemoteSession
|
|
588
|
+
*
|
|
579
589
|
* @generated from field: optional uint32 chars = 9;
|
|
580
590
|
*/
|
|
581
591
|
chars?: number;
|
|
582
592
|
|
|
583
593
|
/**
|
|
594
|
+
* needs the RemoteSession
|
|
595
|
+
*
|
|
584
596
|
* @generated from field: optional uint32 char_errors = 10;
|
|
585
597
|
*/
|
|
586
598
|
charErrors?: number;
|
|
587
599
|
|
|
588
600
|
/**
|
|
589
|
-
* recall of uttered key entities (names, IDs, amounts)
|
|
601
|
+
* needs the RemoteSession; recall of uttered key entities (names, IDs, amounts)
|
|
590
602
|
*
|
|
591
603
|
* @generated from field: optional float keyterm_recall = 5;
|
|
592
604
|
*/
|
|
593
605
|
keytermRecall?: number;
|
|
594
606
|
|
|
595
607
|
/**
|
|
608
|
+
* needs the RemoteSession
|
|
609
|
+
*
|
|
596
610
|
* @generated from field: optional uint32 keyterms_uttered = 6;
|
|
597
611
|
*/
|
|
598
612
|
keytermsUttered?: number;
|
|
599
613
|
|
|
600
614
|
/**
|
|
615
|
+
* needs the RemoteSession
|
|
616
|
+
*
|
|
601
617
|
* @generated from field: optional uint32 keyterms_recognized = 7;
|
|
602
618
|
*/
|
|
603
619
|
keytermsRecognized?: number;
|
|
604
620
|
|
|
605
621
|
/**
|
|
606
|
-
* agent-reported STT/endpointing delay, mean
|
|
622
|
+
* needs the RemoteSession; agent-reported STT/endpointing delay, mean
|
|
607
623
|
*
|
|
608
624
|
* @generated from field: optional uint32 transcription_latency_ms = 8;
|
|
609
625
|
*/
|
|
@@ -629,28 +645,28 @@ export declare class SimulationRun_JobMetrics_STT extends Message<SimulationRun_
|
|
|
629
645
|
*/
|
|
630
646
|
export declare class SimulationRun_JobMetrics_LLM extends Message<SimulationRun_JobMetrics_LLM> {
|
|
631
647
|
/**
|
|
632
|
-
* time to first token, mean (per-turn in turns)
|
|
648
|
+
* needs the RemoteSession; time to first token, mean (per-turn in turns)
|
|
633
649
|
*
|
|
634
650
|
* @generated from field: optional uint32 ttft_ms = 1;
|
|
635
651
|
*/
|
|
636
652
|
ttftMs?: number;
|
|
637
653
|
|
|
638
654
|
/**
|
|
639
|
-
* time to first sentence
|
|
655
|
+
* needs the RemoteSession; time to first sentence (the smallest speakable unit)
|
|
640
656
|
*
|
|
641
657
|
* @generated from field: optional uint32 ttfs_ms = 2;
|
|
642
658
|
*/
|
|
643
659
|
ttfsMs?: number;
|
|
644
660
|
|
|
645
661
|
/**
|
|
646
|
-
* decode rate, mean
|
|
662
|
+
* needs the RemoteSession; decode rate, mean (per-turn in turns.llm)
|
|
647
663
|
*
|
|
648
664
|
* @generated from field: optional float tokens_per_second = 3;
|
|
649
665
|
*/
|
|
650
666
|
tokensPerSecond?: number;
|
|
651
667
|
|
|
652
668
|
/**
|
|
653
|
-
* judged 0-1: brief enough for voice
|
|
669
|
+
* audio only; needs the audio judge; judged 0-1: brief enough for voice
|
|
654
670
|
*
|
|
655
671
|
* @generated from field: optional float conciseness_score = 4;
|
|
656
672
|
*/
|
|
@@ -672,57 +688,63 @@ export declare class SimulationRun_JobMetrics_LLM extends Message<SimulationRun_
|
|
|
672
688
|
}
|
|
673
689
|
|
|
674
690
|
/**
|
|
675
|
-
* The agent's voice.
|
|
691
|
+
* The agent's voice. audio only.
|
|
676
692
|
*
|
|
677
693
|
* @generated from message livekit.SimulationRun.JobMetrics.TTS
|
|
678
694
|
*/
|
|
679
695
|
export declare class SimulationRun_JobMetrics_TTS extends Message<SimulationRun_JobMetrics_TTS> {
|
|
680
696
|
/**
|
|
681
|
-
*
|
|
682
|
-
* bytes before actual speech, so byte-level TTFB alone over-promises;
|
|
683
|
-
* it is kept below for disambiguation.
|
|
697
|
+
* needs the RemoteSession
|
|
684
698
|
*
|
|
685
699
|
* @generated from field: optional uint32 ttfa_ms = 1;
|
|
686
700
|
*/
|
|
687
701
|
ttfaMs?: number;
|
|
688
702
|
|
|
689
703
|
/**
|
|
690
|
-
* provider byte-level TTFB
|
|
704
|
+
* needs the RemoteSession; provider byte-level TTFB
|
|
691
705
|
*
|
|
692
706
|
* @generated from field: optional uint32 ttfb_ms = 2;
|
|
693
707
|
*/
|
|
694
708
|
ttfbMs?: number;
|
|
695
709
|
|
|
696
710
|
/**
|
|
697
|
-
* word error rate, pooled: word_errors / words
|
|
711
|
+
* needs the RemoteSession; word error rate, pooled: word_errors / words
|
|
698
712
|
*
|
|
699
713
|
* @generated from field: optional float wer = 3;
|
|
700
714
|
*/
|
|
701
715
|
wer?: number;
|
|
702
716
|
|
|
703
717
|
/**
|
|
718
|
+
* needs the RemoteSession
|
|
719
|
+
*
|
|
704
720
|
* @generated from field: optional uint32 words = 7;
|
|
705
721
|
*/
|
|
706
722
|
words?: number;
|
|
707
723
|
|
|
708
724
|
/**
|
|
725
|
+
* needs the RemoteSession
|
|
726
|
+
*
|
|
709
727
|
* @generated from field: optional uint32 word_errors = 8;
|
|
710
728
|
*/
|
|
711
729
|
wordErrors?: number;
|
|
712
730
|
|
|
713
731
|
/**
|
|
714
|
-
* character error rate, pooled
|
|
732
|
+
* needs the RemoteSession; character error rate, pooled
|
|
715
733
|
*
|
|
716
734
|
* @generated from field: optional float cer = 9;
|
|
717
735
|
*/
|
|
718
736
|
cer?: number;
|
|
719
737
|
|
|
720
738
|
/**
|
|
739
|
+
* needs the RemoteSession
|
|
740
|
+
*
|
|
721
741
|
* @generated from field: optional uint32 chars = 10;
|
|
722
742
|
*/
|
|
723
743
|
chars?: number;
|
|
724
744
|
|
|
725
745
|
/**
|
|
746
|
+
* needs the RemoteSession
|
|
747
|
+
*
|
|
726
748
|
* @generated from field: optional uint32 char_errors = 11;
|
|
727
749
|
*/
|
|
728
750
|
charErrors?: number;
|
|
@@ -735,14 +757,28 @@ export declare class SimulationRun_JobMetrics_TTS extends Message<SimulationRun_
|
|
|
735
757
|
speechRateWpm?: number;
|
|
736
758
|
|
|
737
759
|
/**
|
|
738
|
-
*
|
|
760
|
+
* pooling stats for speech_rate_wpm: raw heard words (not WER tokens)
|
|
761
|
+
*
|
|
762
|
+
* @generated from field: optional uint32 heard_words = 12;
|
|
763
|
+
*/
|
|
764
|
+
heardWords?: number;
|
|
765
|
+
|
|
766
|
+
/**
|
|
767
|
+
* agent voiced time, sum of raw VAD segments
|
|
768
|
+
*
|
|
769
|
+
* @generated from field: optional uint32 speech_ms = 13;
|
|
770
|
+
*/
|
|
771
|
+
speechMs?: number;
|
|
772
|
+
|
|
773
|
+
/**
|
|
774
|
+
* needs the audio judge; judged 0-1: prosody / expressiveness
|
|
739
775
|
*
|
|
740
776
|
* @generated from field: optional float naturalness_score = 5;
|
|
741
777
|
*/
|
|
742
778
|
naturalnessScore?: number;
|
|
743
779
|
|
|
744
780
|
/**
|
|
745
|
-
* judged 0-1: key entities audibly intact
|
|
781
|
+
* needs the audio judge; judged 0-1: key entities audibly intact
|
|
746
782
|
*
|
|
747
783
|
* @generated from field: optional float enunciation_score = 6;
|
|
748
784
|
*/
|
|
@@ -764,8 +800,7 @@ export declare class SimulationRun_JobMetrics_TTS extends Message<SimulationRun_
|
|
|
764
800
|
}
|
|
765
801
|
|
|
766
802
|
/**
|
|
767
|
-
*
|
|
768
|
-
* truth of what the caller hears, independent of agent self-reports.
|
|
803
|
+
* Audio only.
|
|
769
804
|
*
|
|
770
805
|
* @generated from message livekit.SimulationRun.JobMetrics.Conversation
|
|
771
806
|
*/
|
|
@@ -795,14 +830,21 @@ export declare class SimulationRun_JobMetrics_Conversation extends Message<Simul
|
|
|
795
830
|
responseLatencyP99Ms?: number;
|
|
796
831
|
|
|
797
832
|
/**
|
|
798
|
-
*
|
|
833
|
+
* one turn's floor-transfer offset, cut-in if negative; job/run serve the percentiles
|
|
834
|
+
*
|
|
835
|
+
* @generated from field: optional int32 response_latency_ms = 16;
|
|
836
|
+
*/
|
|
837
|
+
responseLatencyMs?: number;
|
|
838
|
+
|
|
839
|
+
/**
|
|
840
|
+
* agent audio continuing past a barge-in — per turn: on the barging persona row (presence = barge-in); job: mean
|
|
799
841
|
*
|
|
800
842
|
* @generated from field: optional uint32 agent_yield_latency_ms = 5;
|
|
801
843
|
*/
|
|
802
844
|
agentYieldLatencyMs?: number;
|
|
803
845
|
|
|
804
846
|
/**
|
|
805
|
-
* agent started before the caller's turn ended
|
|
847
|
+
* agent started before the caller's turn ended; 0/1 per turn
|
|
806
848
|
*
|
|
807
849
|
* @generated from field: optional uint32 eot_misprediction_count = 6;
|
|
808
850
|
*/
|
|
@@ -835,35 +877,35 @@ export declare class SimulationRun_JobMetrics_Conversation extends Message<Simul
|
|
|
835
877
|
silenceTotalMs?: number;
|
|
836
878
|
|
|
837
879
|
/**
|
|
838
|
-
* gaps past the natural-pause threshold
|
|
880
|
+
* gaps past the natural-pause threshold; 0/1 per turn
|
|
839
881
|
*
|
|
840
882
|
* @generated from field: optional uint32 awkward_silence_count = 11;
|
|
841
883
|
*/
|
|
842
884
|
awkwardSilenceCount?: number;
|
|
843
885
|
|
|
844
886
|
/**
|
|
845
|
-
* the simulated party spoke, the agent never responded
|
|
887
|
+
* the simulated party spoke, the agent never responded; 0/1 per turn
|
|
846
888
|
*
|
|
847
889
|
* @generated from field: optional uint32 unanswered_persona_turns = 12;
|
|
848
890
|
*/
|
|
849
891
|
unansweredPersonaTurns?: number;
|
|
850
892
|
|
|
851
893
|
/**
|
|
852
|
-
* agent paused for a non-interruption
|
|
894
|
+
* needs the RemoteSession; agent paused for a non-interruption
|
|
853
895
|
*
|
|
854
896
|
* @generated from field: optional uint32 false_interruption_count = 13;
|
|
855
897
|
*/
|
|
856
898
|
falseInterruptionCount?: number;
|
|
857
899
|
|
|
858
900
|
/**
|
|
859
|
-
* of those, never resumed
|
|
901
|
+
* needs the RemoteSession; of those, never resumed
|
|
860
902
|
*
|
|
861
903
|
* @generated from field: optional uint32 false_interruption_unrecovered_count = 14;
|
|
862
904
|
*/
|
|
863
905
|
falseInterruptionUnrecoveredCount?: number;
|
|
864
906
|
|
|
865
907
|
/**
|
|
866
|
-
* the agent's own claim, mean
|
|
908
|
+
* needs the RemoteSession; the agent's own claim, mean
|
|
867
909
|
*
|
|
868
910
|
* @generated from field: optional uint32 agent_reported_e2e_latency_ms = 15;
|
|
869
911
|
*/
|
|
@@ -922,6 +964,8 @@ export declare class SimulationRun_JobMetrics_Simulator extends Message<Simulati
|
|
|
922
964
|
}
|
|
923
965
|
|
|
924
966
|
/**
|
|
967
|
+
* Rows exist for text and audio;
|
|
968
|
+
*
|
|
925
969
|
* @generated from message livekit.SimulationRun.JobMetrics.Turn
|
|
926
970
|
*/
|
|
927
971
|
export declare class SimulationRun_JobMetrics_Turn extends Message<SimulationRun_JobMetrics_Turn> {
|
|
@@ -940,78 +984,48 @@ export declare class SimulationRun_JobMetrics_Turn extends Message<SimulationRun
|
|
|
940
984
|
role: ChatRole;
|
|
941
985
|
|
|
942
986
|
/**
|
|
943
|
-
* relative to t0; unset if the turn could not be aligned to the audio
|
|
987
|
+
* audio only; relative to t0; unset if the turn could not be aligned to the audio
|
|
944
988
|
*
|
|
945
989
|
* @generated from field: optional uint32 start_ms = 3;
|
|
946
990
|
*/
|
|
947
991
|
startMs?: number;
|
|
948
992
|
|
|
949
993
|
/**
|
|
994
|
+
* audio only
|
|
995
|
+
*
|
|
950
996
|
* @generated from field: optional uint32 end_ms = 4;
|
|
951
997
|
*/
|
|
952
998
|
endMs?: number;
|
|
953
999
|
|
|
954
1000
|
/**
|
|
955
|
-
*
|
|
956
|
-
* agent started before the caller's turn ended).
|
|
1001
|
+
* Job groups hold means/pools of these; a field with no per-turn measurement stays unset here.
|
|
957
1002
|
*
|
|
958
|
-
*
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
/**
|
|
963
|
-
* @generated from field: optional uint32 transcription_delay_ms = 6;
|
|
964
|
-
*/
|
|
965
|
-
transcriptionDelayMs?: number;
|
|
966
|
-
|
|
967
|
-
/**
|
|
968
|
-
* @generated from field: optional uint32 llm_ttft_ms = 7;
|
|
969
|
-
*/
|
|
970
|
-
llmTtftMs?: number;
|
|
971
|
-
|
|
972
|
-
/**
|
|
973
|
-
* @generated from field: optional uint32 llm_ttfs_ms = 8;
|
|
974
|
-
*/
|
|
975
|
-
llmTtfsMs?: number;
|
|
976
|
-
|
|
977
|
-
/**
|
|
978
|
-
* @generated from field: optional uint32 tts_ttfa_ms = 9;
|
|
979
|
-
*/
|
|
980
|
-
ttsTtfaMs?: number;
|
|
981
|
-
|
|
982
|
-
/**
|
|
983
|
-
* @generated from field: optional uint32 tts_ttfb_ms = 10;
|
|
984
|
-
*/
|
|
985
|
-
ttsTtfbMs?: number;
|
|
986
|
-
|
|
987
|
-
/**
|
|
988
|
-
* @generated from field: optional uint32 agent_reported_e2e_latency_ms = 11;
|
|
989
|
-
*/
|
|
990
|
-
agentReportedE2eLatencyMs?: number;
|
|
991
|
-
|
|
992
|
-
/**
|
|
993
|
-
* @generated from field: optional float conciseness_score = 12;
|
|
1003
|
+
* transcription_latency_ms
|
|
1004
|
+
*
|
|
1005
|
+
* @generated from field: livekit.SimulationRun.JobMetrics.STT stt = 5;
|
|
994
1006
|
*/
|
|
995
|
-
|
|
1007
|
+
stt?: SimulationRun_JobMetrics_STT;
|
|
996
1008
|
|
|
997
1009
|
/**
|
|
998
|
-
*
|
|
1010
|
+
* ttft_ms, ttfs_ms, tokens_per_second, conciseness_score
|
|
1011
|
+
*
|
|
1012
|
+
* @generated from field: livekit.SimulationRun.JobMetrics.LLM llm = 6;
|
|
999
1013
|
*/
|
|
1000
|
-
|
|
1014
|
+
llm?: SimulationRun_JobMetrics_LLM;
|
|
1001
1015
|
|
|
1002
1016
|
/**
|
|
1003
|
-
*
|
|
1017
|
+
* ttfa_ms, ttfb_ms, naturalness_score, enunciation_score
|
|
1004
1018
|
*
|
|
1005
|
-
* @generated from field:
|
|
1019
|
+
* @generated from field: livekit.SimulationRun.JobMetrics.TTS tts = 7;
|
|
1006
1020
|
*/
|
|
1007
|
-
|
|
1021
|
+
tts?: SimulationRun_JobMetrics_TTS;
|
|
1008
1022
|
|
|
1009
1023
|
/**
|
|
1010
|
-
*
|
|
1024
|
+
* response_latency_ms, agent_yield_latency_ms, agent_reported_e2e_latency_ms, 0/1 counts
|
|
1011
1025
|
*
|
|
1012
|
-
* @generated from field:
|
|
1026
|
+
* @generated from field: livekit.SimulationRun.JobMetrics.Conversation conversation = 8;
|
|
1013
1027
|
*/
|
|
1014
|
-
|
|
1028
|
+
conversation?: SimulationRun_JobMetrics_Conversation;
|
|
1015
1029
|
|
|
1016
1030
|
constructor(data?: PartialMessage<SimulationRun_JobMetrics_Turn>);
|
|
1017
1031
|
|
|
@@ -181,7 +181,7 @@ export const SimulationRun_JobMetrics = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
181
181
|
);
|
|
182
182
|
|
|
183
183
|
/**
|
|
184
|
-
* The agent's perception of the caller.
|
|
184
|
+
* The agent's perception of the caller. Audio only.
|
|
185
185
|
*
|
|
186
186
|
* @generated from message livekit.SimulationRun.JobMetrics.STT
|
|
187
187
|
*/
|
|
@@ -217,7 +217,7 @@ export const SimulationRun_JobMetrics_LLM = /*@__PURE__*/ proto3.makeMessageType
|
|
|
217
217
|
);
|
|
218
218
|
|
|
219
219
|
/**
|
|
220
|
-
* The agent's voice.
|
|
220
|
+
* The agent's voice. audio only.
|
|
221
221
|
*
|
|
222
222
|
* @generated from message livekit.SimulationRun.JobMetrics.TTS
|
|
223
223
|
*/
|
|
@@ -233,6 +233,8 @@ export const SimulationRun_JobMetrics_TTS = /*@__PURE__*/ proto3.makeMessageType
|
|
|
233
233
|
{ no: 10, name: "chars", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
234
234
|
{ no: 11, name: "char_errors", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
235
235
|
{ no: 4, name: "speech_rate_wpm", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
236
|
+
{ no: 12, name: "heard_words", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
237
|
+
{ no: 13, name: "speech_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
236
238
|
{ no: 5, name: "naturalness_score", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
237
239
|
{ no: 6, name: "enunciation_score", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
238
240
|
],
|
|
@@ -240,8 +242,7 @@ export const SimulationRun_JobMetrics_TTS = /*@__PURE__*/ proto3.makeMessageType
|
|
|
240
242
|
);
|
|
241
243
|
|
|
242
244
|
/**
|
|
243
|
-
*
|
|
244
|
-
* truth of what the caller hears, independent of agent self-reports.
|
|
245
|
+
* Audio only.
|
|
245
246
|
*
|
|
246
247
|
* @generated from message livekit.SimulationRun.JobMetrics.Conversation
|
|
247
248
|
*/
|
|
@@ -252,6 +253,7 @@ export const SimulationRun_JobMetrics_Conversation = /*@__PURE__*/ proto3.makeMe
|
|
|
252
253
|
{ no: 2, name: "response_latency_p50_ms", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
253
254
|
{ no: 3, name: "response_latency_p95_ms", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
254
255
|
{ no: 4, name: "response_latency_p99_ms", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
256
|
+
{ no: 16, name: "response_latency_ms", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
|
|
255
257
|
{ no: 5, name: "agent_yield_latency_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
256
258
|
{ no: 6, name: "eot_misprediction_count", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
257
259
|
{ no: 7, name: "overlap_ratio", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
@@ -284,6 +286,8 @@ export const SimulationRun_JobMetrics_Simulator = /*@__PURE__*/ proto3.makeMessa
|
|
|
284
286
|
);
|
|
285
287
|
|
|
286
288
|
/**
|
|
289
|
+
* Rows exist for text and audio;
|
|
290
|
+
*
|
|
287
291
|
* @generated from message livekit.SimulationRun.JobMetrics.Turn
|
|
288
292
|
*/
|
|
289
293
|
export const SimulationRun_JobMetrics_Turn = /*@__PURE__*/ proto3.makeMessageType(
|
|
@@ -293,17 +297,10 @@ export const SimulationRun_JobMetrics_Turn = /*@__PURE__*/ proto3.makeMessageTyp
|
|
|
293
297
|
{ no: 2, name: "role", kind: "enum", T: proto3.getEnumType(ChatRole) },
|
|
294
298
|
{ no: 3, name: "start_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
295
299
|
{ no: 4, name: "end_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
296
|
-
{ no: 5, name: "
|
|
297
|
-
{ no: 6, name: "
|
|
298
|
-
{ no: 7, name: "
|
|
299
|
-
{ no: 8, name: "
|
|
300
|
-
{ no: 9, name: "tts_ttfa_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
301
|
-
{ no: 10, name: "tts_ttfb_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
302
|
-
{ no: 11, name: "agent_reported_e2e_latency_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
|
|
303
|
-
{ no: 12, name: "conciseness_score", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
304
|
-
{ no: 13, name: "naturalness_score", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
305
|
-
{ no: 14, name: "enunciation_score", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
|
|
306
|
-
{ no: 15, name: "flags", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
300
|
+
{ no: 5, name: "stt", kind: "message", T: SimulationRun_JobMetrics_STT },
|
|
301
|
+
{ no: 6, name: "llm", kind: "message", T: SimulationRun_JobMetrics_LLM },
|
|
302
|
+
{ no: 7, name: "tts", kind: "message", T: SimulationRun_JobMetrics_TTS },
|
|
303
|
+
{ no: 8, name: "conversation", kind: "message", T: SimulationRun_JobMetrics_Conversation },
|
|
307
304
|
],
|
|
308
305
|
{localName: "SimulationRun_JobMetrics_Turn"},
|
|
309
306
|
);
|
|
@@ -415,6 +415,20 @@ export declare class MetricsRecordingHeader extends Message<MetricsRecordingHead
|
|
|
415
415
|
*/
|
|
416
416
|
jobId: string;
|
|
417
417
|
|
|
418
|
+
/**
|
|
419
|
+
* session is a simulation; the collector skips PII redaction for it unless redaction_enabled is set
|
|
420
|
+
*
|
|
421
|
+
* @generated from field: bool simulated = 9;
|
|
422
|
+
*/
|
|
423
|
+
simulated: boolean;
|
|
424
|
+
|
|
425
|
+
/**
|
|
426
|
+
* force PII redaction on for this session (only ever enables, never disables)
|
|
427
|
+
*
|
|
428
|
+
* @generated from field: bool redaction_enabled = 10;
|
|
429
|
+
*/
|
|
430
|
+
redactionEnabled: boolean;
|
|
431
|
+
|
|
418
432
|
constructor(data?: PartialMessage<MetricsRecordingHeader>);
|
|
419
433
|
|
|
420
434
|
static readonly runtime: typeof proto3;
|
|
@@ -108,6 +108,8 @@ export const MetricsRecordingHeader = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
108
108
|
{ no: 6, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
109
109
|
{ no: 7, name: "room_start_time", kind: "message", T: Timestamp },
|
|
110
110
|
{ no: 8, name: "job_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
111
|
+
{ no: 9, name: "simulated", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
112
|
+
{ no: 10, name: "redaction_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
111
113
|
],
|
|
112
114
|
);
|
|
113
115
|
|
|
@@ -1078,11 +1078,16 @@ export declare enum ParticipantInfo_KindDetail {
|
|
|
1078
1078
|
CONNECTOR_TWILIO = 3,
|
|
1079
1079
|
|
|
1080
1080
|
/**
|
|
1081
|
-
* NEXT_ID: 5
|
|
1082
|
-
*
|
|
1083
1081
|
* @generated from enum value: BRIDGE_RTSP = 4;
|
|
1084
1082
|
*/
|
|
1085
1083
|
BRIDGE_RTSP = 4,
|
|
1084
|
+
|
|
1085
|
+
/**
|
|
1086
|
+
* NEXT_ID: 6
|
|
1087
|
+
*
|
|
1088
|
+
* @generated from enum value: SIMULATION = 5;
|
|
1089
|
+
*/
|
|
1090
|
+
SIMULATION = 5,
|
|
1086
1091
|
}
|
|
1087
1092
|
|
|
1088
1093
|
/**
|
package/src/gen/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '1.50.
|
|
2
|
+
export const version = '1.50.4';
|