symfonic.memory.models.operation¶
operation ¶
MemoryOperation and WritePolicy models.
MemoryOperation represents a pending mutation to be applied to a memory layer. WritePolicy controls filtering and limits for pending operations.
MemoryOperation ¶
Bases: BaseModel
A pending memory mutation to be applied by the orchestrator.
Each operation targets a specific layer and action. The node and edge fields are populated depending on the action type.
WritePolicy ¶
Bases: BaseModel
Controls which operations are applied and how many can be pending.
Operations with importance below min_importance_threshold are silently dropped during commit_pending.