DecisionCaller
Namespace: Vercel.AI.Operations
public static class DecisionCallerHelpers for IDecisionCaller.
Inheritance: object
Methods
Section titled “Methods”FromLegacy(IEvaluationCaller)
Section titled “FromLegacy(IEvaluationCaller)”[Obsolete("Implement IDecisionCaller on the model instead.")]public static IDecisionCaller FromLegacy(IEvaluationCaller model)Wraps a model that implements only the deprecated IEvaluationCaller so
CancellationToken) can run it. A model that already implements
IDecisionCaller is returned unchanged.
Parameters
| Name | Type | Description |
|---|---|---|
model |
IEvaluationCaller |
Returns: IDecisionCaller
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product