/** * 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. */ /** * Represents an individual item retrieved from the encrypted index. * * Attributes: * id (str): The unique identifier of the item. * metadata (Optional[Dict[str, Any]]): Additional metadata associated with the item. * contents (Optional[bytes]): The raw byte contents of the item. * vector (Optional[List[float]]): The vector representation of the item. * @export * @interface GetResultItemModel */ export interface GetResultItemModel { /** * * @type {string} * @memberof GetResultItemModel */ id: string; /** * 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 GetResultItemModel */ metadata?: { [key: string]: any; } | null; /** * * @type {string} * @memberof GetResultItemModel */ contents?: string | null; /** * * @type {Array} * @memberof GetResultItemModel */ vector?: Array | null; } /** * Check if a given object implements the GetResultItemModel interface. */ export declare function instanceOfGetResultItemModel(value: object): value is GetResultItemModel; export declare function GetResultItemModelFromJSON(json: any): GetResultItemModel; export declare function GetResultItemModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetResultItemModel; export declare function GetResultItemModelToJSON(json: any): GetResultItemModel; export declare function GetResultItemModelToJSONTyped(value?: GetResultItemModel | null, ignoreDiscriminator?: boolean): any;