CustomProvider
Namespace: E2E.Decision.Sdk
public sealed class CustomProvider : IDecisionProviderThe decision models of the AI SDK’s customProvider (custom-provider.ts): a provider that serves its own models and
falls back to another provider.
Inheritance: object
Implements: IDecisionProvider
Constructors
Section titled “Constructors”CustomProvider(CustomProviderOptions)
Section titled “CustomProvider(CustomProviderOptions)”public CustomProvider(CustomProviderOptions options)Upstream’s customProvider.
Parameters
| Name | Type | Description |
|---|---|---|
options |
CustomProviderOptions |
Methods
Section titled “Methods”DecisionModel(string)
Section titled “DecisionModel(string)”public IDecisionModel DecisionModel(string modelId)Creates a decision model (upstream’s decisionModel).
Parameters
| Name | Type | Description |
|---|---|---|
modelId |
string |
Returns: IDecisionModel
EvaluationModel(string)
Section titled “EvaluationModel(string)”public EvaluationDecisionModel EvaluationModel(string modelId)Deprecated: use DecisionModel(string).
Parameters
| Name | Type | Description |
|---|---|---|
modelId |
string |
Returns: EvaluationDecisionModel