CondenserConfig¶
-
class
oci.generative_ai.models.CondenserConfig(**kwargs)¶ Bases:
oci.generative_ai.models.model_config.ModelConfigConfiguration for condensing conversation content.
Attributes
MODEL_CONFIG_TYPE_CONDENSERstr(object=’’) -> str MODEL_CONFIG_TYPE_EMBEDDINGstr(object=’’) -> str MODEL_CONFIG_TYPE_EXTRACTIONstr(object=’’) -> str llm_selection[Required] Gets the llm_selection of this ModelConfig. model_config_type[Required] Gets the model_config_type of this ModelConfig. Methods
__init__(**kwargs)Initializes a new CondenserConfig object with values from keyword arguments. get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
MODEL_CONFIG_TYPE_CONDENSER= 'CONDENSER'¶
-
MODEL_CONFIG_TYPE_EMBEDDING= 'EMBEDDING'¶
-
MODEL_CONFIG_TYPE_EXTRACTION= 'EXTRACTION'¶
-
__init__(**kwargs)¶ Initializes a new CondenserConfig object with values from keyword arguments. The default value of the
model_config_typeattribute of this class isCONDENSERand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - model_config_type (str) – The value to assign to the model_config_type property of this CondenserConfig. Allowed values for this property are: “EXTRACTION”, “EMBEDDING”, “CONDENSER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- llm_selection (oci.generative_ai.models.LlmSelection) – The value to assign to the llm_selection property of this CondenserConfig.
-
static
get_subtype(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
llm_selection¶ [Required] Gets the llm_selection of this ModelConfig.
Returns: The llm_selection of this ModelConfig. Return type: oci.generative_ai.models.LlmSelection
-
model_config_type¶ [Required] Gets the model_config_type of this ModelConfig. The stage-specific config type.
Allowed values for this property are: “EXTRACTION”, “EMBEDDING”, “CONDENSER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The model_config_type of this ModelConfig. Return type: str
-