DecisionBooleanCriteria
Namespace: Vercel.AI.Operations
public sealed class DecisionBooleanCriteria : DecisionCriteriaOptional descriptions of the true and false outcomes of a boolean question. A side that is never set is left out of the wire request. A side set to null is sent as null.
Inheritance: object → DecisionCriteria
Properties
Section titled “Properties”public DecisionInput? False { get; init; }Description of the false outcome.
Value: DecisionInput
HasFalse
Section titled “HasFalse”public bool HasFalse { get; }True when False was set, including to null.
Value: bool
HasTrue
Section titled “HasTrue”public bool HasTrue { get; }True when True was set, including to null.
Value: bool
public DecisionInput? True { get; init; }Description of the true outcome.
Value: DecisionInput
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product