Documentation

Conversation extends Message
in package

End-to-end floor dynamics, measured off the audio timeline — the ground truth of what the caller hears, independent of agent self-reports.

Generated from protobuf message livekit.SimulationRun.JobMetrics.Conversation

Table of Contents

Properties

$agent_reported_e2e_latency_ms  : mixed
the agent's own claim, mean
$agent_yield_latency_ms  : mixed
how long the agent talks after a barge-in, mean
$awkward_silence_count  : mixed
gaps past the natural-pause threshold
$eot_misprediction_count  : mixed
agent started before the caller's turn ended
$false_interruption_count  : mixed
agent paused for a non-interruption
$false_interruption_unrecovered_count  : mixed
of those, never resumed
$overlap_ratio  : mixed
overlapping speech / total speech
$overlap_speech_ms  : mixed
pooling stats for overlap_ratio
$response_latency_p50_ms  : mixed
floor-transfer offset; a gap is > 0, an overlap < 0
$response_latency_p95_ms  : mixed
Generated from protobuf field <code>optional int32 response_latency_p95_ms = 3;</code>
$response_latency_p99_ms  : mixed
Generated from protobuf field <code>optional int32 response_latency_p99_ms = 4;</code>
$silence_total_ms  : mixed
dead air within the conversation
$total_speech_ms  : mixed
Generated from protobuf field <code>optional uint32 total_speech_ms = 9;</code>
$turn_taking_score  : mixed
0-1: latency curve + cut-in/barge-in/missed-turn penalties
$unanswered_persona_turns  : mixed
the simulated party spoke, the agent never responded

Methods

__construct()  : mixed
Constructor.
clearAgentReportedE2ELatencyMs()  : mixed
clearAgentYieldLatencyMs()  : mixed
clearAwkwardSilenceCount()  : mixed
clearEotMispredictionCount()  : mixed
clearFalseInterruptionCount()  : mixed
clearFalseInterruptionUnrecoveredCount()  : mixed
clearOverlapRatio()  : mixed
clearOverlapSpeechMs()  : mixed
clearResponseLatencyP50Ms()  : mixed
clearResponseLatencyP95Ms()  : mixed
clearResponseLatencyP99Ms()  : mixed
clearSilenceTotalMs()  : mixed
clearTotalSpeechMs()  : mixed
clearTurnTakingScore()  : mixed
clearUnansweredPersonaTurns()  : mixed
getAgentReportedE2ELatencyMs()  : int
the agent's own claim, mean
getAgentYieldLatencyMs()  : int
how long the agent talks after a barge-in, mean
getAwkwardSilenceCount()  : int
gaps past the natural-pause threshold
getEotMispredictionCount()  : int
agent started before the caller's turn ended
getFalseInterruptionCount()  : int
agent paused for a non-interruption
getFalseInterruptionUnrecoveredCount()  : int
of those, never resumed
getOverlapRatio()  : float
overlapping speech / total speech
getOverlapSpeechMs()  : int
pooling stats for overlap_ratio
getResponseLatencyP50Ms()  : int
floor-transfer offset; a gap is > 0, an overlap < 0
getResponseLatencyP95Ms()  : int
Generated from protobuf field <code>optional int32 response_latency_p95_ms = 3;</code>
getResponseLatencyP99Ms()  : int
Generated from protobuf field <code>optional int32 response_latency_p99_ms = 4;</code>
getSilenceTotalMs()  : int
dead air within the conversation
getTotalSpeechMs()  : int
Generated from protobuf field <code>optional uint32 total_speech_ms = 9;</code>
getTurnTakingScore()  : float
0-1: latency curve + cut-in/barge-in/missed-turn penalties
getUnansweredPersonaTurns()  : int
the simulated party spoke, the agent never responded
hasAgentReportedE2ELatencyMs()  : mixed
hasAgentYieldLatencyMs()  : mixed
hasAwkwardSilenceCount()  : mixed
hasEotMispredictionCount()  : mixed
hasFalseInterruptionCount()  : mixed
hasFalseInterruptionUnrecoveredCount()  : mixed
hasOverlapRatio()  : mixed
hasOverlapSpeechMs()  : mixed
hasResponseLatencyP50Ms()  : mixed
hasResponseLatencyP95Ms()  : mixed
hasResponseLatencyP99Ms()  : mixed
hasSilenceTotalMs()  : mixed
hasTotalSpeechMs()  : mixed
hasTurnTakingScore()  : mixed
hasUnansweredPersonaTurns()  : mixed
setAgentReportedE2ELatencyMs()  : $this
the agent's own claim, mean
setAgentYieldLatencyMs()  : $this
how long the agent talks after a barge-in, mean
setAwkwardSilenceCount()  : $this
gaps past the natural-pause threshold
setEotMispredictionCount()  : $this
agent started before the caller's turn ended
setFalseInterruptionCount()  : $this
agent paused for a non-interruption
setFalseInterruptionUnrecoveredCount()  : $this
of those, never resumed
setOverlapRatio()  : $this
overlapping speech / total speech
setOverlapSpeechMs()  : $this
pooling stats for overlap_ratio
setResponseLatencyP50Ms()  : $this
floor-transfer offset; a gap is > 0, an overlap < 0
setResponseLatencyP95Ms()  : $this
Generated from protobuf field <code>optional int32 response_latency_p95_ms = 3;</code>
setResponseLatencyP99Ms()  : $this
Generated from protobuf field <code>optional int32 response_latency_p99_ms = 4;</code>
setSilenceTotalMs()  : $this
dead air within the conversation
setTotalSpeechMs()  : $this
Generated from protobuf field <code>optional uint32 total_speech_ms = 9;</code>
setTurnTakingScore()  : $this
0-1: latency curve + cut-in/barge-in/missed-turn penalties
setUnansweredPersonaTurns()  : $this
the simulated party spoke, the agent never responded

