/** * CyborgDB Service * REST API for CyborgDB: The Confidential Vector Database * * The version of the OpenAPI document: 0.17.1.dev16 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { BinaryVectorBatchContentsInner } from './BinaryVectorBatchContentsInner'; /** * Represents a batch of vectors in binary format for efficient transfer. * * Attributes: * ids (List[str]): List of unique identifiers for each vector. * vectors_b64 (str): Base64-encoded float32 numpy array (shape: n_vectors x dimension). * dimension (int): The dimension of each vector. * metadata (Optional[List[Optional[Dict[str, Any]]]]): Optional metadata for each vector. * contents (Optional[List[Optional[Union[str, bytes]]]]): Optional contents for each vector. * @export * @interface BinaryVectorBatch */ export interface BinaryVectorBatch { /** * * @type {Array} * @memberof BinaryVectorBatch */ ids: Array; /** * * @type {string} * @memberof BinaryVectorBatch */ vectorsB64: string; /** * * @type {number} * @memberof BinaryVectorBatch */ dimension: number; /** * * @type {Array<{ [key: string]: any; } | null>} * @memberof BinaryVectorBatch */ metadata?: Array<{ [key: string]: any; } | null> | null; /** * * @type {Array} * @memberof BinaryVectorBatch */ contents?: Array | null; } /** * Check if a given object implements the BinaryVectorBatch interface. */ export declare function instanceOfBinaryVectorBatch(value: object): value is BinaryVectorBatch; export declare function BinaryVectorBatchFromJSON(json: any): BinaryVectorBatch; export declare function BinaryVectorBatchFromJSONTyped(json: any, ignoreDiscriminator: boolean): BinaryVectorBatch; export declare function BinaryVectorBatchToJSON(json: any): BinaryVectorBatch; export declare function BinaryVectorBatchToJSONTyped(value?: BinaryVectorBatch | null, ignoreDiscriminator?: boolean): any;