DecisionResult
Namespace: E2E.Decision.Sdk
public sealed class DecisionResultWhat RunAsync returns (the AI SDK’s DecisionResult).
Inheritance: object
Properties
Section titled “Properties”Answers
Section titled “Answers”public required IReadOnlyDictionary<string, DecisionAnswer> Answers { get; init; }Value: IReadOnlyDictionary<string, DecisionAnswer>
ProviderMetadata
Section titled “ProviderMetadata”public JsonElement? ProviderMetadata { get; init; }Value: JsonElement?
ResponseBody
Section titled “ResponseBody”public JsonElement? ResponseBody { get; init; }The provider’s response body, as it sent it (upstream’s response.body).
Value: JsonElement?
ResponseHeaders
Section titled “ResponseHeaders”public IReadOnlyDictionary<string, string>? ResponseHeaders { get; init; }The provider’s response headers (upstream’s response.headers), lowercase names.
Value: IReadOnlyDictionary<string, string>
ResponseId
Section titled “ResponseId”public string? ResponseId { get; init; }The id of the response (upstream’s response.id), when the model’s response has one.
Value: string
ResponseModelId
Section titled “ResponseModelId”public required string ResponseModelId { get; init; }The id of the model that served the call: the response’s, or the requested one.
Value: string
Rounding
Section titled “Rounding”public DecisionRounding? Rounding { get; init; }Value: DecisionRounding
Timestamp
Section titled “Timestamp”public DateTimeOffset Timestamp { get; init; }The model response’s timestamp, or the time the result was made.
Value: DateTimeOffset
public required DecisionUsage Usage { get; init; }Value: DecisionUsage
Warnings
Section titled “Warnings”public IReadOnlyList<string> Warnings { get; init; }Value: IReadOnlyList<string>