DecisionModelCallEndEvent
Namespace: E2E.Decision.Sdk
public record DecisionModelCallEndEvent : DecisionModelCallStartEvent, IEquatable<TelemetryEvent>, IEquatable<DecisionModelCallStartEvent>, IEquatable<DecisionModelCallEndEvent>The event fired after the decision model response has been validated (the AI SDK’s DecisionModelCallEndEvent): the result of the
logical model call, including any retries.
Inheritance: object → TelemetryEvent → DecisionModelCallStartEvent
Implements: IEquatable<TelemetryEvent>, IEquatable<DecisionModelCallStartEvent>, IEquatable<DecisionModelCallEndEvent>
Properties
Section titled “Properties”Answers
Section titled “Answers”public required IReadOnlyDictionary<string, DecisionAnswer> Answers { get; init; }Exactly one answer per question ID.
Value: IReadOnlyDictionary<string, DecisionAnswer>
ProviderMetadata
Section titled “ProviderMetadata”public JsonElement? ProviderMetadata { get; init; }Optional provider-specific metadata.
Value: JsonElement?
ResponseId
Section titled “ResponseId”public string? ResponseId { get; init; }The id of the response (upstream’s response.id), when the provider sends one.
Value: string
ResponseModelId
Section titled “ResponseModelId”public string? ResponseModelId { get; init; }The id of the model that served the call, when the response names one.
Value: string
Rounding
Section titled “Rounding”public DecisionRounding? Rounding { get; init; }Provider-declared decimal precision for probabilities and scores.
Value: DecisionRounding
Timestamp
Section titled “Timestamp”public DateTimeOffset? Timestamp { get; init; }The timestamp of the response (upstream’s response.timestamp), when the provider sends one.
Value: DateTimeOffset?
public DecisionUsage? Usage { get; init; }Token usage reported by the decision model.
Value: DecisionUsage
Warnings
Section titled “Warnings”public required IReadOnlyList<string> Warnings { get; init; }Warnings from the decision model.
Value: IReadOnlyList<string>