Merge branch 'main' into mem0-1.0.0

This commit is contained in:
parshvadaftari
2025-09-16 00:01:42 +05:30
60 changed files with 2346 additions and 248 deletions
+22 -6
View File
@@ -1076,9 +1076,14 @@
"run_id": {"type": "string"},
"created_at": {"type": "string", "format": "date-time"},
"updated_at": {"type": "string", "format": "date-time"},
"categories": {"type": "array", "items": {"type": "string"}},
"categories": {"type": "object", "properties": {
"in": {"type": "array", "items": {"type": "string"}}
}},
"metadata": {"type": "object"},
"keywords": {"type": "string"}
"keywords": {"type": "object", "properties": {
"contains": {"type": "string"},
"icontains": {"type": "string"}
}}
},
"additionalProperties": {
"type": "object",
@@ -1094,7 +1099,7 @@
}
}
},
"description": "Filters to apply to the memories. Available fields are: user_id, agent_id, app_id, run_id, created_at, updated_at, categories, keywords. Supports logical operators (AND, OR) and comparison operators (in, gte, lte, gt, lt, ne, contains, icontains)",
"description": "Filters to apply to the memories. Available fields are: user_id, agent_id, app_id, run_id, created_at, updated_at, categories, keywords. Supports logical operators (AND, OR) and comparison operators (in, gte, lte, gt, lt, ne, contains, icontains). For categories field, use 'contains' for partial matching (e.g., {\"categories\": {\"contains\": \"finance\"}}) or 'in' for exact matching (e.g., {\"categories\": {\"in\": [\"personal_information\"]}}).",
"style": "deepObject",
"explode": true
},
@@ -5074,10 +5079,16 @@
"type": "string",
"description": "The query to search for in the memory."
},
"version": {
"title": "Version",
"type": "string",
"default": "v2",
"description": "The version of the memory to use. This should always be v2."
},
"filters": {
"title": "Filters",
"type": "object",
"description": "A dictionary of filters to apply to the search. Available fields are: user_id, agent_id, app_id, run_id, created_at, updated_at, categories, keywords. Supports logical operators (AND, OR) and comparison operators (in, gte, lte, gt, lt, ne, contains, icontains).",
"description": "A dictionary of filters to apply to the search. Available fields are: user_id, agent_id, app_id, run_id, created_at, updated_at, categories, keywords. Supports logical operators (AND, OR) and comparison operators (in, gte, lte, gt, lt, ne, contains, icontains). For categories field, use 'contains' for partial matching (e.g., {\"categories\": {\"contains\": \"finance\"}}) or 'in' for exact matching (e.g., {\"categories\": {\"in\": [\"personal_information\"]}}).",
"properties": {
"user_id": {"type": "string"},
"agent_id": {"type": "string"},
@@ -5085,8 +5096,13 @@
"run_id": {"type": "string"},
"created_at": {"type": "string", "format": "date-time"},
"updated_at": {"type": "string", "format": "date-time"},
"text": {"type": "string"},
"categories": {"type": "array", "items": {"type": "string"}},
"keywords": {"type": "object", "properties": {
"contains": {"type": "string"},
"icontains": {"type": "string"}
}},
"categories": {"type": "object", "properties": {
"in": {"type": "array", "items": {"type": "string"}}
}},
"metadata": {"type": "object"}
},
"additionalProperties": {