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.

22 lines (18 loc) 431 B
export type LanguageModelResponseMetadata = { /** * ID for the generated response. */ id: string; /** * Timestamp for the start of the generated response. */ timestamp: Date; /** * The ID of the response model that was used to generate the response. */ modelId: string; /** * Response headers (available only for providers that use HTTP requests). */ headers?: Record<string, string>; };