Table of Contents

Class SimulationRun.Types.JobMetrics.Types.Conversation

Namespace
LiveKit.Proto
Assembly
LiveKit.AspNetCore.ServerSdk.Abstractions.dll

Audio only.

public sealed class SimulationRun.Types.JobMetrics.Types.Conversation : IMessage<SimulationRun.Types.JobMetrics.Types.Conversation>, IEquatable<SimulationRun.Types.JobMetrics.Types.Conversation>, IDeepCloneable<SimulationRun.Types.JobMetrics.Types.Conversation>, IBufferMessage, IMessage
Inheritance
SimulationRun.Types.JobMetrics.Types.Conversation
Implements
IBufferMessage
IMessage
Inherited Members

Constructors

Conversation()

public Conversation()

Conversation(Conversation)

public Conversation(SimulationRun.Types.JobMetrics.Types.Conversation other)

Parameters

other SimulationRun.Types.JobMetrics.Types.Conversation

Fields

AwkwardSilenceCountFieldNumber

Field number for the "awkward_silence_count" field.

public const int AwkwardSilenceCountFieldNumber = 11

Field Value

int

E2ELatencyMsFieldNumber

Field number for the "e2e_latency_ms" field.

public const int E2ELatencyMsFieldNumber = 15

Field Value

int

EotMispredictionCountFieldNumber

Field number for the "eot_misprediction_count" field.

public const int EotMispredictionCountFieldNumber = 6

Field Value

int

FalseInterruptionCountFieldNumber

Field number for the "false_interruption_count" field.

public const int FalseInterruptionCountFieldNumber = 13

Field Value

int

HeardE2ELatencyP50MsFieldNumber

Field number for the "heard_e2e_latency_p50_ms" field.

public const int HeardE2ELatencyP50MsFieldNumber = 2

Field Value

int

HeardE2ELatencyP95MsFieldNumber

Field number for the "heard_e2e_latency_p95_ms" field.

public const int HeardE2ELatencyP95MsFieldNumber = 3

Field Value

int

HeardE2ELatencyP99MsFieldNumber

Field number for the "heard_e2e_latency_p99_ms" field.

public const int HeardE2ELatencyP99MsFieldNumber = 4

Field Value

int

OverlapRatioFieldNumber

Field number for the "overlap_ratio" field.

public const int OverlapRatioFieldNumber = 7

Field Value

int

OverlapSpeechMsFieldNumber

Field number for the "overlap_speech_ms" field.

public const int OverlapSpeechMsFieldNumber = 8

Field Value

int

TimeToYieldMsFieldNumber

Field number for the "time_to_yield_ms" field.

public const int TimeToYieldMsFieldNumber = 5

Field Value

int

TotalSpeechMsFieldNumber

Field number for the "total_speech_ms" field.

public const int TotalSpeechMsFieldNumber = 9

Field Value

int

TurnTakingScoreFieldNumber

Field number for the "turn_taking_score" field.

public const int TurnTakingScoreFieldNumber = 1

Field Value

int

UnansweredTurnsFieldNumber

Field number for the "unanswered_turns" field.

public const int UnansweredTurnsFieldNumber = 12

Field Value

int

Properties

AwkwardSilenceCount

gaps past the natural-pause threshold

public uint AwkwardSilenceCount { get; set; }

Property Value

uint

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

E2ELatencyMs

needs the RemoteSession; the agent's own claim

public uint E2ELatencyMs { get; set; }

Property Value

uint

EotMispredictionCount

agent started before the caller's turn ended

public uint EotMispredictionCount { get; set; }

Property Value

uint

FalseInterruptionCount

needs the RemoteSession; agent paused for a non-interruption

public uint FalseInterruptionCount { get; set; }

Property Value

uint

HasAwkwardSilenceCount

Gets whether the "awkward_silence_count" field is set

public bool HasAwkwardSilenceCount { get; }

Property Value

bool

HasE2ELatencyMs

Gets whether the "e2e_latency_ms" field is set

public bool HasE2ELatencyMs { get; }

Property Value

bool

HasEotMispredictionCount

Gets whether the "eot_misprediction_count" field is set

public bool HasEotMispredictionCount { get; }

Property Value

bool

HasFalseInterruptionCount

Gets whether the "false_interruption_count" field is set

public bool HasFalseInterruptionCount { get; }

Property Value

bool

HasHeardE2ELatencyP50Ms

Gets whether the "heard_e2e_latency_p50_ms" field is set

public bool HasHeardE2ELatencyP50Ms { get; }

Property Value

bool

HasHeardE2ELatencyP95Ms

Gets whether the "heard_e2e_latency_p95_ms" field is set

public bool HasHeardE2ELatencyP95Ms { get; }

Property Value

bool

HasHeardE2ELatencyP99Ms

Gets whether the "heard_e2e_latency_p99_ms" field is set

public bool HasHeardE2ELatencyP99Ms { get; }

Property Value

bool

HasOverlapRatio

Gets whether the "overlap_ratio" field is set

public bool HasOverlapRatio { get; }

