📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/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:
45.4 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: cohere_chat_request.cpython-39.pyc
a ���f�z � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�BaseChatRequest� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sb e Zd ZdZdZdZdZdZdd� Ze dd � �Z e jd d � �Z e dd� �Zejd d� �Ze dd� �Z e jdd� �Z e dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze d d!� �Zejd"d!� �Ze d#d$� �Zejd%d$� �Ze d&d'� �Zejd(d'� �Ze d)d*� �Zejd+d*� �Ze d,d-� �Zejd.d-� �Ze d/d0� �Zejd1d0� �Ze d2d3� �Zejd4d3� �Ze d5d6� �Zejd7d6� �Ze d8d9� �Zejd:d9� �Ze d;d<� �Zejd=d<� �Ze d>d?� �Zejd@d?� �Ze dAdB� �ZejdCdB� �Ze dDdE� �ZejdFdE� �ZdGdH� Z dIdJ� Z!dKdL� Z"dMS )N�CohereChatRequestz9 Details for the chat request for Cohere models. �OFF�AUTO_PRESERVE_ORDER�ACCURATE�FASTc K s� dddddddddddddddddddd ddd �| _ ddd ddddddddddddddddddd d �| _d!| _d!| _d!| _d!| _d!| _d!| _d!| _d!| _ d!| _ d!| _d!| _d!| _ d!| _d!| _d!| _d!| _d!| _d!| _d!| _d!| _d!| _d!| _d"| _d!S )#a� Initializes a new CohereChatRequest object with values from keyword arguments. The default value of the :py:attr:`~oci.generative_ai_inference.models.CohereChatRequest.api_format` attribute of this class is ``COHERE`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param api_format: The value to assign to the api_format property of this CohereChatRequest. Allowed values for this property are: "COHERE", "GENERIC" :type api_format: str :param message: The value to assign to the message property of this CohereChatRequest. :type message: str :param chat_history: The value to assign to the chat_history property of this CohereChatRequest. :type chat_history: list[oci.generative_ai_inference.models.CohereMessage] :param documents: The value to assign to the documents property of this CohereChatRequest. :type documents: list[object] :param is_search_queries_only: The value to assign to the is_search_queries_only property of this CohereChatRequest. :type is_search_queries_only: bool :param preamble_override: The value to assign to the preamble_override property of this CohereChatRequest. :type preamble_override: str :param is_stream: The value to assign to the is_stream property of this CohereChatRequest. :type is_stream: bool :param max_tokens: The value to assign to the max_tokens property of this CohereChatRequest. :type max_tokens: int :param temperature: The value to assign to the temperature property of this CohereChatRequest. :type temperature: float :param top_k: The value to assign to the top_k property of this CohereChatRequest. :type top_k: int :param top_p: The value to assign to the top_p property of this CohereChatRequest. :type top_p: float :param prompt_truncation: The value to assign to the prompt_truncation property of this CohereChatRequest. Allowed values for this property are: "OFF", "AUTO_PRESERVE_ORDER" :type prompt_truncation: str :param frequency_penalty: The value to assign to the frequency_penalty property of this CohereChatRequest. :type frequency_penalty: float :param presence_penalty: The value to assign to the presence_penalty property of this CohereChatRequest. :type presence_penalty: float :param seed: The value to assign to the seed property of this CohereChatRequest. :type seed: int :param is_echo: The value to assign to the is_echo property of this CohereChatRequest. :type is_echo: bool :param tools: The value to assign to the tools property of this CohereChatRequest. :type tools: list[oci.generative_ai_inference.models.CohereTool] :param tool_results: The value to assign to the tool_results property of this CohereChatRequest. :type tool_results: list[oci.generative_ai_inference.models.CohereToolResult] :param is_force_single_step: The value to assign to the is_force_single_step property of this CohereChatRequest. :type is_force_single_step: bool :param stop_sequences: The value to assign to the stop_sequences property of this CohereChatRequest. :type stop_sequences: list[str] :param is_raw_prompting: The value to assign to the is_raw_prompting property of this CohereChatRequest. :type is_raw_prompting: bool :param citation_quality: The value to assign to the citation_quality property of this CohereChatRequest. Allowed values for this property are: "ACCURATE", "FAST" :type citation_quality: str �strzlist[CohereMessage]zlist[object]�bool�int�floatzlist[CohereTool]zlist[CohereToolResult]z list[str])Z api_format�message�chat_history� documents�is_search_queries_only�preamble_override� is_stream� max_tokens�temperature�top_k�top_p�prompt_truncation�frequency_penalty�presence_penalty�seed�is_echo�tools�tool_results�is_force_single_step�stop_sequences�is_raw_prompting�citation_qualityZ apiFormatr ZchatHistoryr ZisSearchQueriesOnlyZpreambleOverrideZisStreamZ maxTokensr ZtopKZtopPZpromptTruncationZfrequencyPenaltyZpresencePenaltyr ZisEchor ZtoolResultsZisForceSingleStepZ stopSequencesZisRawPromptingZcitationQualityNZCOHERE)Z swagger_typesZ attribute_mapZ_api_format�_message� _chat_history� _documents�_is_search_queries_only�_preamble_override� _is_stream�_max_tokens�_temperature�_top_k�_top_p�_prompt_truncation�_frequency_penalty�_presence_penalty�_seed�_is_echo�_tools� _tool_results�_is_force_single_step�_stop_sequences�_is_raw_prompting�_citation_quality)�self�kwargs� r= �Z/usr/lib/python3.9/site-packages/oci/generative_ai_inference/models/cohere_chat_request.py�__init__"