RunModelStatistics
Namespace AgentPrism · Assembly
AgentPrism.Abstractions.dllA model’s run summary. The input to cost computation.
public sealed record RunModelStatistics : IEquatable<RunModelStatistics>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”IEquatable<RunModelStatistics>
Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Section titled “Constructors”RunModelStatistics()
Section titled “ RunModelStatistics()”public RunModelStatistics()Properties
Section titled “Properties”InputTokens
Section titled “ InputTokens”The total input tokens.
public long InputTokens { get; init; }Property Value
Section titled “Property Value”ModelId
Section titled “ ModelId”The model name.
public required string ModelId { get; init; }Property Value
Section titled “Property Value”OutputTokens
Section titled “ OutputTokens”The total output tokens.
public long OutputTokens { get; init; }Property Value
Section titled “Property Value”TotalCost
Section titled “ TotalCost”The total cost of runs made with this model. null if pricing is undefined.
public decimal? TotalCost { get; init; }Property Value
Section titled “Property Value”TotalRuns
Section titled “ TotalRuns”The total number of runs made with this model.
public required long TotalRuns { get; init; }Property Value
Section titled “Property Value”TotalTokens
Section titled “ TotalTokens”The total tokens.
public long TotalTokens { get; init; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Equals(object?)
Section titled “ Equals(object?)”public override bool Equals(object? obj)Parameters
Section titled “Parameters”obj object?
Returns
Section titled “Returns”Equals(RunModelStatistics?)
Section titled “ Equals(RunModelStatistics?)”public bool Equals(RunModelStatistics? other)Parameters
Section titled “Parameters”other RunModelStatistics?
Returns
Section titled “Returns”GetHashCode()
Section titled “ GetHashCode()”public override int GetHashCode()Returns
Section titled “Returns”ToString()
Section titled “ ToString()”public override string ToString()Returns
Section titled “Returns”Operators
Section titled “Operators”operator ==(RunModelStatistics?, RunModelStatistics?)
Section titled “ operator ==(RunModelStatistics?, RunModelStatistics?)”public static bool operator ==(RunModelStatistics? left, RunModelStatistics? right)Parameters
Section titled “Parameters”left RunModelStatistics?
right RunModelStatistics?
Returns
Section titled “Returns”operator !=(RunModelStatistics?, RunModelStatistics?)
Section titled “ operator !=(RunModelStatistics?, RunModelStatistics?)”public static bool operator !=(RunModelStatistics? left, RunModelStatistics? right)Parameters
Section titled “Parameters”left RunModelStatistics?
right RunModelStatistics?