Skip to content

DecideStartEvent

Namespace: E2E.Decision.Sdk

public record DecideStartEvent : TelemetryEvent, IEquatable<TelemetryEvent>, IEquatable<DecideStartEvent>

The event passed to OnStart (the AI SDK’s DecideStartEvent), when the operation begins, before the decision model is called.

Inheritance: object → TelemetryEvent

Implements: IEquatable<TelemetryEvent>, IEquatable<DecideStartEvent>

Derived: DecideEndEvent

View source

public required string CallId { get; init; }

Unique identifier for this decision call, used to correlate events.

Value: string

public IReadOnlyDictionary<string, string>? Headers { get; init; }

Additional HTTP headers sent with the request.

Value: IReadOnlyDictionary<string, string>

public int? MaxOutputTokens { get; init; }

Maximum output tokens requested for the decision.

Value: int?

public required int MaxRetries { get; init; }

Maximum number of retries for the decision model call.

Value: int

public required string ModelId { get; init; }

The decision model identifier.

Value: string

public string OperationId { get; }

Identifies the operation type (ai.decide).

Value: string

public required string Provider { get; init; }

The provider identifier.

Value: string

public required IReadOnlyDictionary<string, JsonElement> ProviderOptions { get; init; }

Additional provider-specific options.

Value: IReadOnlyDictionary<string, JsonElement>

public required IReadOnlyDictionary<string, DecisionQuestion> Questions { get; init; }

The questions to decide against the shared state.

Value: IReadOnlyDictionary<string, DecisionQuestion>

public string? Reasoning { get; init; }

Reasoning effort requested for the decision.

Value: string

public required IReadOnlyDictionary<string, object?> RuntimeContext { get; init; }

User-defined runtime context.

Value: IReadOnlyDictionary<string, object>

public required IReadOnlyList<DecisionStatePart> State { get; init; }

The shared state used to make decisions.

Value: IReadOnlyList<DecisionStatePart>