EdgeAIG's picture
download
raw
1.1 kB
import {
SharedV3Headers,
SharedV3ProviderMetadata,
SharedV3Warning,
} from '../../shared';
import { EmbeddingModelV3Embedding } from './embedding-model-v3-embedding';
/**
* The result of a embedding model doEmbed call.
*/
export type EmbeddingModelV3Result = {
/**
* Generated embeddings. They are in the same order as the input values.
*/
embeddings: Array<EmbeddingModelV3Embedding>;
/**
* Token usage. We only have input tokens for embeddings.
*/
usage?: { tokens: number };
/**
* Additional provider-specific metadata. They are passed through
* from the provider to the AI SDK and enable provider-specific
* results that can be fully encapsulated in the provider.
*/
providerMetadata?: SharedV3ProviderMetadata;
/**
* Optional response information for debugging purposes.
*/
response?: {
/**
* Response headers.
*/
headers?: SharedV3Headers;
/**
* The response body.
*/
body?: unknown;
};
/**
* Warnings for the call, e.g. unsupported settings.
*/
warnings: Array<SharedV3Warning>;
};

Xet Storage Details

Size:
1.1 kB
·
Xet hash:
e7f81e387e58687f2065dce0b2d9d48a293e04eb08a9b594000069123fead930

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