Skip to content

DecisionFilterOptions

Namespace: E2E.Decision

public sealed class DecisionFilterOptions

Options for a test filter that asks a decision model which tests a change can affect (upstream’s DecisionFilterOptions).

Inheritance: object

View source

public IDecisionModel? Model { get; init; }

A decision model that answers boolean questions with a probability. Required unless ModelId is set, which is refused.

Value: IDecisionModel

public string? ModelId { get; init; }

Stands for upstream’s model: 'typesafe-ai/jev' model-id string, which this port types as Model. A model id is not a decision model, so setting it without Model is refused at config load as INVALID_CONFIG.

Value: string

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

Provider options sent with every decide call.

Value: IReadOnlyDictionary<string, JsonElement>