π 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: on_demand_serving_mode.cpython-39.pyc
a οΏ½οΏ½οΏ½fn οΏ½ @ sD d dl mZ ddlmZmZmZ ddlmZ eG ddοΏ½ deοΏ½οΏ½ZdS )οΏ½ )οΏ½ServingModeοΏ½ )οΏ½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 )οΏ½OnDemandServingModezS The model's serving mode is on-demand serving on a shared infrastructure. c K s. dddοΏ½| _ dddοΏ½| _d| _d| _d| _dS )aοΏ½ Initializes a new OnDemandServingMode object with values from keyword arguments. The default value of the :py:attr:`~oci.generative_ai_inference.models.OnDemandServingMode.serving_type` attribute of this class is ``ON_DEMAND`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param serving_type: The value to assign to the serving_type property of this OnDemandServingMode. Allowed values for this property are: "ON_DEMAND", "DEDICATED" :type serving_type: str :param model_id: The value to assign to the model_id property of this OnDemandServingMode. :type model_id: str οΏ½str)Zserving_typeοΏ½model_idZservingTypeZmodelIdNZ ON_DEMAND)Z swagger_typesZ attribute_mapZ _serving_typeοΏ½ _model_id)οΏ½selfοΏ½kwargsοΏ½ r οΏ½]/usr/lib/python3.9/site-packages/oci/generative_ai_inference/models/on_demand_serving_mode.pyοΏ½__init__ s οΏ½οΏ½zOnDemandServingMode.__init__c C s | j S )a **[Required]** Gets the model_id of this OnDemandServingMode. The unique ID of a model to use. You can use the :func:`list_models` API to list the available models. :return: The model_id of this OnDemandServingMode. :rtype: str οΏ½r οΏ½r r r r r 0 s zOnDemandServingMode.model_idc C s || _ dS )a Sets the model_id of this OnDemandServingMode. The unique ID of a model to use. You can use the :func:`list_models` API to list the available models. :param model_id: The model_id of this OnDemandServingMode. :type: str Nr )r r r r r r <