DecisionUnsupportedQuestionTypeException
Namespace: Vercel.AI.Operations
public class DecisionUnsupportedQuestionTypeException : AiSdkException, ISerializable, IErrorMarkersThe decision model does not support a question type. It carries the ErrorMarker marker, so IsInstance(object) recognizes it.
Inheritance: object → Exception → AiSdkException
Implements: ISerializable, IErrorMarkers
Derived: EvaluationUnsupportedQuestionTypeException
Constructors
Section titled “Constructors”DecisionUnsupportedQuestionTypeException(string, string, string, string)
Section titled “DecisionUnsupportedQuestionTypeException(string, string, string, string)”public DecisionUnsupportedQuestionTypeException(string questionId, string questionType, string provider, string modelId)Creates the exception.
Parameters
| Name | Type | Description |
|---|---|---|
questionId |
string | |
questionType |
string | |
provider |
string | |
modelId |
string |
Properties
Section titled “Properties”ErrorName
Section titled “ErrorName”public string ErrorName { get; }Upstream error name, AI_DecisionUnsupportedQuestionTypeError.
Value: string
ModelId
Section titled “ModelId”public string ModelId { get; }Model id.
Value: string
Provider
Section titled “Provider”public string Provider { get; }Provider id.
Value: string
QuestionId
Section titled “QuestionId”public string QuestionId { get; }Question id.
Value: string
QuestionType
Section titled “QuestionType”public string QuestionType { get; }Rejected question type.
Value: string
Methods
Section titled “Methods”HasMarker(string)
Section titled “HasMarker(string)”public bool HasMarker(string marker)Returns whether <code class=“paramref”>marker</code> is set to true.
Parameters
| Name | Type | Description |
|---|---|---|
marker |
string |
Returns: bool
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product