| |
- builtins.object
-
- Model
class Model(builtins.object) |
|
Model(executable_id: str, model: str, description: str = None, versions: List[ai_api_client_sdk.models.model_version.ModelVersion] = None, **kwargs)
The Model object defines a model
:param executable_id: ID of the executable
:type executable_id: str
:param model: Unique name of the model
:type model: str
:param description: Description of the model, defaults to None
:type description: str, optional
:param versions: List of available model versions, defaults to None
:type versions: List[class:`ai_api_client_sdk.models.model_version.ModelVersion`], optional
:param `**kwargs`: The keyword arguments are there in case there are additional attributes returned from server |
|
Methods defined here:
- __init__(self, executable_id: str, model: str, description: str = None, versions: List[ai_api_client_sdk.models.model_version.ModelVersion] = None, **kwargs)
- Initialize self. See help(type(self)) for accurate signature.
Static methods defined here:
- from_dict(model_dict: Dict[str, Any])
- Returns a :class:`ai_api_client_sdk.models.model.Model` object, created from the values in the dict
provided as parameter
:param model_dict: Dict which includes the necessary values to create the object
:type model_dict: Dict[str, Any]
:return: An object, created from the values provided
:rtype: class:`ai_api_client_sdk.models.model.Model`
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
| |