Table of Contents

Class SimulationRun.Types.JobMetrics.Types.Turn

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

Rows exist for text and audio. The groups above hold the means and pools over these; anything not measured for a turn stays unset.

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

Constructors

Turn()

public Turn()

Turn(Turn)

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

Parameters

other SimulationRun.Types.JobMetrics.Types.Turn

Fields

AwkwardSilenceFieldNumber

Field number for the "awkward_silence" field.

public const int AwkwardSilenceFieldNumber = 16

Field Value

int

ConcisenessFieldNumber

Field number for the "conciseness" field.

public const int ConcisenessFieldNumber = 14

Field Value

int

E2ELatencyMsFieldNumber

Field number for the "e2e_latency_ms" field.

public const int E2ELatencyMsFieldNumber = 10

Field Value

int

EndMsFieldNumber

Field number for the "end_ms" field.

public const int EndMsFieldNumber = 4

Field Value

int

EotMispredictionFieldNumber

Field number for the "eot_misprediction" field.

public const int EotMispredictionFieldNumber = 15

Field Value

int

HeardE2ELatencyMsFieldNumber

Field number for the "heard_e2e_latency_ms" field.

public const int HeardE2ELatencyMsFieldNumber = 11

Field Value

int

IndexFieldNumber

Field number for the "index" field.

public const int IndexFieldNumber = 1

Field Value

int

LlmTpsFieldNumber

Field number for the "llm_tps" field.

public const int LlmTpsFieldNumber = 8

Field Value

int

LlmTtfsMsFieldNumber

Field number for the "llm_ttfs_ms" field.

public const int LlmTtfsMsFieldNumber = 7

Field Value

int

LlmTtftMsFieldNumber

Field number for the "llm_ttft_ms" field.

public const int LlmTtftMsFieldNumber = 6

Field Value

int

RoleFieldNumber

Field number for the "role" field.

public const int RoleFieldNumber = 2

Field Value

int

StartMsFieldNumber

Field number for the "start_ms" field.

public const int StartMsFieldNumber = 3

Field Value

int

SttDelayMsFieldNumber

Field number for the "stt_delay_ms" field.

public const int SttDelayMsFieldNumber = 5

Field Value

int

TimeToYieldMsFieldNumber

Field number for the "time_to_yield_ms" field.

public const int TimeToYieldMsFieldNumber = 12

Field Value

int

TtsTtfbMsFieldNumber

Field number for the "tts_ttfb_ms" field.

public const int TtsTtfbMsFieldNumber = 9

Field Value

int

TurnTakingScoreFieldNumber

Field number for the "turn_taking_score" field.

public const int TurnTakingScoreFieldNumber = 13

Field Value

int

UnansweredFieldNumber

Field number for the "unanswered" field.

public const int UnansweredFieldNumber = 17

Field Value

int

Properties

AwkwardSilence

public bool AwkwardSilence { get; set; }

Property Value

bool

Conciseness

needs the text judge

public float Conciseness { get; set; }

Property Value

float

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

E2ELatencyMs

needs the RemoteSession

public uint E2ELatencyMs { get; set; }

Property Value

uint

EndMs

audio only

public uint EndMs { get; set; }

Property Value

uint

EotMisprediction

public bool EotMisprediction { get; set; }

Property Value

bool

HasAwkwardSilence

Gets whether the "awkward_silence" field is set

public bool HasAwkwardSilence { get; }

Property Value

bool

HasConciseness

Gets whether the "conciseness" field is set

public bool HasConciseness { get; }

Property Value

bool

HasE2ELatencyMs

Gets whether the "e2e_latency_ms" field is set

public bool HasE2ELatencyMs { get; }

Property Value

bool

HasEndMs

Gets whether the "end_ms" field is set

public bool HasEndMs { get; }

Property Value

bool

HasEotMisprediction

Gets whether the "eot_misprediction" field is set

public bool HasEotMisprediction { get; }

Property Value

bool

HasHeardE2ELatencyMs

Gets whether the "heard_e2e_latency_ms" field is set

public bool HasHeardE2ELatencyMs { get; }

Property Value

bool

HasLlmTps

Gets whether the "llm_tps" field is set

public bool HasLlmTps { get; }

Property Value

bool

HasLlmTtfsMs

Gets whether the "llm_ttfs_ms" field is set

public bool HasLlmTtfsMs { get; }

Property Value

bool

