ai
Version:
AI SDK by Vercel - build apps like ChatGPT, Claude, Gemini, and more with a single interface for any model using the Vercel AI Gateway or go direct to OpenAI, Anthropic, Google, or any other model provider.
12 lines (10 loc) • 433 B
text/typescript
import type {
Experimental_DecisionModelV4 as DecisionModelV4,
Experimental_EvaluationModelV4 as EvaluationModelV4,
} from '@ai-sdk/provider';
/** Structural extension; decision is not part of the stable provider contract. */
export type DecisionProvider = {
decisionModel?: (modelId: string) => DecisionModelV4;
/** @deprecated Use `decisionModel` instead. */
evaluationModel?: (modelId: string) => EvaluationModelV4;
};