EvalSuite
AgentPrism.Abstractions.dllAn evaluation (eval) suite defined for an agent: carries which agent is measured, with which checks.
public sealed record EvalSuite : IEquatable<EvalSuite>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Remarks
Section titled “Remarks”Checks is declarative: it runs no free-form code, it is
only a JSON array that EvalCheckFactory maps to recognized kind
names. A custom check is registered on the code side with AddEvalCheck.
Constructors
Section titled “Constructors”EvalSuite()
Section titled “ EvalSuite()”public EvalSuite()Properties
Section titled “Properties”AgentName
Section titled “ AgentName”The name of the agent this suite measures.
public required string AgentName { get; init; }Property Value
Section titled “Property Value”Checks
Section titled “ Checks”The check definitions. Example: [{"kind":"nonEmpty","minLength":10}].
public JsonElement Checks { get; init; }Property Value
Section titled “Property Value”CreatedAt
Section titled “ CreatedAt”The creation time (UTC).
public DateTimeOffset CreatedAt { get; init; }Property Value
Section titled “Property Value”Description
Section titled “ Description”A short description.
public string? Description { get; init; }Property Value
Section titled “Property Value”The suite identifier.
public Guid Id { get; init; }Property Value
Section titled “Property Value”The suite name. Unique within the tenant.
public required string Name { get; init; }Property Value
Section titled “Property Value”TenantId
Section titled “ TenantId”The tenant the suite belongs to.
public required string TenantId { get; init; }Property Value
Section titled “Property Value”UpdatedAt
Section titled “ UpdatedAt”The last-updated time (UTC).
public DateTimeOffset UpdatedAt { 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(EvalSuite?)
Section titled “ Equals(EvalSuite?)”public bool Equals(EvalSuite? other)Parameters
Section titled “Parameters”other EvalSuite?
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 ==(EvalSuite?, EvalSuite?)
Section titled “ operator ==(EvalSuite?, EvalSuite?)”public static bool operator ==(EvalSuite? left, EvalSuite? right)Parameters
Section titled “Parameters”left EvalSuite?
right EvalSuite?
Returns
Section titled “Returns”operator !=(EvalSuite?, EvalSuite?)
Section titled “ operator !=(EvalSuite?, EvalSuite?)”public static bool operator !=(EvalSuite? left, EvalSuite? right)Parameters
Section titled “Parameters”left EvalSuite?
right EvalSuite?