📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/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.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: llama_llm_inference_request.cpython-39.pyc
a ���fdF � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�LlmInferenceRequest� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sh e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Zejd'd&� �Zd(d)� Zd*d+� Zd,d-� Zd.S )/�LlamaLlmInferenceRequestzC Details for the text generation request for Llama models. c K s� dddddddddddddd� | _ ddd d ddd ddddddd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _dS )a� Initializes a new LlamaLlmInferenceRequest object with values from keyword arguments. The default value of the :py:attr:`~oci.generative_ai_inference.models.LlamaLlmInferenceRequest.runtime_type` attribute of this class is ``LLAMA`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param runtime_type: The value to assign to the runtime_type property of this LlamaLlmInferenceRequest. Allowed values for this property are: "COHERE", "LLAMA" :type runtime_type: str :param prompt: The value to assign to the prompt property of this LlamaLlmInferenceRequest. :type prompt: str :param is_stream: The value to assign to the is_stream property of this LlamaLlmInferenceRequest. :type is_stream: bool :param num_generations: The value to assign to the num_generations property of this LlamaLlmInferenceRequest. :type num_generations: int :param is_echo: The value to assign to the is_echo property of this LlamaLlmInferenceRequest. :type is_echo: bool :param top_k: The value to assign to the top_k property of this LlamaLlmInferenceRequest. :type top_k: int :param top_p: The value to assign to the top_p property of this LlamaLlmInferenceRequest. :type top_p: float :param temperature: The value to assign to the temperature property of this LlamaLlmInferenceRequest. :type temperature: float :param frequency_penalty: The value to assign to the frequency_penalty property of this LlamaLlmInferenceRequest. :type frequency_penalty: float :param presence_penalty: The value to assign to the presence_penalty property of this LlamaLlmInferenceRequest. :type presence_penalty: float :param stop: The value to assign to the stop property of this LlamaLlmInferenceRequest. :type stop: list[str] :param log_probs: The value to assign to the log_probs property of this LlamaLlmInferenceRequest. :type log_probs: int :param max_tokens: The value to assign to the max_tokens property of this LlamaLlmInferenceRequest. :type max_tokens: int �str�bool�int�floatz list[str]) Zruntime_type�prompt� is_stream�num_generations�is_echo�top_k�top_p�temperature�frequency_penalty�presence_penalty�stop� log_probs� max_tokensZruntimeTyper ZisStreamZnumGenerationsZisEchoZtopKZtopPr ZfrequencyPenaltyZpresencePenaltyr ZlogProbsZ maxTokensNZLLAMA)Z swagger_typesZ attribute_mapZ _runtime_type�_prompt� _is_stream�_num_generations�_is_echo�_top_k�_top_p�_temperature�_frequency_penalty�_presence_penalty�_stop� _log_probs�_max_tokens)�self�kwargs� r'