EdgeAIG's picture
download
raw
1.33 kB
import { SharedV3ProviderMetadata } from '../../shared/v3/shared-v3-provider-metadata';
/**
* A source that has been used as input to generate the response.
*/
export type LanguageModelV3Source =
| {
type: 'source';
/**
* The type of source - URL sources reference web content.
*/
sourceType: 'url';
/**
* The ID of the source.
*/
id: string;
/**
* The URL of the source.
*/
url: string;
/**
* The title of the source.
*/
title?: string;
/**
* Additional provider metadata for the source.
*/
providerMetadata?: SharedV3ProviderMetadata;
}
| {
type: 'source';
/**
* The type of source - document sources reference files/documents.
*/
sourceType: 'document';
/**
* The ID of the source.
*/
id: string;
/**
* IANA media type of the document (e.g., 'application/pdf').
*/
mediaType: string;
/**
* The title of the document.
*/
title: string;
/**
* Optional filename of the document.
*/
filename?: string;
/**
* Additional provider metadata for the source.
*/
providerMetadata?: SharedV3ProviderMetadata;
};

Xet Storage Details

Size:
1.33 kB
·
Xet hash:
53f1853efa05e78d241ab31b2d17d2e7fd6944cd8e7662a5c4b0d42e5e47fd1b

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.