ai
Version:
AI SDK by Vercel - The AI Toolkit for TypeScript and JavaScript
22 lines (18 loc) • 419 B
text/typescript
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>;
};