update method replaces the content of a stored memory record. Use it to correct a fact, refine a preference, or reflect a change in user context.
Method signature
Parameters
Response
Returns the updatedCognisMemoryRecord.
Basic usage
- Hosted (lyzr-adk)
- Open Source (lyzr-cognis)
Async usage
memory_id for a specific record, use Get Memories or Search Memories first, then pass the returned ID to update. Previous versions of the memory are retained and accessible via get() with include_historical=True.