ruạṛ
a ���f7 � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�ModelDetails� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sJ e Zd ZdZdd� Zedd� �Zejdd� �Zdd� Zd d � Z dd� Z d S )�PreTrainedSummarizationz8 Possible pre trained summarization information c K s8 dddd�| _ dddd�| _d| _d| _d| _d| _dS )a� Initializes a new PreTrainedSummarization object with values from keyword arguments. The default value of the :py:attr:`~oci.ai_language.models.PreTrainedSummarization.model_type` attribute of this class is ``PRE_TRAINED_SUMMARIZATION`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param language_code: The value to assign to the language_code property of this PreTrainedSummarization. :type language_code: str :param model_type: The value to assign to the model_type property of this PreTrainedSummarization. Allowed values for this property are: "NAMED_ENTITY_RECOGNITION", "TEXT_CLASSIFICATION", "PRE_TRAINED_NAMED_ENTITY_RECOGNITION", "PRE_TRAINED_TEXT_CLASSIFICATION", "PRE_TRAINED_SENTIMENT_ANALYSIS", "PRE_TRAINED_KEYPHRASE_EXTRACTION", "PRE_TRAINED_LANGUAGE_DETECTION", "PRE_TRAINED_PII", "PRE_TRAINED_TRANSLATION", "PRE_TRAINED_HEALTH_NLU", "PRE_TRAINED_SUMMARIZATION", "PRE_TRAINED_UNIVERSAL", "PII" :type model_type: str :param version: The value to assign to the version property of this PreTrainedSummarization. :type version: str �str)Z language_codeZ model_type�versionZlanguageCodeZ modelTyper NZPRE_TRAINED_SUMMARIZATION)Z swagger_typesZ attribute_mapZ_language_codeZ_model_type�_version)�self�kwargs� r �T/usr/lib/python3.9/site-packages/oci/ai_language/models/pre_trained_summarization.py�__init__ s ��z PreTrainedSummarization.__init__c C s | j S )aB Gets the version of this PreTrainedSummarization. Optional pre trained model version. if nothing specified latest pre trained model will be used. Supported versions can be found at /modelTypes/{modelType} :return: The version of this PreTrainedSummarization. :rtype: str �r �r r r r r 7 s zPreTrainedSummarization.versionc C s || _ dS )aH Sets the version of this PreTrainedSummarization. Optional pre trained model version. if nothing specified latest pre trained model will be used. Supported versions can be found at /modelTypes/{modelType} :param version: The version of this PreTrainedSummarization. :type: str Nr )r r r r r r D s c C s t | �S �N)r r r r r �__repr__Q s z PreTrainedSummarization.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__T s zPreTrainedSummarization.__eq__c C s | |k S r r r r r r �__ne__Z s zPreTrainedSummarization.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r s % r N) Z model_detailsr Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s
cải xoăn