add method stores conversation messages in Cognis memory. The extraction layer automatically pulls discrete facts, preferences, and context from the messages and indexes them as searchable memory records.
Method signature
owner_id, agent_id, or session_id must be provided.
Parameters
Response
Basic usage
- Hosted (lyzr-adk)
- Open Source (lyzr-cognis)
Using CognisMessage objects
UseCognisMessage instead of plain dictionaries for type safety.