CreateModelDetails¶
-
class
oci.ai_language.models.
CreateModelDetails
(**kwargs)¶ Bases:
object
The information needed to train a new model
Methods
__init__
(**kwargs)Initializes a new CreateModelDetails object with values from keyword arguments. Attributes
compartment_id
[Required] Gets the compartment_id of this CreateModelDetails. defined_tags
Gets the defined_tags of this CreateModelDetails. description
Gets the description of this CreateModelDetails. display_name
Gets the display_name of this CreateModelDetails. freeform_tags
Gets the freeform_tags of this CreateModelDetails. model_details
[Required] Gets the model_details of this CreateModelDetails. project_id
[Required] Gets the project_id of this CreateModelDetails. test_strategy
Gets the test_strategy of this CreateModelDetails. training_dataset
Gets the training_dataset of this CreateModelDetails. -
__init__
(**kwargs)¶ Initializes a new CreateModelDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - display_name (str) – The value to assign to the display_name property of this CreateModelDetails.
- description (str) – The value to assign to the description property of this CreateModelDetails.
- compartment_id (str) – The value to assign to the compartment_id property of this CreateModelDetails.
- project_id (str) – The value to assign to the project_id property of this CreateModelDetails.
- model_details (oci.ai_language.models.ModelDetails) – The value to assign to the model_details property of this CreateModelDetails.
- training_dataset (oci.ai_language.models.DatasetDetails) – The value to assign to the training_dataset property of this CreateModelDetails.
- test_strategy (oci.ai_language.models.TestStrategy) – The value to assign to the test_strategy property of this CreateModelDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateModelDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateModelDetails.
-
compartment_id
¶ [Required] Gets the compartment_id of this CreateModelDetails. The OCID for the models compartment.
Returns: The compartment_id of this CreateModelDetails. Return type: str
Gets the defined_tags of this CreateModelDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
Returns: The defined_tags of this CreateModelDetails. Return type: dict(str, dict(str, object))
-
description
¶ Gets the description of this CreateModelDetails. A short description of the a model.
Returns: The description of this CreateModelDetails. Return type: str
-
display_name
¶ Gets the display_name of this CreateModelDetails. A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information.
Returns: The display_name of this CreateModelDetails. Return type: str
Gets the freeform_tags of this CreateModelDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
Returns: The freeform_tags of this CreateModelDetails. Return type: dict(str, str)
-
model_details
¶ [Required] Gets the model_details of this CreateModelDetails.
Returns: The model_details of this CreateModelDetails. Return type: oci.ai_language.models.ModelDetails
-
project_id
¶ [Required] Gets the project_id of this CreateModelDetails. The OCID of the project to associate with the model.
Returns: The project_id of this CreateModelDetails. Return type: str
-
test_strategy
¶ Gets the test_strategy of this CreateModelDetails.
Returns: The test_strategy of this CreateModelDetails. Return type: oci.ai_language.models.TestStrategy
-
training_dataset
¶ Gets the training_dataset of this CreateModelDetails.
Returns: The training_dataset of this CreateModelDetails. Return type: oci.ai_language.models.DatasetDetails
-