Documentation

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

clearSimulator()

public clearSimulator() : mixed

clearTaskCompletion()

public clearTaskCompletion() : 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
float

getAudioJudgeModel()

audio (LALM) judge; "" if none ran

public getAudioJudgeModel() : string

Generated from protobuf field string audio_judge_model = 11;

Return values
string

getConversation()

Generated from protobuf field <code>.livekit.SimulationRun.JobMetrics.Conversation conversation = 7;</code>

public getConversation() : Conversation|null
Return values
Conversation|null

getExperienceScore()

Generated from protobuf field <code>optional float experience_score = 2;</code>

public getExperienceScore() : float
Return values
float

getHasRemoteSession()

false = waveform-only capture (e.g. SIP)

public getHasRemoteSession() : bool

Generated from protobuf field bool has_remote_session = 12;

Return values
bool

getJudgeModel()

text judge for judged scores; "" if none ran

public getJudgeModel() : string

Generated from protobuf field string judge_model = 10;

Return values
string

getLlm()

Generated from protobuf field <code>.livekit.SimulationRun.JobMetrics.LLM llm = 5;</code>

public getLlm() : LLM|null
Return values
LLM|null

getSimulator()

Generated from protobuf field <code>.livekit.SimulationRun.JobMetrics.Simulator simulator = 8;</code>

public getSimulator() : Simulator|null
Return values
Simulator|null

getStt()

Generated from protobuf field <code>.livekit.SimulationRun.JobMetrics.STT stt = 4;</code>

public getStt() : STT|null
Return values
STT|null

getT0()

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|null

getTaskCompletion()

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
float

getTts()

Generated from protobuf field <code>.livekit.SimulationRun.JobMetrics.TTS tts = 6;</code>

public getTts() : TTS|null
Return values
TTS|null

getTurns()

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
RepeatedField

hasAccuracyScore()

public hasAccuracyScore() : mixed

hasConversation()

public hasConversation() : mixed

hasExperienceScore()

public hasExperienceScore() : mixed

hasTaskCompletion()

public hasTaskCompletion() : 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
$this

setAudioJudgeModel()

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
$this

setConversation()

Generated from protobuf field <code>.livekit.SimulationRun.JobMetrics.Conversation conversation = 7;</code>

public setConversation(Conversation $var) : $this
Parameters
$var : Conversation
Return values
$this

setExperienceScore()

Generated from protobuf field <code>optional float experience_score = 2;</code>

public setExperienceScore(float $var) : $this
Parameters
$var : float
Return values
$this

setHasRemoteSession()

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
$this

setJudgeModel()

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
$this

setLlm()

Generated from protobuf field <code>.livekit.SimulationRun.JobMetrics.LLM llm = 5;</code>

public setLlm(LLM $var) : $this
Parameters
$var : LLM
Return values
$this

setSimulator()

Generated from protobuf field <code>.livekit.SimulationRun.JobMetrics.Simulator simulator = 8;</code>

public setSimulator(Simulator $var) : $this
Parameters
$var : Simulator
Return values
$this

setStt()

Generated from protobuf field <code>.livekit.SimulationRun.JobMetrics.STT stt = 4;</code>

public setStt(STT $var) : $this
Parameters
$var : STT
Return values
$this

setT0()

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
$this

setTaskCompletion()

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
$this

setTts()

Generated from protobuf field <code>.livekit.SimulationRun.JobMetrics.TTS tts = 6;</code>

public setTts(TTS $var) : $this
Parameters
$var : TTS
Return values
$this

setTurns()

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
Return values
$this
On this page

Search results