๐ Advanced File Manager
Multi-Root Navigation System
โก Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/umvavtmy/public_html/website_b18404e2/wp-content/mu-plugins)
๐ Go
โฌ Ke Atas
๐ Root Server
๐ Root App
๐ Refresh
๐ /
โบ
usr
โบ
lib
โบ
python3.9
โบ
site-packages
โบ
oci
โบ
generative_ai_inference
โบ
models
โบ
๐ __pycache__
๐
Lokasi:
/usr/lib/python3.9/site-packages/oci/generative_ai_inference/models/__pycache__
๐พ
Free:
48.1 GB
โ ๏ธ Direktori ini
tidak writable
.
โ๏ธ Mengedit: cohere_user_message.cpython-39.pyc
a ๏ฟฝ๏ฟฝ๏ฟฝfk ๏ฟฝ @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd๏ฟฝ de๏ฟฝ๏ฟฝZdS )๏ฟฝ )๏ฟฝ CohereMessage๏ฟฝ )๏ฟฝ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 )๏ฟฝCohereUserMessagezF A message that represents a single chat dialog as USER role. c K s. ddd๏ฟฝ| _ ddd๏ฟฝ| _d| _d| _d| _dS )a๏ฟฝ Initializes a new CohereUserMessage object with values from keyword arguments. The default value of the :py:attr:`~oci.generative_ai_inference.models.CohereUserMessage.role` attribute of this class is ``USER`` 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 CohereUserMessage. Allowed values for this property are: "CHATBOT", "USER", "SYSTEM", "TOOL" :type role: str :param message: The value to assign to the message property of this CohereUserMessage. :type message: str ๏ฟฝstr)๏ฟฝrole๏ฟฝmessager r NZUSER)Z swagger_typesZ attribute_mapZ_role๏ฟฝ_message)๏ฟฝself๏ฟฝkwargs๏ฟฝ r ๏ฟฝZ/usr/lib/python3.9/site-packages/oci/generative_ai_inference/models/cohere_user_message.py๏ฟฝ__init__ s ๏ฟฝ๏ฟฝzCohereUserMessage.__init__c C s | j S )z๏ฟฝ **[Required]** Gets the message of this CohereUserMessage. Contents of the chat message. :return: The message of this CohereUserMessage. :rtype: str ๏ฟฝr ๏ฟฝr r r r r 0 s zCohereUserMessage.messagec C s || _ dS )z๏ฟฝ Sets the message of this CohereUserMessage. Contents of the chat message. :param message: The message of this CohereUserMessage. :type: str Nr )r r r r r r <