/** * 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. */ /** * Response model for retrieving the training status of indexes. * * Attributes: * training_indexes (List[str]): List of index names currently being trained or queued. * retrain_threshold (int): Vector-count floor before the first training (was the * retrain multiplier; field name kept stable for SDK compatibility). * currently_training (Optional[str]): Name of the index currently being trained. * queued_indexes (List[str]): List of indexes queued for training. * worker_running (bool): Whether the training worker thread is running. * worker_pid (int): Deprecated - kept for backward compatibility with SDK. * global_training (Dict[str, Any]): Deprecated - kept for backward compatibility with SDK. * @export * @interface IndexTrainingStatusResponseModel */ export interface IndexTrainingStatusResponseModel { /** * * @type {Array} * @memberof IndexTrainingStatusResponseModel */ trainingIndexes: Array; /** * * @type {number} * @memberof IndexTrainingStatusResponseModel */ retrainThreshold: number; /** * * @type {string} * @memberof IndexTrainingStatusResponseModel */ currentlyTraining?: string | null; /** * * @type {Array} * @memberof IndexTrainingStatusResponseModel */ queuedIndexes?: Array; /** * * @type {boolean} * @memberof IndexTrainingStatusResponseModel */ workerRunning?: boolean; /** * * @type {number} * @memberof IndexTrainingStatusResponseModel */ workerPid?: number; /** * * @type {{ [key: string]: any; }} * @memberof IndexTrainingStatusResponseModel */ globalTraining?: { [key: string]: any; }; } /** * Check if a given object implements the IndexTrainingStatusResponseModel interface. */ export declare function instanceOfIndexTrainingStatusResponseModel(value: object): value is IndexTrainingStatusResponseModel; export declare function IndexTrainingStatusResponseModelFromJSON(json: any): IndexTrainingStatusResponseModel; export declare function IndexTrainingStatusResponseModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexTrainingStatusResponseModel; export declare function IndexTrainingStatusResponseModelToJSON(json: any): IndexTrainingStatusResponseModel; export declare function IndexTrainingStatusResponseModelToJSONTyped(value?: IndexTrainingStatusResponseModel | null, ignoreDiscriminator?: boolean): any;