caikit.interfaces.runtime.data_model
Submodules
- caikit.interfaces.runtime.data_model.context
- caikit.interfaces.runtime.data_model.info
- caikit.interfaces.runtime.data_model.model_management
- caikit.interfaces.runtime.data_model.package
- caikit.interfaces.runtime.data_model.prediction_job_management
- caikit.interfaces.runtime.data_model.training_management
Attributes
Classes
Information regarding a specific Model instance |
|
Empty request for runtime server information |
|
Model Info response contains a list of ModelInfos |
|
Empty request for runtime server information |
|
A DataObject is a data model class that is backed by a @dataclass. |
|
Request to deploy a model |
|
Request to undeploy a model |
|
DataModel returned as a result of starting a PredictionJob |
|
DataModel to request information about a PredictionJob |
|
DataModel representing the status of a PredictionJob |
|
A DataObject is a data model class that is backed by a @dataclass. |
|
A DataObject is a data model class that is backed by a @dataclass. |
|
A DataObject is a data model class that is backed by a @dataclass. |
|
A DataObject is a data model class that is backed by a @dataclass. |
Package Contents
- caikit.interfaces.runtime.data_model.RuntimeServerContextType
- class caikit.interfaces.runtime.data_model.ModelInfo[source]
Bases:
caikit.core.data_model.DataObjectBaseInformation regarding a specific Model instance
- model_path: py_to_proto.dataclass_to_proto.Annotated[str | None, FieldNumber(1)]
- name: py_to_proto.dataclass_to_proto.Annotated[str, FieldNumber(2)]
- size: py_to_proto.dataclass_to_proto.Annotated[int | None, FieldNumber(3)]
- metadata: py_to_proto.dataclass_to_proto.Annotated[caikit.core.data_model.json_dict.JsonDict | None, FieldNumber(4)]
- loaded: py_to_proto.dataclass_to_proto.Annotated[bool, FieldNumber(7)]
- module_id: py_to_proto.dataclass_to_proto.Annotated[str | None, FieldNumber(5)]
- module_metadata: py_to_proto.dataclass_to_proto.Annotated[Dict[str, str] | None, FieldNumber(6)]
- class caikit.interfaces.runtime.data_model.ModelInfoRequest[source]
Bases:
caikit.core.data_model.DataObjectBaseEmpty request for runtime server information
- model_ids: py_to_proto.dataclass_to_proto.Annotated[List[str] | None, FieldNumber(1)]
- class caikit.interfaces.runtime.data_model.ModelInfoResponse[source]
Bases:
caikit.core.data_model.DataObjectBaseModel Info response contains a list of ModelInfos
- class caikit.interfaces.runtime.data_model.RuntimeInfoRequest[source]
Bases:
caikit.core.data_model.DataObjectBaseEmpty request for runtime server information
- class caikit.interfaces.runtime.data_model.RuntimeInfoResponse[source]
Bases:
caikit.core.data_model.DataObjectBaseA DataObject is a data model class that is backed by a @dataclass.
Data model classes that use the @dataobject decorator must derive from this base class.
- runtime_version: py_to_proto.dataclass_to_proto.Annotated[str | None, FieldNumber(1)]
- python_packages: py_to_proto.dataclass_to_proto.Annotated[Dict[str, str], FieldNumber(2)]
- class caikit.interfaces.runtime.data_model.DeployModelRequest[source]
Bases:
caikit.core.data_model.DataObjectBaseRequest to deploy a model
- model_id: py_to_proto.dataclass_to_proto.Annotated[str, FieldNumber(1)]
- model_files: py_to_proto.dataclass_to_proto.Annotated[List[caikit.interfaces.common.data_model.File], FieldNumber(2)]
- class caikit.interfaces.runtime.data_model.UndeployModelRequest[source]
Bases:
caikit.core.data_model.DataObjectBaseRequest to undeploy a model
- model_id: py_to_proto.dataclass_to_proto.Annotated[str, FieldNumber(1)]
- class caikit.interfaces.runtime.data_model.PredictionJob[source]
Bases:
caikit.core.data_model.DataObjectBaseDataModel returned as a result of starting a PredictionJob
- prediction_id: py_to_proto.dataclass_to_proto.Annotated[str, FieldNumber(1)]
- class caikit.interfaces.runtime.data_model.PredictionJobInfoRequest[source]
Bases:
caikit.core.data_model.DataObjectBaseDataModel to request information about a PredictionJob
- prediction_id: py_to_proto.dataclass_to_proto.Annotated[str, FieldNumber(1)]
- class caikit.interfaces.runtime.data_model.PredictionJobStatusResponse[source]
Bases:
caikit.core.data_model.DataObjectBaseDataModel representing the status of a PredictionJob
- prediction_id: py_to_proto.dataclass_to_proto.Annotated[str, FieldNumber(1)]
- state: py_to_proto.dataclass_to_proto.Annotated[caikit.core.data_model.JobStatus, FieldNumber(2)]
- submission_timestamp: py_to_proto.dataclass_to_proto.Annotated[datetime.datetime, FieldNumber(3)]
- completion_timestamp: py_to_proto.dataclass_to_proto.Annotated[datetime.datetime, FieldNumber(4)]
- reasons: py_to_proto.dataclass_to_proto.Annotated[List[str], FieldNumber(5)]
- class caikit.interfaces.runtime.data_model.ModelPointer[source]
Bases:
caikit.core.data_model.DataObjectBaseA DataObject is a data model class that is backed by a @dataclass.
Data model classes that use the @dataobject decorator must derive from this base class.
- model_id: str
- class caikit.interfaces.runtime.data_model.TrainingInfoRequest[source]
Bases:
caikit.core.data_model.DataObjectBaseA DataObject is a data model class that is backed by a @dataclass.
Data model classes that use the @dataobject decorator must derive from this base class.
- training_id: str
- class caikit.interfaces.runtime.data_model.TrainingJob[source]
Bases:
caikit.core.data_model.DataObjectBaseA DataObject is a data model class that is backed by a @dataclass.
Data model classes that use the @dataobject decorator must derive from this base class.
- training_id: str
- model_name: str
- class caikit.interfaces.runtime.data_model.TrainingStatusResponse[source]
Bases:
caikit.core.data_model.DataObjectBaseA DataObject is a data model class that is backed by a @dataclass.
Data model classes that use the @dataobject decorator must derive from this base class.
- training_id: py_to_proto.dataclass_to_proto.Annotated[str, FieldNumber(1)]
- state: py_to_proto.dataclass_to_proto.Annotated[caikit.core.data_model.JobStatus, FieldNumber(2)]
- submission_timestamp: py_to_proto.dataclass_to_proto.Annotated[datetime.datetime, FieldNumber(3)]
- completion_timestamp: py_to_proto.dataclass_to_proto.Annotated[datetime.datetime, FieldNumber(4)]
- reasons: py_to_proto.dataclass_to_proto.Annotated[List[str], FieldNumber(5)]