Skip to content

RunFeedbackRequest

Namespace AgentPrism · Assembly AgentPrism.AspNetCore.dll

Request body for writing a run/message score.

public sealed record RunFeedbackRequest : IEquatable<RunFeedbackRequest>

objectRunFeedbackRequest

IEquatable<RunFeedbackRequest>

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

public RunFeedbackRequest()

Free-text comment.

public string? Comment { get; init; }

string?

The format of the score.

public required RunScoreKind Kind { get; init; }

RunScoreKind

The id of the scored message. If left blank, the score applies to the whole run.

public string? MessageId { get; init; }

string?

0/1 for RunScoreKind.Binary, 1.5 for RunScoreKind.Stars.

public required int Value { get; init; }

int

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(RunFeedbackRequest? other)

other RunFeedbackRequest?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(RunFeedbackRequest?, RunFeedbackRequest?)

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

left RunFeedbackRequest?

right RunFeedbackRequest?

bool

operator !=(RunFeedbackRequest?, RunFeedbackRequest?)

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

left RunFeedbackRequest?

right RunFeedbackRequest?

bool