Skip to main content

delete_short_term

Method
This is a method of the Memory class in the memory module.
Delete a specific short-term memory by ID.

Signature

def delete_short_term(memory_id: str) -> bool

Parameters

memory_id
str
required
The unique ID of the memory to delete

Returns

Returns
bool
True if memory was found and deleted, False otherwise