EndpointDetails¶
-
class
oci.dif.models.EndpointDetails(**kwargs)¶ Bases:
objectDetails to provision Endpoint for the GenAi dedicated cluster.
Methods
__init__(**kwargs)Initializes a new EndpointDetails object with values from keyword arguments. Attributes
endpoint_name[Required] Gets the endpoint_name of this EndpointDetails. is_content_moderation_enabled[Required] Gets the is_content_moderation_enabled of this EndpointDetails. -
__init__(**kwargs)¶ Initializes a new EndpointDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - endpoint_name (str) – The value to assign to the endpoint_name property of this EndpointDetails.
- is_content_moderation_enabled (bool) – The value to assign to the is_content_moderation_enabled property of this EndpointDetails.
-
endpoint_name¶ [Required] Gets the endpoint_name of this EndpointDetails. Identifier for each endpoint.
Returns: The endpoint_name of this EndpointDetails. Return type: str
-
is_content_moderation_enabled¶ [Required] Gets the is_content_moderation_enabled of this EndpointDetails. Helps remove toxic and biased content from responses.
Returns: The is_content_moderation_enabled of this EndpointDetails. Return type: bool
-