Skip to content

CustomProviderOptions

Namespace: E2E.Decision.Sdk

public sealed class CustomProviderOptions

The decision members of the arguments of the AI SDK’s customProvider (ai/src/registry/custom-provider.ts).

Inheritance: object

View source

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

The decision models, by id.

Value: IReadOnlyDictionary<string, IDecisionModel>

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

Deprecated: use DecisionModels. When both are set, DecisionModels takes precedence.

Value: IReadOnlyDictionary<string, IEvaluationModel>

public IDecisionProvider? FallbackProvider { get; init; }

The provider that answers an id the maps do not have.

Value: IDecisionProvider