/** * 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 { Contents } from './Contents'; /** * Represents a vectorized item for storage in the encrypted index. * * Attributes: * id (str): Unique identifier for the vector item. * vector (Optional[List[float]]): The vector representation of the item. * contents (Optional[Union[str, bytes]]): The original text or associated content (can be string or bytes). * metadata (Optional[Dict[str, Any]]): Additional metadata associated with the item. * @export * @interface VectorItem */ export interface VectorItem { /** * * @type {string} * @memberof VectorItem */ id: string; /** * * @type {Array} * @memberof VectorItem */ vector?: Array | null; /** * * @type {Contents} * @memberof VectorItem */ contents?: Contents | null; /** * Arbitrary JSON object stored alongside the vector. Schemaless — the index's `metadata_schema` governs how fields are indexed, not what may be stored. Nested objects are addressable by dot-path in filters (`loc.city`); dates have no native type, store them as epoch millis. * @type {{ [key: string]: any; }} * @memberof VectorItem */ metadata?: { [key: string]: any; } | null; } /** * Check if a given object implements the VectorItem interface. */ export declare function instanceOfVectorItem(value: object): value is VectorItem; export declare function VectorItemFromJSON(json: any): VectorItem; export declare function VectorItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): VectorItem; export declare function VectorItemToJSON(json: any): VectorItem; export declare function VectorItemToJSONTyped(value?: VectorItem | null, ignoreDiscriminator?: boolean): any;