diff --git a/docs/platform/quickstart.mdx b/docs/platform/quickstart.mdx index 8a932e38..1b061750 100644 --- a/docs/platform/quickstart.mdx +++ b/docs/platform/quickstart.mdx @@ -156,6 +156,10 @@ curl -X POST "https://api.mem0.ai/v1/memories/" \ The `add` method offers support for two output formats: `v1.0` (default) and `v1.1`. To enable the latest format, which provides enhanced detail for each memory operation, set the `output_format` parameter to `v1.1`. Note that `v1.0` will be deprecated in version `0.1.30`. + + Messages passed along with `user_id`, `run_id`, or `app_id` are stored as user memories, while messages from the assistant are excluded from memory. To store messages for the assistant, use `agent_id` exclusively and avoid including other IDs, such as user_id, alongside it. This ensures the memory is properly attributed to the assistant. + + #### Short-term memory for a user session @@ -331,6 +335,10 @@ curl -X POST "https://api.mem0.ai/v1/memories/" \ ``` + + The `agent_id` retains memories exclusively based on messages generated by the assistant or those explicitly provided as input to the assistant. Messages outside these criteria are not stored as memory. + + #### Monitor Memories