From ab862d0d40d1ceec89d861fae858562318e22e5b Mon Sep 17 00:00:00 2001 From: Dev Khant Date: Sat, 5 Oct 2024 11:12:05 +0530 Subject: [PATCH] Add custom_categories in get_all docs (#1943) --- docs/platform/quickstart.mdx | 47 +++++++++++++++++++++--------------- 1 file changed, 27 insertions(+), 20 deletions(-) diff --git a/docs/platform/quickstart.mdx b/docs/platform/quickstart.mdx index 6732253f..353b045a 100644 --- a/docs/platform/quickstart.mdx +++ b/docs/platform/quickstart.mdx @@ -616,9 +616,10 @@ curl -X GET "https://api.mem0.ai/v1/memories/?user_id=alex&output_format=v1.1" \ "memory":"是素食主义者,对坚果过敏。", "agent_id":"travel-assistant", "hash":"62bc074f56d1f909f1b4c2b639f56f6a", - "metadata":"None", + "metadata":None, "created_at":"2024-07-25T23:57:00.108347-07:00", - "updated_at":"2024-07-25T23:57:00.108367-07:00" + "updated_at":"2024-07-25T23:57:00.108367-07:00", + "custom_categories":None }, { "id":"0a14d8f0-e364-4f5c-b305-10da1f0d0878", @@ -627,7 +628,8 @@ curl -X GET "https://api.mem0.ai/v1/memories/?user_id=alex&output_format=v1.1" \ "hash":"35a305373d639b0bffc6c2a3e2eb4244", "metadata":"None", "created_at":"2024-07-26T00:31:03.543759-07:00", - "updated_at":"2024-07-26T00:31:03.543778-07:00" + "updated_at":"2024-07-26T00:31:03.543778-07:00", + "custom_categories":None } ] ``` @@ -640,7 +642,7 @@ curl -X GET "https://api.mem0.ai/v1/memories/?user_id=alex&output_format=v1.1" \ "memory": "是素食主义者,对坚果过敏。", "agent_id": "travel-assistant", "hash": "62bc074f56d1f909f1b4c2b639f56f6a", - "metadata": "None", + "metadata":None, "created_at": "2024-07-25T23:57:00.108347-07:00", "updated_at": "2024-07-25T23:57:00.108367-07:00" }, @@ -649,7 +651,7 @@ curl -X GET "https://api.mem0.ai/v1/memories/?user_id=alex&output_format=v1.1" \ "memory": "Will maintain personalized travel preferences for each user. Provide customized recommendations based on dietary restrictions, interests, and past interactions.", "agent_id": "travel-assistant", "hash": "35a305373d639b0bffc6c2a3e2eb4244", - "metadata": "None", + "metadata":None, "created_at": "2024-07-26T00:31:03.543759-07:00", "updated_at": "2024-07-26T00:31:03.543778-07:00" } @@ -689,18 +691,20 @@ curl -X GET "https://api.mem0.ai/v1/memories/?agent_id=travel-assistant&output_f "memory":"是素食主义者,对坚果过敏。", "agent_id":"ai-tutor", "hash":"62bc074f56d1f909f1b4c2b639f56f6a", - "metadata":"None", + "metadata":None, "created_at":"2024-07-25T23:57:00.108347-07:00", - "updated_at":"2024-07-25T23:57:00.108367-07:00" + "updated_at":"2024-07-25T23:57:00.108367-07:00", + "custom_categories":None }, { "id":"0a14d8f0-e364-4f5c-b305-10da1f0d0878", "memory":"My name is Alice.", "agent_id":"ai-tutor", "hash":"35a305373d639b0bffc6c2a3e2eb4244", - "metadata":"None", + "metadata":None, "created_at":"2024-07-26T00:31:03.543759-07:00", - "updated_at":"2024-07-26T00:31:03.543778-07:00" + "updated_at":"2024-07-26T00:31:03.543778-07:00", + "custom_categories":None } ] ``` @@ -713,7 +717,7 @@ curl -X GET "https://api.mem0.ai/v1/memories/?agent_id=travel-assistant&output_f "memory": "是素食主义者,对坚果过敏。", "agent_id": "ai-tutor", "hash": "62bc074f56d1f909f1b4c2b639f56f6a", - "metadata": "None", + "metadata":None, "created_at": "2024-07-25T23:57:00.108347-07:00", "updated_at": "2024-07-25T23:57:00.108367-07:00" }, @@ -722,7 +726,7 @@ curl -X GET "https://api.mem0.ai/v1/memories/?agent_id=travel-assistant&output_f "memory": "My name is Alice.", "agent_id": "ai-tutor", "hash": "35a305373d639b0bffc6c2a3e2eb4244", - "metadata": "None", + "metadata":None, "created_at": "2024-07-26T00:31:03.543759-07:00", "updated_at": "2024-07-26T00:31:03.543778-07:00" } @@ -761,27 +765,30 @@ curl -X GET "https://api.mem0.ai/v1/memories/?user_id=alex123&run_id=trip-planni "memory":"Planning a trip to Japan next month. Interested in vegetarian restaurants in Tokyo.", "user_id":"alex123", "hash":"d2088c936e259f2f5d2d75543d31401c", - "metadata":"None", + "metadata":None, "created_at":"2024-07-26T00:25:16.566471-07:00", - "updated_at":"2024-07-26T00:25:16.566492-07:00" + "updated_at":"2024-07-26T00:25:16.566492-07:00", + "custom_categories":None }, { "id":"b4229775-d860-4ccb-983f-0f628ca112f5", "memory":"Planning a trip to Japan next month. Interested in vegetarian restaurants in Tokyo.", "user_id":"alex123", "hash":"d2088c936e259f2f5d2d75543d31401c", - "metadata":"None", + "metadata":None, "created_at":"2024-07-26T00:33:20.350542-07:00", - "updated_at":"2024-07-26T00:33:20.350560-07:00" + "updated_at":"2024-07-26T00:33:20.350560-07:00", + "custom_categories":None }, { "id":"df1aca24-76cf-4b92-9f58-d03857efcb64", "memory":"Planning a trip to Japan next month. Interested in vegetarian restaurants in Tokyo.", "user_id":"alex123", "hash":"d2088c936e259f2f5d2d75543d31401c", - "metadata":"None", + "metadata":None, "created_at":"2024-07-26T00:51:09.642275-07:00", - "updated_at":"2024-07-26T00:51:09.642295-07:00" + "updated_at":"2024-07-26T00:51:09.642295-07:00", + "custom_categories":None } ] ``` @@ -794,7 +801,7 @@ curl -X GET "https://api.mem0.ai/v1/memories/?user_id=alex123&run_id=trip-planni "memory": "Planning a trip to Japan next month. Interested in vegetarian restaurants in Tokyo.", "user_id": "alex123", "hash": "d2088c936e259f2f5d2d75543d31401c", - "metadata": "None", + "metadata":None, "created_at": "2024-07-26T00:25:16.566471-07:00", "updated_at": "2024-07-26T00:25:16.566492-07:00" }, @@ -803,7 +810,7 @@ curl -X GET "https://api.mem0.ai/v1/memories/?user_id=alex123&run_id=trip-planni "memory": "Planning a trip to Japan next month. Interested in vegetarian restaurants in Tokyo.", "user_id": "alex123", "hash": "d2088c936e259f2f5d2d75543d31401c", - "metadata": "None", + "metadata":None, "created_at": "2024-07-26T00:33:20.350542-07:00", "updated_at": "2024-07-26T00:33:20.350560-07:00" }, @@ -812,7 +819,7 @@ curl -X GET "https://api.mem0.ai/v1/memories/?user_id=alex123&run_id=trip-planni "memory": "Planning a trip to Japan next month. Interested in vegetarian restaurants in Tokyo.", "user_id": "alex123", "hash": "d2088c936e259f2f5d2d75543d31401c", - "metadata": "None", + "metadata":None, "created_at": "2024-07-26T00:51:09.642275-07:00", "updated_at": "2024-07-26T00:51:09.642295-07:00" }