Skip to content

DecisionRefusalException

Namespace: E2E.Decision.Sdk

public sealed class DecisionRefusalException : Exception, ISerializable

The AI SDK’s Experimental_DecisionRefusalError: the model refused to answer some questions.

Inheritance: object → Exception

Implements: ISerializable

View source

DecisionRefusalException(IReadOnlyList<string>, string, string)

Section titled “DecisionRefusalException(IReadOnlyList<string>, string, string)”
public DecisionRefusalException(IReadOnlyList<string> questionIds, string provider, string modelId)

The AI SDK’s Experimental_DecisionRefusalError: the model refused to answer some questions.

Parameters

Name Type Description
questionIds IReadOnlyList<string>
provider string
modelId string

public IReadOnlyList<string> QuestionIds { get; }

Value: IReadOnlyList<string>