StandardLongTermMemoryStrategy¶
- class oci.generative_ai.models.StandardLongTermMemoryStrategy(**kwargs)¶
Bases:
objectStandard strategy settings for long-term memory.
Methods:
__init__(**kwargs)Initializes a new StandardLongTermMemoryStrategy object with values from keyword arguments.
Attributes:
Gets the embedding_config of this StandardLongTermMemoryStrategy.
Gets the extraction_config of this StandardLongTermMemoryStrategy.
[Required] Gets the is_enabled of this StandardLongTermMemoryStrategy.
- __init__(**kwargs)¶
Initializes a new StandardLongTermMemoryStrategy 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 StandardLongTermMemoryStrategy.
extraction_config (oci.generative_ai.models.ExtractionConfig) – The value to assign to the extraction_config property of this StandardLongTermMemoryStrategy.
embedding_config (oci.generative_ai.models.EmbeddingConfig) – The value to assign to the embedding_config property of this StandardLongTermMemoryStrategy.
- property embedding_config¶
Gets the embedding_config of this StandardLongTermMemoryStrategy.
- Returns
The embedding_config of this StandardLongTermMemoryStrategy.
- Return type
- property extraction_config¶
Gets the extraction_config of this StandardLongTermMemoryStrategy.
- Returns
The extraction_config of this StandardLongTermMemoryStrategy.
- Return type
- property is_enabled¶
[Required] Gets the is_enabled of this StandardLongTermMemoryStrategy. Indicates whether long-term memory is enabled.
- Returns
The is_enabled of this StandardLongTermMemoryStrategy.
- Return type
bool