Properties

$agent_reported_e2e_latency_ms

the agent's own claim, mean

protected mixed $agent_reported_e2e_latency_ms = null

Generated from protobuf field optional uint32 agent_reported_e2e_latency_ms = 15;

$agent_yield_latency_ms

how long the agent talks after a barge-in, mean

protected mixed $agent_yield_latency_ms = null

Generated from protobuf field optional uint32 agent_yield_latency_ms = 5;

$awkward_silence_count

gaps past the natural-pause threshold

protected mixed $awkward_silence_count = null

Generated from protobuf field optional uint32 awkward_silence_count = 11;

$eot_misprediction_count

agent started before the caller's turn ended

protected mixed $eot_misprediction_count = null

Generated from protobuf field optional uint32 eot_misprediction_count = 6;

$false_interruption_count

agent paused for a non-interruption

protected mixed $false_interruption_count = null

Generated from protobuf field optional uint32 false_interruption_count = 13;

$false_interruption_unrecovered_count

of those, never resumed

protected mixed $false_interruption_unrecovered_count = null

Generated from protobuf field optional uint32 false_interruption_unrecovered_count = 14;

$overlap_ratio

overlapping speech / total speech

protected mixed $overlap_ratio = null

Generated from protobuf field optional float overlap_ratio = 7;

$overlap_speech_ms

pooling stats for overlap_ratio

protected mixed $overlap_speech_ms = null

Generated from protobuf field optional uint32 overlap_speech_ms = 8;

$response_latency_p50_ms

floor-transfer offset; a gap is > 0, an overlap < 0

protected mixed $response_latency_p50_ms = null

Generated from protobuf field optional int32 response_latency_p50_ms = 2;

$response_latency_p95_ms

Generated from protobuf field <code>optional int32 response_latency_p95_ms = 3;</code>

protected mixed $response_latency_p95_ms = null

$response_latency_p99_ms

Generated from protobuf field <code>optional int32 response_latency_p99_ms = 4;</code>

protected mixed $response_latency_p99_ms = null

$silence_total_ms

dead air within the conversation

protected mixed $silence_total_ms = null

Generated from protobuf field optional uint32 silence_total_ms = 10;

$total_speech_ms

Generated from protobuf field <code>optional uint32 total_speech_ms = 9;</code>

protected mixed $total_speech_ms = null

$turn_taking_score

0-1: latency curve + cut-in/barge-in/missed-turn penalties

protected mixed $turn_taking_score = null

Generated from protobuf field optional float turn_taking_score = 1;

$unanswered_persona_turns

the simulated party spoke, the agent never responded

protected mixed $unanswered_persona_turns = null

Generated from protobuf field optional uint32 unanswered_persona_turns = 12;

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 $turn_taking_score
      0-1: latency curve + cut-in/barge-in/missed-turn penalties
@type int $response_latency_p50_ms
      floor-transfer offset; a gap is > 0, an overlap < 0
@type int $response_latency_p95_ms
@type int $response_latency_p99_ms
@type int $agent_yield_latency_ms
      how long the agent talks after a barge-in, mean
@type int $eot_misprediction_count
      agent started before the caller's turn ended
@type float $overlap_ratio
      overlapping speech / total speech
@type int $overlap_speech_ms
      pooling stats for overlap_ratio
@type int $total_speech_ms
@type int $silence_total_ms
      dead air within the conversation
