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 )�AssistantMessagez< Represents a single instance of assistant message. c K s8 dddd�| _ dddd�| _d| _d| _d| _d| _dS ) az Initializes a new AssistantMessage object with values from keyword arguments. The default value of the :py:attr:`~oci.generative_ai_inference.models.AssistantMessage.role` attribute of this class is ``ASSISTANT`` 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 AssistantMessage. Allowed values for this property are: "SYSTEM", "USER", "ASSISTANT" :type role: str :param content: The value to assign to the content property of this AssistantMessage. :type content: list[oci.generative_ai_inference.models.ChatContent] :param name: The value to assign to the name property of this AssistantMessage. :type name: str �strzlist[ChatContent])�role�content�namer r r NZ ASSISTANT)Z swagger_typesZ attribute_mapZ_roleZ_content�_name)�self�kwargs� r �X/usr/lib/python3.9/site-packages/oci/generative_ai_inference/models/assistant_message.py�__init__ s ��zAssistantMessage.__init__c C s | j S )a Gets the name of this AssistantMessage. An optional name for the participant. Provides the model information to differentiate between participants of the same role. :return: The name of this AssistantMessage. :rtype: str �r �r r r r r 7 s zAssistantMessage.namec C s || _ dS )a Sets the name of this AssistantMessage. An optional name for the participant. Provides the model information to differentiate between participants of the same role. :param name: The name of this AssistantMessage. :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 zAssistantMessage.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__R s zAssistantMessage.__eq__c C s | |k S r r r r r r �__ne__X s zAssistantMessage.__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