.NET API
EvalCaseDraft
Tracon.Abstractions.dllCarrier for adding a single EvalCase.
public sealed record EvalCaseDraft : IEquatable<EvalCaseDraft>- Inheritance
- object ← EvalCaseDraft
- Implements
- IEquatable<EvalCaseDraft>
- Inherited Members
- object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Section titled “Constructors”EvalCaseDraft()
Section titled “ EvalCaseDraft()”public EvalCaseDraft()Properties
Section titled “Properties”Context
Section titled “ Context”Text given to the model as extra context.
public string? Context { get; init; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”The agent receives it through the document channel, ahead of EvalCaseDraft.Query; see EvalCase.Context. A promoted case stores the source run’s document channel blocks here verbatim.
ExpectedOutput
Section titled “ ExpectedOutput”The expected output.
public string? ExpectedOutput { get; init; }Property Value
Section titled “Property Value”ExpectedToolCalls
Section titled “ ExpectedToolCalls”The expected tool calls. See EvalCase.ExpectedToolCalls.
public IReadOnlyList<EvalExpectedToolCall> ExpectedToolCalls { get; init; }Property Value
Section titled “Property Value”IReadOnlyList<EvalExpectedToolCall>
Parameters
Section titled “ Parameters”Values for the target agent’s AgentDefinition.Parameters schema. null for an agent that declares no parameters. See EvalCase.Parameters.
public IReadOnlyDictionary<string, string>? Parameters { get; init; }Property Value
Section titled “Property Value”IReadOnlyDictionary<string, string>?
Remarks
Section titled “Remarks”A promoted case copies the values the source run recorded (RunInputRecord.Parameters, defaults included), so the case is bound with what the production run was told. An IEvalStore writes them like the case’s other fields; one that drops them leaves a promoted case of a parameterized agent failing on a missing value, or running on a default the run never used.
The query text sent to the agent.
public required string Query { get; init; }Property Value
Section titled “Property Value”SourceKind
Section titled “ SourceKind”The reason for promotion. null for hand-added cases.
public EvalCaseSource? SourceKind { get; init; }Property Value
Section titled “Property Value”SourceRunId
Section titled “ SourceRunId”The run the case was generated from. null for hand-added cases.
public Guid? SourceRunId { get; init; }Property Value
Section titled “Property Value”Guid?
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(EvalCaseDraft?)
Section titled “ Equals(EvalCaseDraft?)”public bool Equals(EvalCaseDraft? other)Parameters
Section titled “Parameters”other EvalCaseDraft?
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 ==(EvalCaseDraft?, EvalCaseDraft?)
Section titled “ operator ==(EvalCaseDraft?, EvalCaseDraft?)”public static bool operator ==(EvalCaseDraft? left, EvalCaseDraft? right)Parameters
Section titled “Parameters”left EvalCaseDraft?
right EvalCaseDraft?
Returns
Section titled “Returns”operator !=(EvalCaseDraft?, EvalCaseDraft?)
Section titled “ operator !=(EvalCaseDraft?, EvalCaseDraft?)”public static bool operator !=(EvalCaseDraft? left, EvalCaseDraft? right)Parameters
Section titled “Parameters”left EvalCaseDraft?
right EvalCaseDraft?