@pinecone-database/pinecone
Version:
This is the official Node.js SDK for [Pinecone](https://www.pinecone.io), written in TypeScript.
38 lines (37 loc) • 1.23 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.
*/
/**
* A dense embedding of a single input
* @export
* @interface DenseEmbedding
*/
export interface DenseEmbedding {
/**
* The dense embedding values.
* @type {Array<number>}
* @memberof DenseEmbedding
*/
values: Array<number>;
/**
* Indicates whether this is a 'dense' or 'sparse' embedding.
* @type {string}
* @memberof DenseEmbedding
*/
vectorType: string;
}
/**
* Check if a given object implements the DenseEmbedding interface.
*/
export declare function instanceOfDenseEmbedding(value: object): boolean;
export declare function DenseEmbeddingFromJSON(json: any): DenseEmbedding;
export declare function DenseEmbeddingFromJSONTyped(json: any, ignoreDiscriminator: boolean): DenseEmbedding;
export declare function DenseEmbeddingToJSON(value?: DenseEmbedding | null): any;