@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.13 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 RerankResultUsage
*/
export interface RerankResultUsage {
/**
* The number of rerank units consumed by this operation.
* @type {number}
* @memberof RerankResultUsage
*/
rerankUnits?: number;
}
/**
* Check if a given object implements the RerankResultUsage interface.
*/
export declare function instanceOfRerankResultUsage(value: object): boolean;
export declare function RerankResultUsageFromJSON(json: any): RerankResultUsage;
export declare function RerankResultUsageFromJSONTyped(json: any, ignoreDiscriminator: boolean): RerankResultUsage;
export declare function RerankResultUsageToJSON(value?: RerankResultUsage | null): any;