UNPKG

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.

16 lines (13 loc) 357 B
export const AI_SDK_TELEMETRY_TRACING_CHANNEL = 'ai:telemetry'; export type TelemetryTracingEventType = | 'generateText' | 'streamText' | 'step' | 'languageModelCall' | 'executeTool' | 'embed' | 'rerank'; export type TelemetryTracingChannelMessage<EVENT = unknown> = { readonly type: TelemetryTracingEventType; readonly event: EVENT; };