Delete Short Term • AI Agent SDK
delete_short_term: Delete a specific short-term memory by ID.
delete_short_term
Method
</div>
Delete a specific short-term memory by ID.
Signature
def delete_short_term(memory_id: str) -> boolParameters
ParamField
strThe unique ID of the memory to delete
Returns
ResponseField
boolTrue if memory was found and deleted, False otherwise
Uses
delete_memoryconn.executeconn.commitdelete_one
Used By
Source
View on GitHubpraisonaiagents/memory/memory.py at line 1481