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) • 421 B
text/typescript
import type { ProviderMetadata } from '../types/provider-metadata';
import type { ProviderReference } from '../types/provider-reference';
import type { Warning } from '../types/warning';
export interface UploadFileResult {
readonly providerReference: ProviderReference;
readonly mediaType?: string;
readonly filename?: string;
readonly providerMetadata?: ProviderMetadata;
readonly warnings: Array<Warning>;
}