Skip to content

EvalCasePromotionRequest

Namespace AgentPrism · Assembly AgentPrism.AspNetCore.dll

Request to promote a run to a case.

public sealed record EvalCasePromotionRequest : IEquatable<EvalCasePromotionRequest>

objectEvalCasePromotionRequest

IEquatable<EvalCasePromotionRequest>

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

public EvalCasePromotionRequest()

Overrides the promotion reason. If not given, it is derived automatically from the run’s status and score.

public EvalCaseSource? SourceKind { get; init; }

EvalCaseSource?

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(EvalCasePromotionRequest? other)

other EvalCasePromotionRequest?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(EvalCasePromotionRequest?, EvalCasePromotionRequest?)

Section titled “ operator ==(EvalCasePromotionRequest?, EvalCasePromotionRequest?)”
public static bool operator ==(EvalCasePromotionRequest? left, EvalCasePromotionRequest? right)

left EvalCasePromotionRequest?

right EvalCasePromotionRequest?

bool

operator !=(EvalCasePromotionRequest?, EvalCasePromotionRequest?)

Section titled “ operator !=(EvalCasePromotionRequest?, EvalCasePromotionRequest?)”
public static bool operator !=(EvalCasePromotionRequest? left, EvalCasePromotionRequest? right)

left EvalCasePromotionRequest?

right EvalCasePromotionRequest?

bool