HasLlmTtftMs

Gets whether the "llm_ttft_ms" field is set

public bool HasLlmTtftMs { get; }

Property Value

bool

HasStartMs

Gets whether the "start_ms" field is set

public bool HasStartMs { get; }

Property Value

bool

HasSttDelayMs

Gets whether the "stt_delay_ms" field is set

public bool HasSttDelayMs { get; }

Property Value

bool

HasTimeToYieldMs

Gets whether the "time_to_yield_ms" field is set

public bool HasTimeToYieldMs { get; }

Property Value

bool

HasTtsTtfbMs

Gets whether the "tts_ttfb_ms" field is set

public bool HasTtsTtfbMs { get; }

Property Value

bool

HasTurnTakingScore

Gets whether the "turn_taking_score" field is set

public bool HasTurnTakingScore { get; }

Property Value

bool

HasUnanswered

Gets whether the "unanswered" field is set

public bool HasUnanswered { get; }

Property Value

bool

HeardE2ELatencyMs

public int HeardE2ELatencyMs { get; set; }

Property Value

int

Index

1-based, conversation order

public uint Index { get; set; }

Property Value

uint

LlmTps

needs the RemoteSession

public float LlmTps { get; set; }

Property Value

float

LlmTtfsMs

needs the RemoteSession

public uint LlmTtfsMs { get; set; }

Property Value

uint

LlmTtftMs

needs the RemoteSession

public uint LlmTtftMs { get; set; }

Property Value

uint

Parser

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

Property Value

MessageParser<SimulationRun.Types.JobMetrics.Types.Turn>

Role

ASSISTANT = the agent under test, USER = simulator persona

public ChatRole Role { get; set; }

Property Value

ChatRole

StartMs

audio only; relative to t0; unset if the turn could not be aligned to the audio

public uint StartMs { get; set; }

Property Value

uint

SttDelayMs

needs the RemoteSession

public uint SttDelayMs { get; set; }

Property Value

uint

TimeToYieldMs

public uint TimeToYieldMs { get; set; }

Property Value

uint

TtsTtfbMs

needs the RemoteSession

public uint TtsTtfbMs { get; set; }

Property Value

uint

TurnTakingScore

public float TurnTakingScore { get; set; }

Property Value

float

Unanswered

public bool Unanswered { get; set; }

Property Value

bool

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.

ClearAwkwardSilence()

Clears the value of the "awkward_silence" field

public void ClearAwkwardSilence()

ClearConciseness()

Clears the value of the "conciseness" field

public void ClearConciseness()

ClearE2ELatencyMs()

Clears the value of the "e2e_latency_ms" field

public void ClearE2ELatencyMs()

ClearEndMs()

Clears the value of the "end_ms" field

public void ClearEndMs()

ClearEotMisprediction()

Clears the value of the "eot_misprediction" field

public void ClearEotMisprediction()

ClearHeardE2ELatencyMs()

Clears the value of the "heard_e2e_latency_ms" field

public void ClearHeardE2ELatencyMs()

ClearLlmTps()

Clears the value of the "llm_tps" field

public void ClearLlmTps()

ClearLlmTtfsMs()

Clears the value of the "llm_ttfs_ms" field

public void ClearLlmTtfsMs()

ClearLlmTtftMs()

Clears the value of the "llm_ttft_ms" field

public void ClearLlmTtftMs()

ClearStartMs()

Clears the value of the "start_ms" field

public void ClearStartMs()

ClearSttDelayMs()

Clears the value of the "stt_delay_ms" field

public void ClearSttDelayMs()

ClearTimeToYieldMs()

Clears the value of the "time_to_yield_ms" field

public void ClearTimeToYieldMs()

ClearTtsTtfbMs()

Clears the value of the "tts_ttfb_ms" field

public void ClearTtsTtfbMs()

ClearTurnTakingScore()

Clears the value of the "turn_taking_score" field

public void ClearTurnTakingScore()

ClearUnanswered()

Clears the value of the "unanswered" field

public void ClearUnanswered()

Clone()

Creates a deep clone of this object.

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

Returns

SimulationRun.Types.JobMetrics.Types.Turn

A deep clone of this object.

Equals(Turn)

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

Parameters

other SimulationRun.Types.JobMetrics.Types.Turn

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(Turn)

Merges the given message into this one.

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

Parameters

other SimulationRun.Types.JobMetrics.Types.Turn

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.