GenAiDetail¶
-
class
oci.dif.models.GenAiDetail(**kwargs)¶ Bases:
objectGenAI details required to provision dedicated clusters.
Attributes
CLUSTER_TYPE_HOSTINGA constant which can be used with the cluster_type property of a GenAiDetail. base_model[Required] Gets the base_model of this GenAiDetail. cluster_type[Required] Gets the cluster_type of this GenAiDetail. endpointsGets the endpoints of this GenAiDetail. instance_id[Required] Gets the instance_id of this GenAiDetail. oci_region[Required] Gets the oci_region of this GenAiDetail. unit_count[Required] Gets the unit_count of this GenAiDetail. Methods
__init__(**kwargs)Initializes a new GenAiDetail object with values from keyword arguments. -
CLUSTER_TYPE_HOSTING= 'HOSTING'¶ A constant which can be used with the cluster_type property of a GenAiDetail. This constant has a value of “HOSTING”
-
__init__(**kwargs)¶ Initializes a new GenAiDetail object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - instance_id (str) – The value to assign to the instance_id property of this GenAiDetail.
- cluster_type (str) – The value to assign to the cluster_type property of this GenAiDetail. Allowed values for this property are: “HOSTING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- base_model (str) – The value to assign to the base_model property of this GenAiDetail.
- oci_region (str) – The value to assign to the oci_region property of this GenAiDetail.
- unit_count (int) – The value to assign to the unit_count property of this GenAiDetail.
- endpoints (list[oci.dif.models.EndpointDetails]) – The value to assign to the endpoints property of this GenAiDetail.
-
base_model¶ [Required] Gets the base_model of this GenAiDetail. Name of the base model.
Returns: The base_model of this GenAiDetail. Return type: str
-
cluster_type¶ [Required] Gets the cluster_type of this GenAiDetail. The dedicated AI cluster type.
Allowed values for this property are: “HOSTING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The cluster_type of this GenAiDetail. Return type: str
-
endpoints¶ Gets the endpoints of this GenAiDetail. List of endpoints to provision for the GENAI cluster.
Returns: The endpoints of this GenAiDetail. Return type: list[oci.dif.models.EndpointDetails]
-
instance_id¶ [Required] Gets the instance_id of this GenAiDetail. Id for the GGCS instance to be provisioned.
Returns: The instance_id of this GenAiDetail. Return type: str
-
oci_region¶ [Required] Gets the oci_region of this GenAiDetail. Region on which the cluster end endpoint will be provisioned.
Returns: The oci_region of this GenAiDetail. Return type: str
-
unit_count¶ [Required] Gets the unit_count of this GenAiDetail. No of replicas of base model to be used for hosting.
Returns: The unit_count of this GenAiDetail. Return type: int
-