Table of Contents

Class SimulationRun.Types.JobMetrics.Types.LLM

Namespace
LiveKit.Proto
Assembly
LiveKit.AspNetCore.ServerSdk.Abstractions.dll
public sealed class SimulationRun.Types.JobMetrics.Types.LLM : IMessage<SimulationRun.Types.JobMetrics.Types.LLM>, IEquatable<SimulationRun.Types.JobMetrics.Types.LLM>, IDeepCloneable<SimulationRun.Types.JobMetrics.Types.LLM>, IBufferMessage, IMessage
Inheritance
SimulationRun.Types.JobMetrics.Types.LLM
Implements
IBufferMessage
IMessage
Inherited Members

Constructors

LLM()

public LLM()

LLM(LLM)

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

Parameters

other SimulationRun.Types.JobMetrics.Types.LLM

Fields

TokensPerSecondFieldNumber

Field number for the "tokens_per_second" field.

public const int TokensPerSecondFieldNumber = 3

Field Value

int

TtfsMsFieldNumber

Field number for the "ttfs_ms" field.

public const int TtfsMsFieldNumber = 2

Field Value

int

TtftMsFieldNumber

Field number for the "ttft_ms" field.

public const int TtftMsFieldNumber = 1

Field Value

int

Properties

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

HasTokensPerSecond

Gets whether the "tokens_per_second" field is set

public bool HasTokensPerSecond { get; }

Property Value

bool

HasTtfsMs

Gets whether the "ttfs_ms" field is set

public bool HasTtfsMs { get; }

Property Value

bool

HasTtftMs

Gets whether the "ttft_ms" field is set

public bool HasTtftMs { get; }

Property Value

bool

Parser

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

Property Value

MessageParser<SimulationRun.Types.JobMetrics.Types.LLM>

TokensPerSecond

needs the RemoteSession

public float TokensPerSecond { get; set; }

Property Value

float

TtfsMs

needs the RemoteSession; time to first sentence, the smallest speakable unit

public uint TtfsMs { get; set; }

Property Value

uint

TtftMs

needs the RemoteSession; time to first token

public uint TtftMs { 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.

ClearTokensPerSecond()

Clears the value of the "tokens_per_second" field

public void ClearTokensPerSecond()

ClearTtfsMs()

Clears the value of the "ttfs_ms" field

public void ClearTtfsMs()

ClearTtftMs()

Clears the value of the "ttft_ms" field

public void ClearTtftMs()

Clone()

Creates a deep clone of this object.

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

Returns

SimulationRun.Types.JobMetrics.Types.LLM

A deep clone of this object.

Equals(LLM)

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

Parameters

other SimulationRun.Types.JobMetrics.Types.LLM

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

Merges the given message into this one.

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

Parameters

other SimulationRun.Types.JobMetrics.Types.LLM

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.