JobMetrics
extends Message
in package
Generated from protobuf message <code>livekit.SimulationRun.JobMetrics</code>
Table of Contents
Properties
- $accuracy_score : mixed
- Headline scores, 0-1, computed by the worker as weighted means over the members that ran (a missing member renormalizes the rest): accuracy = task_completion x3 + stt.keyterm_recall + (1 - stt.wer) + tts.enunciation_score experience = conversation.turn_taking_score x2 + tts.naturalness_score + llm.conciseness_score
- $audio_judge_model : mixed
- audio (LALM) judge; "" if none ran
- $conversation : mixed
- Generated from protobuf field <code>.livekit.SimulationRun.JobMetrics.Conversation conversation = 7;</code>
- $experience_score : mixed
- Generated from protobuf field <code>optional float experience_score = 2;</code>
- $has_remote_session : mixed
- false = waveform-only capture (e.g. SIP)
- $judge_model : mixed
- text judge for judged scores; "" if none ran
- $llm : mixed
- Generated from protobuf field <code>.livekit.SimulationRun.JobMetrics.LLM llm = 5;</code>
- $simulator : mixed
- Generated from protobuf field <code>.livekit.SimulationRun.JobMetrics.Simulator simulator = 8;</code>
- $stt : mixed
- Generated from protobuf field <code>.livekit.SimulationRun.JobMetrics.STT stt = 4;</code>
- $t0 : mixed
- call start (first speech edge); turn times relative to it
- $task_completion : mixed
- The accuracy anchor: the scenario verdict as 1/0, or the fraction of the declared target state the call reached.
- $tts : mixed
- Generated from protobuf field <code>.livekit.SimulationRun.JobMetrics.TTS tts = 6;</code>
- $turns : mixed
- Conversation timeline: one entry per transcript turn, both speakers.
Methods
- __construct() : mixed
- Constructor.
- clearAccuracyScore() : mixed
- clearConversation() : mixed
- clearExperienceScore() : mixed
- clearLlm() : mixed
- clearSimulator() : mixed
- clearStt() : mixed
- clearT0() : mixed
- clearTaskCompletion() : mixed
- clearTts() : mixed
- getAccuracyScore() : float
- Headline scores, 0-1, computed by the worker as weighted means over the members that ran (a missing member renormalizes the rest): accuracy = task_completion x3 + stt.keyterm_recall + (1 - stt.wer) + tts.enunciation_score experience = conversation.turn_taking_score x2 + tts.naturalness_score + llm.conciseness_score
- getAudioJudgeModel() : string
- audio (LALM) judge; "" if none ran
- getConversation() : Conversation|null
- Generated from protobuf field <code>.livekit.SimulationRun.JobMetrics.Conversation conversation = 7;</code>
- getExperienceScore() : float
- Generated from protobuf field <code>optional float experience_score = 2;</code>
- getHasRemoteSession() : bool
- false = waveform-only capture (e.g. SIP)
- getJudgeModel() : string
- text judge for judged scores; "" if none ran
- getLlm() : LLM|null
- Generated from protobuf field <code>.livekit.SimulationRun.JobMetrics.LLM llm = 5;</code>
- getSimulator() : Simulator|null
- Generated from protobuf field <code>.livekit.SimulationRun.JobMetrics.Simulator simulator = 8;</code>
- getStt() : STT|null
- Generated from protobuf field <code>.livekit.SimulationRun.JobMetrics.STT stt = 4;</code>
- getT0() : Timestamp|null
- call start (first speech edge); turn times relative to it
- getTaskCompletion() : float
- The accuracy anchor: the scenario verdict as 1/0, or the fraction of the declared target state the call reached.
- getTts() : TTS|null
- Generated from protobuf field <code>.livekit.SimulationRun.JobMetrics.TTS tts = 6;</code>
- getTurns() : RepeatedField
- Conversation timeline: one entry per transcript turn, both speakers.
- hasAccuracyScore() : mixed
- hasConversation() : mixed
- hasExperienceScore() : mixed
- hasLlm() : mixed
- hasSimulator() : mixed
- hasStt() : mixed
- hasT0() : mixed
- hasTaskCompletion() : mixed
- hasTts() : mixed
- setAccuracyScore() : $this
- Headline scores, 0-1, computed by the worker as weighted means over the members that ran (a missing member renormalizes the rest): accuracy = task_completion x3 + stt.keyterm_recall + (1 - stt.wer) + tts.enunciation_score experience = conversation.turn_taking_score x2 + tts.naturalness_score + llm.conciseness_score
- setAudioJudgeModel() : $this
- audio (LALM) judge; "" if none ran
- setConversation() : $this
- Generated from protobuf field <code>.livekit.SimulationRun.JobMetrics.Conversation conversation = 7;</code>
- setExperienceScore() : $this
- Generated from protobuf field <code>optional float experience_score = 2;</code>
- setHasRemoteSession() : $this
- false = waveform-only capture (e.g. SIP)
- setJudgeModel() : $this
- text judge for judged scores; "" if none ran
- setLlm() : $this
- Generated from protobuf field <code>.livekit.SimulationRun.JobMetrics.LLM llm = 5;</code>
- setSimulator() : $this
- Generated from protobuf field <code>.livekit.SimulationRun.JobMetrics.Simulator simulator = 8;</code>
- setStt() : $this
- Generated from protobuf field <code>.livekit.SimulationRun.JobMetrics.STT stt = 4;</code>
- setT0() : $this
- call start (first speech edge); turn times relative to it
- setTaskCompletion() : $this
- The accuracy anchor: the scenario verdict as 1/0, or the fraction of the declared target state the call reached.
- setTts() : $this
- Generated from protobuf field <code>.livekit.SimulationRun.JobMetrics.TTS tts = 6;</code>
- setTurns() : $this
- Conversation timeline: one entry per transcript turn, both speakers.
Properties
$accuracy_score
Headline scores, 0-1, computed by the worker as weighted means over the members that ran (a missing member renormalizes the rest): accuracy = task_completion x3 + stt.keyterm_recall + (1 - stt.wer) + tts.enunciation_score experience = conversation.turn_taking_score x2 + tts.naturalness_score + llm.conciseness_score
protected
mixed
$accuracy_score
= null
Generated from protobuf field optional float accuracy_score = 1;
$audio_judge_model
audio (LALM) judge; "" if none ran
protected
mixed
$audio_judge_model
= ''
Generated from protobuf field string audio_judge_model = 11;
$conversation
Generated from protobuf field <code>.livekit.SimulationRun.JobMetrics.Conversation conversation = 7;</code>
protected
mixed
$conversation
= null
$experience_score
Generated from protobuf field <code>optional float experience_score = 2;</code>
protected
mixed
$experience_score
= null
$has_remote_session
false = waveform-only capture (e.g. SIP)
protected
mixed
$has_remote_session
= false
Generated from protobuf field bool has_remote_session = 12;
$judge_model
text judge for judged scores; "" if none ran
protected
mixed
$judge_model
= ''
Generated from protobuf field string judge_model = 10;
$llm
Generated from protobuf field <code>.livekit.SimulationRun.JobMetrics.LLM llm = 5;</code>
protected
mixed
$llm
= null
$simulator
Generated from protobuf field <code>.livekit.SimulationRun.JobMetrics.Simulator simulator = 8;</code>
protected
mixed
$simulator
= null
$stt
Generated from protobuf field <code>.livekit.SimulationRun.JobMetrics.STT stt = 4;</code>
protected
mixed
$stt
= null
$t0
call start (first speech edge); turn times relative to it
protected
mixed
$t0
= null
Generated from protobuf field .google.protobuf.Timestamp t0 = 13;
$task_completion
The accuracy anchor: the scenario verdict as 1/0, or the fraction of the declared target state the call reached.
protected
mixed
$task_completion
= null
Generated from protobuf field optional float task_completion = 3;
$tts
Generated from protobuf field <code>.livekit.SimulationRun.JobMetrics.TTS tts = 6;</code>
protected
mixed
$tts
= null
$turns
Conversation timeline: one entry per transcript turn, both speakers.
private
mixed
$turns
Generated from protobuf field repeated .livekit.SimulationRun.JobMetrics.Turn turns = 9;
Methods
__construct()
Constructor.
public
__construct([array<string|int, mixed> $data = null ]) : mixed
Parameters
- $data : array<string|int, mixed> = null
-
{ Optional. Data for populating the Message object.
@type float $accuracy_score Headline scores, 0-1, computed by the worker as weighted means over the members that ran (a missing member renormalizes the rest): accuracy = task_completion x3 + stt.keyterm_recall + (1 - stt.wer) + tts.enunciation_score experience = conversation.turn_taking_score x2 + tts.naturalness_score + llm.conciseness_score @type float $experience_score @type float $task_completion The accuracy anchor: the scenario verdict as 1/0, or the fraction of the declared target state the call reached. @type \Livekit\SimulationRun\JobMetrics\STT $stt @type \Livekit\SimulationRun\JobMetrics\LLM $llm @type \Livekit\SimulationRun\JobMetrics\TTS $tts @type \Livekit\SimulationRun\JobMetrics\Conversation $conversation @type \Livekit\SimulationRun\JobMetrics\Simulator $simulator @type array<\Livekit\SimulationRun\JobMetrics\Turn>|\Google\Protobuf\Internal\RepeatedField $turns Conversation timeline: one entry per transcript turn, both speakers. @type string $judge_model text judge for judged scores; "" if none ran @type string $audio_judge_model audio (LALM) judge; "" if none ran @type bool $has_remote_session false = waveform-only capture (e.g. SIP) @type \Google\Protobuf\Timestamp $t0 call start (first speech edge); turn times relative to it}
clearAccuracyScore()
public
clearAccuracyScore() : mixed
clearConversation()
public
clearConversation() : mixed
clearExperienceScore()
public
clearExperienceScore() : mixed
clearLlm()
public
clearLlm() : mixed
clearSimulator()
public
clearSimulator() : mixed
clearStt()
public
clearStt() : mixed
clearT0()
public
clearT0() : mixed
clearTaskCompletion()
public
clearTaskCompletion() : mixed
clearTts()
public
clearTts() : mixed
getAccuracyScore()
Headline scores, 0-1, computed by the worker as weighted means over the members that ran (a missing member renormalizes the rest): accuracy = task_completion x3 + stt.keyterm_recall + (1 - stt.wer) + tts.enunciation_score experience = conversation.turn_taking_score x2 + tts.naturalness_score + llm.conciseness_score
public
getAccuracyScore() : float
Generated from protobuf field optional float accuracy_score = 1;
Return values
floatgetAudioJudgeModel()
audio (LALM) judge; "" if none ran
public
getAudioJudgeModel() : string
Generated from protobuf field string audio_judge_model = 11;
Return values
stringgetConversation()
Generated from protobuf field <code>.livekit.SimulationRun.JobMetrics.Conversation conversation = 7;</code>
public
getConversation() : Conversation|null
Return values
Conversation|nullgetExperienceScore()
Generated from protobuf field <code>optional float experience_score = 2;</code>
public
getExperienceScore() : float
Return values
floatgetHasRemoteSession()
false = waveform-only capture (e.g. SIP)
public
getHasRemoteSession() : bool
Generated from protobuf field bool has_remote_session = 12;
Return values
boolgetJudgeModel()
text judge for judged scores; "" if none ran
public
getJudgeModel() : string
Generated from protobuf field string judge_model = 10;
Return values
stringgetLlm()
Generated from protobuf field <code>.livekit.SimulationRun.JobMetrics.LLM llm = 5;</code>
public
getLlm() : LLM|null
Return values
LLM|nullgetSimulator()
Generated from protobuf field <code>.livekit.SimulationRun.JobMetrics.Simulator simulator = 8;</code>
public
getSimulator() : Simulator|null
Return values
Simulator|nullgetStt()
Generated from protobuf field <code>.livekit.SimulationRun.JobMetrics.STT stt = 4;</code>
public
getStt() : STT|null
Return values
STT|nullgetT0()
call start (first speech edge); turn times relative to it
public
getT0() : Timestamp|null
Generated from protobuf field .google.protobuf.Timestamp t0 = 13;
Return values
Timestamp|nullgetTaskCompletion()
The accuracy anchor: the scenario verdict as 1/0, or the fraction of the declared target state the call reached.
public
getTaskCompletion() : float
Generated from protobuf field optional float task_completion = 3;
Return values
floatgetTts()
Generated from protobuf field <code>.livekit.SimulationRun.JobMetrics.TTS tts = 6;</code>
public
getTts() : TTS|null
Return values
TTS|nullgetTurns()
Conversation timeline: one entry per transcript turn, both speakers.
public
getTurns() : RepeatedField
Generated from protobuf field repeated .livekit.SimulationRun.JobMetrics.Turn turns = 9;
Return values
RepeatedFieldhasAccuracyScore()
public
hasAccuracyScore() : mixed
hasConversation()
public
hasConversation() : mixed
hasExperienceScore()
public
hasExperienceScore() : mixed
hasLlm()
public
hasLlm() : mixed
hasSimulator()
public
hasSimulator() : mixed
hasStt()
public
hasStt() : mixed
hasT0()
public
hasT0() : mixed
hasTaskCompletion()
public
hasTaskCompletion() : mixed
hasTts()
public
hasTts() : mixed
setAccuracyScore()
Headline scores, 0-1, computed by the worker as weighted means over the members that ran (a missing member renormalizes the rest): accuracy = task_completion x3 + stt.keyterm_recall + (1 - stt.wer) + tts.enunciation_score experience = conversation.turn_taking_score x2 + tts.naturalness_score + llm.conciseness_score
public
setAccuracyScore(float $var) : $this
Generated from protobuf field optional float accuracy_score = 1;
Parameters
- $var : float
Return values
$thissetAudioJudgeModel()
audio (LALM) judge; "" if none ran
public
setAudioJudgeModel(string $var) : $this
Generated from protobuf field string audio_judge_model = 11;
Parameters
- $var : string
Return values
$thissetConversation()
Generated from protobuf field <code>.livekit.SimulationRun.JobMetrics.Conversation conversation = 7;</code>
public
setConversation(Conversation $var) : $this
Parameters
- $var : Conversation
Return values
$thissetExperienceScore()
Generated from protobuf field <code>optional float experience_score = 2;</code>
public
setExperienceScore(float $var) : $this
Parameters
- $var : float
Return values
$thissetHasRemoteSession()
false = waveform-only capture (e.g. SIP)
public
setHasRemoteSession(bool $var) : $this
Generated from protobuf field bool has_remote_session = 12;
Parameters
- $var : bool
Return values
$thissetJudgeModel()
text judge for judged scores; "" if none ran
public
setJudgeModel(string $var) : $this
Generated from protobuf field string judge_model = 10;
Parameters
- $var : string
Return values
$thissetLlm()
Generated from protobuf field <code>.livekit.SimulationRun.JobMetrics.LLM llm = 5;</code>
public
setLlm(LLM $var) : $this
Parameters
- $var : LLM
Return values
$thissetSimulator()
Generated from protobuf field <code>.livekit.SimulationRun.JobMetrics.Simulator simulator = 8;</code>
public
setSimulator(Simulator $var) : $this
Parameters
- $var : Simulator
Return values
$thissetStt()
Generated from protobuf field <code>.livekit.SimulationRun.JobMetrics.STT stt = 4;</code>
public
setStt(STT $var) : $this
Parameters
- $var : STT
Return values
$thissetT0()
call start (first speech edge); turn times relative to it
public
setT0(Timestamp $var) : $this
Generated from protobuf field .google.protobuf.Timestamp t0 = 13;
Parameters
- $var : Timestamp
Return values
$thissetTaskCompletion()
The accuracy anchor: the scenario verdict as 1/0, or the fraction of the declared target state the call reached.
public
setTaskCompletion(float $var) : $this
Generated from protobuf field optional float task_completion = 3;
Parameters
- $var : float
Return values
$thissetTts()
Generated from protobuf field <code>.livekit.SimulationRun.JobMetrics.TTS tts = 6;</code>
public
setTts(TTS $var) : $this
Parameters
- $var : TTS
Return values
$thissetTurns()
Conversation timeline: one entry per transcript turn, both speakers.
public
setTurns(array<string|int, Turn>|RepeatedField $var) : $this
Generated from protobuf field repeated .livekit.SimulationRun.JobMetrics.Turn turns = 9;
Parameters
- $var : array<string|int, Turn>|RepeatedField