@pinecone-database/pinecone
Version:
This is the official Node.js SDK for [Pinecone](https://www.pinecone.io), written in TypeScript.
44 lines (43 loc) • 1.34 kB
TypeScript
/**
* Pinecone Data Plane 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.
*/
/**
*
* @export
* @interface SearchUsage
*/
export interface SearchUsage {
/**
* The number of read units consumed by this operation.
* @type {number}
* @memberof SearchUsage
*/
readUnits: number;
/**
* The number of embedding tokens consumed by this operation.
* @type {number}
* @memberof SearchUsage
*/
embedTotalTokens?: number;
/**
* The number of rerank units consumed by this operation.
* @type {number}
* @memberof SearchUsage
*/
rerankUnits?: number;
}
/**
* Check if a given object implements the SearchUsage interface.
*/
export declare function instanceOfSearchUsage(value: object): boolean;
export declare function SearchUsageFromJSON(json: any): SearchUsage;
export declare function SearchUsageFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchUsage;
export declare function SearchUsageToJSON(value?: SearchUsage | null): any;