@type int $awkward_silence_count
      gaps past the natural-pause threshold
@type int $unanswered_persona_turns
      the simulated party spoke, the agent never responded
@type int $false_interruption_count
      agent paused for a non-interruption
@type int $false_interruption_unrecovered_count
      of those, never resumed
@type int $agent_reported_e2e_latency_ms
      the agent's own claim, mean

}

clearAgentReportedE2ELatencyMs()

public clearAgentReportedE2ELatencyMs() : mixed

clearAgentYieldLatencyMs()

public clearAgentYieldLatencyMs() : mixed

clearAwkwardSilenceCount()

public clearAwkwardSilenceCount() : mixed

clearEotMispredictionCount()

public clearEotMispredictionCount() : mixed

clearFalseInterruptionCount()

public clearFalseInterruptionCount() : mixed

clearFalseInterruptionUnrecoveredCount()

public clearFalseInterruptionUnrecoveredCount() : mixed

clearOverlapSpeechMs()

public clearOverlapSpeechMs() : mixed

clearResponseLatencyP50Ms()

public clearResponseLatencyP50Ms() : mixed

clearResponseLatencyP95Ms()

public clearResponseLatencyP95Ms() : mixed

clearResponseLatencyP99Ms()

public clearResponseLatencyP99Ms() : mixed

clearSilenceTotalMs()

public clearSilenceTotalMs() : mixed

clearTotalSpeechMs()

public clearTotalSpeechMs() : mixed

clearTurnTakingScore()

public clearTurnTakingScore() : mixed

clearUnansweredPersonaTurns()

public clearUnansweredPersonaTurns() : mixed

getAgentReportedE2ELatencyMs()

the agent's own claim, mean

public getAgentReportedE2ELatencyMs() : int

Generated from protobuf field optional uint32 agent_reported_e2e_latency_ms = 15;

Return values
int

getAgentYieldLatencyMs()

how long the agent talks after a barge-in, mean

public getAgentYieldLatencyMs() : int

Generated from protobuf field optional uint32 agent_yield_latency_ms = 5;

Return values
int

getAwkwardSilenceCount()

gaps past the natural-pause threshold

public getAwkwardSilenceCount() : int

Generated from protobuf field optional uint32 awkward_silence_count = 11;

Return values
int

getEotMispredictionCount()

agent started before the caller's turn ended

public getEotMispredictionCount() : int

Generated from protobuf field optional uint32 eot_misprediction_count = 6;

Return values
int

getFalseInterruptionCount()

agent paused for a non-interruption

public getFalseInterruptionCount() : int

Generated from protobuf field optional uint32 false_interruption_count = 13;

Return values
int

getFalseInterruptionUnrecoveredCount()

of those, never resumed

public getFalseInterruptionUnrecoveredCount() : int

Generated from protobuf field optional uint32 false_interruption_unrecovered_count = 14;

Return values
int

getOverlapRatio()

overlapping speech / total speech

public getOverlapRatio() : float

Generated from protobuf field optional float overlap_ratio = 7;

Return values
float

getOverlapSpeechMs()

pooling stats for overlap_ratio

public getOverlapSpeechMs() : int

Generated from protobuf field optional uint32 overlap_speech_ms = 8;

Return values
int

getResponseLatencyP50Ms()

floor-transfer offset; a gap is > 0, an overlap < 0

public getResponseLatencyP50Ms() : int

Generated from protobuf field optional int32 response_latency_p50_ms = 2;

Return values
int

getResponseLatencyP95Ms()

Generated from protobuf field <code>optional int32 response_latency_p95_ms = 3;</code>

public getResponseLatencyP95Ms() : int
Return values
int

getResponseLatencyP99Ms()

Generated from protobuf field <code>optional int32 response_latency_p99_ms = 4;</code>

public getResponseLatencyP99Ms() : int
Return values
int

getSilenceTotalMs()

dead air within the conversation

public getSilenceTotalMs() : int

Generated from protobuf field optional uint32 silence_total_ms = 10;

Return values
int

getTotalSpeechMs()

Generated from protobuf field <code>optional uint32 total_speech_ms = 9;</code>

public getTotalSpeechMs() : int
Return values
int

getTurnTakingScore()

0-1: latency curve + cut-in/barge-in/missed-turn penalties

public getTurnTakingScore() : float

Generated from protobuf field optional float turn_taking_score = 1;

Return values
float

getUnansweredPersonaTurns()

the simulated party spoke, the agent never responded

public getUnansweredPersonaTurns() : int

Generated from protobuf field optional uint32 unanswered_persona_turns = 12;

Return values
int

hasAgentReportedE2ELatencyMs()

