@pinecone-database/pinecone
Version:
This is the official Node.js SDK for [Pinecone](https://www.pinecone.io), written in TypeScript.
32 lines (31 loc) • 1.15 kB
TypeScript
/**
* Pinecone Inference API
* Pinecone is a vector database that makes it easy to search and retrieve billions of high-dimensional vectors.
*
* The version of the OpenAPI document: 2025-04
* Contact: support@pinecone.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* Usage statistics for the model inference.
* @export
* @interface EmbeddingsListUsage
*/
export interface EmbeddingsListUsage {
/**
* Total number of tokens consumed across all inputs.
* @type {number}
* @memberof EmbeddingsListUsage
*/
totalTokens?: number;
}
/**
* Check if a given object implements the EmbeddingsListUsage interface.
*/
export declare function instanceOfEmbeddingsListUsage(value: object): boolean;
export declare function EmbeddingsListUsageFromJSON(json: any): EmbeddingsListUsage;
export declare function EmbeddingsListUsageFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmbeddingsListUsage;
export declare function EmbeddingsListUsageToJSON(value?: EmbeddingsListUsage | null): any;