ShortTermMemoryOptimizationConfig¶
- class oci.generative_ai.models.ShortTermMemoryOptimizationConfig(**kwargs)¶
Bases:
objectConfiguration settings for short-term memory optimization.
Methods:
__init__(**kwargs)Initializes a new ShortTermMemoryOptimizationConfig object with values from keyword arguments.
Attributes:
Gets the condenser_config of this ShortTermMemoryOptimizationConfig.
[Required] Gets the is_enabled of this ShortTermMemoryOptimizationConfig.
- __init__(**kwargs)¶
Initializes a new ShortTermMemoryOptimizationConfig object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
is_enabled (bool) – The value to assign to the is_enabled property of this ShortTermMemoryOptimizationConfig.
condenser_config (oci.generative_ai.models.CondenserConfig) – The value to assign to the condenser_config property of this ShortTermMemoryOptimizationConfig.
- property condenser_config¶
Gets the condenser_config of this ShortTermMemoryOptimizationConfig.
- Returns
The condenser_config of this ShortTermMemoryOptimizationConfig.
- Return type
- property is_enabled¶
[Required] Gets the is_enabled of this ShortTermMemoryOptimizationConfig. Indicates whether short-term memory optimization is enabled.
- Returns
The is_enabled of this ShortTermMemoryOptimizationConfig.
- Return type
bool