EvaluationAnswer
Namespace: Vercel.AI.Operations
[Obsolete("Use DecisionAnswer instead.")]public sealed class EvaluationAnswer : DecisionAnswerDeprecated alias of DecisionAnswer.
Inheritance: object → DecisionAnswer
Constructors
Section titled “Constructors”EvaluationAnswer(string, string?, double?, double?, IReadOnlyDictionary<string, double>?)
Section titled “EvaluationAnswer(string, string?, double?, double?, IReadOnlyDictionary<string, double>?)”public EvaluationAnswer(string type, string? choice = null, double? score = null, double? probability = null, IReadOnlyDictionary<string, double>? probabilities = null)Creates an answer.
Parameters
| Name | Type | Description |
|---|---|---|
type |
string | |
choice |
string | |
score |
double? | |
probability |
double? | |
probabilities |
IReadOnlyDictionary<string, double> |
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product