Property Value

bool

HasOverlapSpeechMs

Gets whether the "overlap_speech_ms" field is set

public bool HasOverlapSpeechMs { get; }

Property Value

bool

HasTimeToYieldMs

Gets whether the "time_to_yield_ms" field is set

public bool HasTimeToYieldMs { get; }

Property Value

bool

HasTotalSpeechMs

Gets whether the "total_speech_ms" field is set

public bool HasTotalSpeechMs { get; }

Property Value

bool

HasTurnTakingScore

Gets whether the "turn_taking_score" field is set

public bool HasTurnTakingScore { get; }

Property Value

bool

HasUnansweredTurns

Gets whether the "unanswered_turns" field is set

public bool HasUnansweredTurns { get; }

Property Value

bool

HeardE2ELatencyP50Ms

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

public int HeardE2ELatencyP50Ms { get; set; }

Property Value

int

HeardE2ELatencyP95Ms

public int HeardE2ELatencyP95Ms { get; set; }

Property Value

int

HeardE2ELatencyP99Ms

public int HeardE2ELatencyP99Ms { get; set; }

Property Value

int

OverlapRatio

overlapping speech / total speech

public float OverlapRatio { get; set; }

Property Value

float

OverlapSpeechMs

pooling stats for overlap_ratio

public uint OverlapSpeechMs { get; set; }

Property Value

uint

Parser

public static MessageParser<SimulationRun.Types.JobMetrics.Types.Conversation> Parser { get; }

Property Value

MessageParser<SimulationRun.Types.JobMetrics.Types.Conversation>

TimeToYieldMs

agent audio continuing past a barge-in

public uint TimeToYieldMs { get; set; }

Property Value

uint

TotalSpeechMs

public uint TotalSpeechMs { get; set; }

Property Value

uint

TurnTakingScore

0-1

public float TurnTakingScore { get; set; }

Property Value

float

UnansweredTurns

the simulated party spoke, the agent never responded

public uint UnansweredTurns { get; set; }

Property Value

uint

Methods

CalculateSize()

Calculates the size of this message in Protocol Buffer wire format, in bytes.

public int CalculateSize()

Returns

int

The number of bytes required to write this message to a coded output stream.

ClearAwkwardSilenceCount()

Clears the value of the "awkward_silence_count" field

public void ClearAwkwardSilenceCount()

ClearE2ELatencyMs()

Clears the value of the "e2e_latency_ms" field

public void ClearE2ELatencyMs()

ClearEotMispredictionCount()

Clears the value of the "eot_misprediction_count" field

public void ClearEotMispredictionCount()

ClearFalseInterruptionCount()

Clears the value of the "false_interruption_count" field

public void ClearFalseInterruptionCount()

ClearHeardE2ELatencyP50Ms()

Clears the value of the "heard_e2e_latency_p50_ms" field

public void ClearHeardE2ELatencyP50Ms()

ClearHeardE2ELatencyP95Ms()

Clears the value of the "heard_e2e_latency_p95_ms" field

public void ClearHeardE2ELatencyP95Ms()

ClearHeardE2ELatencyP99Ms()

Clears the value of the "heard_e2e_latency_p99_ms" field

public void ClearHeardE2ELatencyP99Ms()

ClearOverlapRatio()

Clears the value of the "overlap_ratio" field

public void ClearOverlapRatio()

ClearOverlapSpeechMs()

Clears the value of the "overlap_speech_ms" field

public void ClearOverlapSpeechMs()

ClearTimeToYieldMs()

Clears the value of the "time_to_yield_ms" field

public void ClearTimeToYieldMs()

ClearTotalSpeechMs()

Clears the value of the "total_speech_ms" field

public void ClearTotalSpeechMs()

ClearTurnTakingScore()

Clears the value of the "turn_taking_score" field

public void ClearTurnTakingScore()

ClearUnansweredTurns()

Clears the value of the "unanswered_turns" field

public void ClearUnansweredTurns()

Clone()

Creates a deep clone of this object.

public SimulationRun.Types.JobMetrics.Types.Conversation Clone()

Returns

SimulationRun.Types.JobMetrics.Types.Conversation

A deep clone of this object.

Equals(Conversation)

public bool Equals(SimulationRun.Types.JobMetrics.Types.Conversation other)

Parameters

other SimulationRun.Types.JobMetrics.Types.Conversation

Returns

bool

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(CodedInputStream)

Merges the data from the specified coded input stream with the current message.

public void MergeFrom(CodedInputStream input)

Parameters

input CodedInputStream

Remarks

See the user guide for precise merge semantics.

MergeFrom(Conversation)

Merges the given message into this one.

public void MergeFrom(SimulationRun.Types.JobMetrics.Types.Conversation other)

Parameters

other SimulationRun.Types.JobMetrics.Types.Conversation

Remarks

See the user guide for precise merge semantics.

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

Writes the data to the given coded output stream.

public void WriteTo(CodedOutputStream output)

Parameters

output CodedOutputStream

Coded output stream to write the data to. Must not be null.