DecisionScoreCriteria
Namespace: Vercel.AI.Operations
public sealed class DecisionScoreCriteria : DecisionCriteriaCriteria of a score question: at least two ordered levels, indexed from zero. A null description means none.
Inheritance: object → DecisionCriteria
Constructors
Section titled “Constructors”DecisionScoreCriteria(IReadOnlyList<DecisionInput?>)
Section titled “DecisionScoreCriteria(IReadOnlyList<DecisionInput?>)”public DecisionScoreCriteria(IReadOnlyList<DecisionInput?> levels)Creates score criteria.
Parameters
| Name | Type | Description |
|---|---|---|
levels |
IReadOnlyList<DecisionInput> |
Properties
Section titled “Properties”public override int Count { get; }Number of options or levels. A boolean has none.
Value: int
Levels
Section titled “Levels”public IReadOnlyList<DecisionInput?> Levels { get; }Level descriptions, lowest first.
Value: IReadOnlyList<DecisionInput>
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product