caikit.runtime.servicers.prediction_job_management_servicer
Attributes
Classes
This class contains the implementation of all of the RPCs that are required to manage |
Module Contents
- class caikit.runtime.servicers.prediction_job_management_servicer.PredictionJobManagementServicerImpl[source]
This class contains the implementation of all of the RPCs that are required to manage a prediction job. This includes fetching status, cancelling jobs, and getting the results.
- GetPredictionJobResult(request: caikit.interfaces.runtime.data_model.PredictionJobInfoRequest, context, *_, **__) google.protobuf.message.Message | Iterable[google.protobuf.message.Message][source]
Get the result of a prediction job by ID
- GetPredictionJobStatus(request: caikit.interfaces.runtime.data_model.PredictionJobInfoRequest, context, *_, **__)[source]
Get the status of a prediction job ID
- CancelPredictionJob(request: caikit.interfaces.runtime.data_model.PredictionJobInfoRequest, context, *_, **__)[source]
Cancel a prediction job.
- get_prediction_result(prediction_id: str) caikit.core.DataObjectBase[source]
Get the result of a job by ID
- get_prediction_status(prediction_id: str) caikit.interfaces.runtime.data_model.PredictionJobStatusResponse[source]
Get the status of a job by ID
- cancel_prediction(prediction_id: str) caikit.interfaces.runtime.data_model.PredictionJobStatusResponse[source]
Cancel a prediction job.