Skip to content

RunInputRecord

Namespace AgentPrism · Assembly AgentPrism.Abstractions.dll

A run’s stored input.

public sealed record RunInputRecord : IEquatable<RunInputRecord>

objectRunInputRecord

IEquatable<RunInputRecord>

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

public RunInputRecord()

The record’s creation time (UTC).

public required DateTimeOffset CreatedAt { get; init; }

DateTimeOffset

The input messages.

public required IReadOnlyList<ChatMessage> Messages { get; init; }

IReadOnlyList<ChatMessage>

Carries polymorphic content (TextContent, UriContent, FunctionResultContent …). Stored in the json column, not jsonb: jsonb reorders object keys, and System.Text.Json’s $type discriminator must be the object’s first property.

The run identifier.

public required Guid RunId { get; init; }

Guid

The tenant the run belongs to.

public required string TenantId { get; init; }

string

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(RunInputRecord? other)

other RunInputRecord?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(RunInputRecord?, RunInputRecord?)

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

left RunInputRecord?

right RunInputRecord?

bool

operator !=(RunInputRecord?, RunInputRecord?)

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

left RunInputRecord?

right RunInputRecord?

bool