public hasAgentReportedE2ELatencyMs() : mixed

hasAgentYieldLatencyMs()

public hasAgentYieldLatencyMs() : mixed

hasAwkwardSilenceCount()

public hasAwkwardSilenceCount() : mixed

hasEotMispredictionCount()

public hasEotMispredictionCount() : mixed

hasFalseInterruptionCount()

public hasFalseInterruptionCount() : mixed

hasFalseInterruptionUnrecoveredCount()

public hasFalseInterruptionUnrecoveredCount() : mixed

hasOverlapSpeechMs()

public hasOverlapSpeechMs() : mixed

hasResponseLatencyP50Ms()

public hasResponseLatencyP50Ms() : mixed

hasResponseLatencyP95Ms()

public hasResponseLatencyP95Ms() : mixed

hasResponseLatencyP99Ms()

public hasResponseLatencyP99Ms() : mixed

hasTurnTakingScore()

public hasTurnTakingScore() : mixed

hasUnansweredPersonaTurns()

public hasUnansweredPersonaTurns() : mixed

setAgentReportedE2ELatencyMs()

the agent's own claim, mean

public setAgentReportedE2ELatencyMs(int $var) : $this

Generated from protobuf field optional uint32 agent_reported_e2e_latency_ms = 15;

Parameters
$var : int
Return values
$this

setAgentYieldLatencyMs()

how long the agent talks after a barge-in, mean

public setAgentYieldLatencyMs(int $var) : $this

Generated from protobuf field optional uint32 agent_yield_latency_ms = 5;

Parameters
$var : int
Return values
$this

setAwkwardSilenceCount()

gaps past the natural-pause threshold

public setAwkwardSilenceCount(int $var) : $this

Generated from protobuf field optional uint32 awkward_silence_count = 11;

Parameters
$var : int
Return values
$this

setEotMispredictionCount()

agent started before the caller's turn ended

public setEotMispredictionCount(int $var) : $this

Generated from protobuf field optional uint32 eot_misprediction_count = 6;

Parameters
$var : int
Return values
$this

setFalseInterruptionCount()

agent paused for a non-interruption

public setFalseInterruptionCount(int $var) : $this

Generated from protobuf field optional uint32 false_interruption_count = 13;

Parameters
$var : int
Return values
$this

setFalseInterruptionUnrecoveredCount()

of those, never resumed

public setFalseInterruptionUnrecoveredCount(int $var) : $this

Generated from protobuf field optional uint32 false_interruption_unrecovered_count = 14;

Parameters
$var : int
Return values
$this

setOverlapRatio()

overlapping speech / total speech

public setOverlapRatio(float $var) : $this

Generated from protobuf field optional float overlap_ratio = 7;

Parameters
$var : float
Return values
$this

setOverlapSpeechMs()

pooling stats for overlap_ratio

public setOverlapSpeechMs(int $var) : $this

Generated from protobuf field optional uint32 overlap_speech_ms = 8;

Parameters
$var : int
Return values
$this

setResponseLatencyP50Ms()

floor-transfer offset; a gap is > 0, an overlap < 0

public setResponseLatencyP50Ms(int $var) : $this

Generated from protobuf field optional int32 response_latency_p50_ms = 2;

Parameters
$var : int
Return values
$this

setResponseLatencyP95Ms()

Generated from protobuf field <code>optional int32 response_latency_p95_ms = 3;</code>

public setResponseLatencyP95Ms(int $var) : $this
Parameters
$var : int
Return values
$this

setResponseLatencyP99Ms()

Generated from protobuf field <code>optional int32 response_latency_p99_ms = 4;</code>

public setResponseLatencyP99Ms(int $var) : $this
Parameters
$var : int
Return values
$this

setSilenceTotalMs()

dead air within the conversation

public setSilenceTotalMs(int $var) : $this

Generated from protobuf field optional uint32 silence_total_ms = 10;

Parameters
$var : int
Return values
$this

setTotalSpeechMs()

Generated from protobuf field <code>optional uint32 total_speech_ms = 9;</code>

public setTotalSpeechMs(int $var) : $this
Parameters
$var : int
Return values
$this

setTurnTakingScore()

0-1: latency curve + cut-in/barge-in/missed-turn penalties

public setTurnTakingScore(float $var) : $this

Generated from protobuf field optional float turn_taking_score = 1;

Parameters
$var : float
Return values
$this

setUnansweredPersonaTurns()

the simulated party spoke, the agent never responded

public setUnansweredPersonaTurns(int $var) : $this

Generated from protobuf field optional uint32 unanswered_persona_turns = 12;

Parameters
$var : int
Return values
$this
On this page

Search results