Skip to content

DecisionExecutorOptions

Namespace: E2E.Decision

public sealed class DecisionExecutorOptions

Options for an executor that acts through a decision model and writes field text with a language model (upstream’s DecisionExecutorOptions).

Inheritance: object

View source

public IEvaluationModel? EvaluationModel { get; init; }

A deprecated evaluation model, used when Model is not set. It runs through the same loop.

Value: IEvaluationModel

public double MinConfidence { get; init; }

Minimum provider-reported confidence. Default 0 (off). A model that reports none counts as 0; a committed choice (an answer without a distribution) keeps the confidence the provider reports for it.

Value: double

public double MinProbability { get; init; }

Minimum probability for a selected operation, target, secret, or assertion verdict. Default 0 (off).

Value: double

public IDecisionModel? Model { get; init; }

A decision model that answers choice questions with a probability distribution, such as an OpenAIDecisionModel. Set this or EvaluationModel; the executor throws INVALID_CONFIG when neither is set. An answer without Probabilities counts as a committed choice: probability 1, and the provider-reported confidence, which is 0 only when the provider reports none.

Value: IDecisionModel

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

Provider options sent with every decide call. They reach the decision model only: the text model keeps the agents entry’s ProviderOptions.

Value: IReadOnlyDictionary<string, JsonElement>

public IAgentModel? TextModel { get; init; }

A small language model that writes field values when the decision model picks type. It is exposed as the executor’s model, so the agent entry’s judgment tier (WaitFor, Extract) uses it too. Without either, type is never offered.

Value: IAgentModel

public bool Vision { get; init; }

Ask for masked pixels on every observation. The model must take images and answer score questions. Default off.

Value: bool