ruạṛ
a ���f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�Message� )�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 )� SystemMessagez9 Represents a single instance of system message. c K s8 dddd�| _ dddd�| _d| _d| _d| _d| _dS ) ah Initializes a new SystemMessage object with values from keyword arguments. The default value of the :py:attr:`~oci.generative_ai_inference.models.SystemMessage.role` attribute of this class is ``SYSTEM`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param role: The value to assign to the role property of this SystemMessage. Allowed values for this property are: "SYSTEM", "USER", "ASSISTANT" :type role: str :param content: The value to assign to the content property of this SystemMessage. :type content: list[oci.generative_ai_inference.models.ChatContent] :param name: The value to assign to the name property of this SystemMessage. :type name: str �strzlist[ChatContent])�role�content�namer r r NZSYSTEM)Z swagger_typesZ attribute_mapZ_roleZ_content�_name)�self�kwargs� r �U/usr/lib/python3.9/site-packages/oci/generative_ai_inference/models/system_message.py�__init__ s ��zSystemMessage.__init__c C s | j S )a Gets the name of this SystemMessage. An optional name for the participant. Provides the model information to differentiate between participants of the same role. :return: The name of this SystemMessage. :rtype: str �r �r r r r r 7 s zSystemMessage.namec C s || _ dS )a Sets the name of this SystemMessage. An optional name for the participant. Provides the model information to differentiate between participants of the same role. :param name: The name of this SystemMessage. :type: str Nr )r r r r r r C s c C s t | �S �N)r r r r r �__repr__O s zSystemMessage.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__R s zSystemMessage.__eq__c C s | |k S r r r r r r �__ne__X s zSystemMessage.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r s % r N) �messager Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s
cải xoăn