EvaluationModelCall
Namespace: Vercel.AI.Operations
[Obsolete("Use DecisionModelCall instead.")]public sealed class EvaluationModelCall : DecisionModelCallDeprecated alias of DecisionModelCall.
Inheritance: object → DecisionModelCall
Constructors
Section titled “Constructors”EvaluationModelCall(IReadOnlyList<DecisionModelStatePart>, IReadOnlyDictionary<string, EvaluationQuestion>, JsonElement, IReadOnlyDictionary<string, string>, CancellationToken, double?, string?)
Section titled “EvaluationModelCall(IReadOnlyList<DecisionModelStatePart>, IReadOnlyDictionary<string, EvaluationQuestion>, JsonElement, IReadOnlyDictionary<string, string>, CancellationToken, double?, string?)”public EvaluationModelCall(IReadOnlyList<DecisionModelStatePart> state, IReadOnlyDictionary<string, EvaluationQuestion> questions, JsonElement providerOptions, IReadOnlyDictionary<string, string> headers, CancellationToken cancellationToken, double? maxOutputTokens = null, string? reasoning = null)Creates a call.
Parameters
| Name | Type | Description |
|---|---|---|
state |
IReadOnlyList<DecisionModelStatePart> | |
questions |
IReadOnlyDictionary<string, EvaluationQuestion> | |
providerOptions |
JsonElement | |
headers |
IReadOnlyDictionary<string, string> | |
cancellationToken |
CancellationToken | |
maxOutputTokens |
double? | |
reasoning |
string |
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product