📂 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: embed_text_details.cpython-39.opt-1.pyc
a ���f�# � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdZdZdZdZ dZ d d � Zedd� �Z e jd d� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zdd� Zdd � Zd!d"� Zd#S )$�EmbedTextDetailsz1 Details for the request to embed texts. �NONE�START�END�SEARCH_DOCUMENT�SEARCH_QUERY�CLASSIFICATION� CLUSTERINGc K sP ddddddd�| _ dddd d dd�| _d| _d| _d| _d| _d| _d| _dS ) a Initializes a new EmbedTextDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param inputs: The value to assign to the inputs property of this EmbedTextDetails. :type inputs: list[str] :param serving_mode: The value to assign to the serving_mode property of this EmbedTextDetails. :type serving_mode: oci.generative_ai_inference.models.ServingMode :param compartment_id: The value to assign to the compartment_id property of this EmbedTextDetails. :type compartment_id: str :param is_echo: The value to assign to the is_echo property of this EmbedTextDetails. :type is_echo: bool :param truncate: The value to assign to the truncate property of this EmbedTextDetails. Allowed values for this property are: "NONE", "START", "END" :type truncate: str :param input_type: The value to assign to the input_type property of this EmbedTextDetails. Allowed values for this property are: "SEARCH_DOCUMENT", "SEARCH_QUERY", "CLASSIFICATION", "CLUSTERING" :type input_type: str z list[str]ZServingMode�str�bool)�inputs�serving_mode�compartment_id�is_echo�truncate� input_typer ZservingModeZ compartmentIdZisEchor Z inputTypeN)Z swagger_typesZ attribute_map�_inputs� _serving_mode�_compartment_id�_is_echo� _truncate�_input_type)�self�kwargs� r �Y/usr/lib/python3.9/site-packages/oci/generative_ai_inference/models/embed_text_details.py�__init__. s( !� � zEmbedTextDetails.__init__c C s | j S )a6 **[Required]** Gets the inputs of this EmbedTextDetails. Provide a list of strings. Each string can be words, a phrase, or a paragraph. The maximum length of each string entry in the list is 512 tokens. :return: The inputs of this EmbedTextDetails. :rtype: list[str] �r �r r r r r g s zEmbedTextDetails.inputsc C s || _ dS )a, Sets the inputs of this EmbedTextDetails. Provide a list of strings. Each string can be words, a phrase, or a paragraph. The maximum length of each string entry in the list is 512 tokens. :param inputs: The inputs of this EmbedTextDetails. :type: list[str] Nr! )r r r r r r s s c C s | j S )z� **[Required]** Gets the serving_mode of this EmbedTextDetails. :return: The serving_mode of this EmbedTextDetails. :rtype: oci.generative_ai_inference.models.ServingMode �r r"