Reset Entity Only • AI Agent SDK
reset_entity_only: If you only want to drop entity items from LTM, you'd do a custom
reset_entity_only
Method
</div>
If you only want to drop entity items from LTM, you’d do a custom delete from local DB where meta LIKE ‘%category=entity%’. For brevity, we do a full LTM reset here.
Signature
def reset_entity_only() -> AnyReturns
ResponseField
AnyThe result of the operation.
Uses
reset_long_term
Source
View on GitHubpraisonaiagents/memory/memory.py at line 1783