Skip to content

armgit / mem0

Public Imported from GitHub
0

The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.

docs update (#2196)

Prateek Chhikara3984b90f62ed
diff --git a/docs/openapi.json b/docs/openapi.json
index 4d191da3a..706f9492f 100644
--- a/docs/openapi.json
+++ b/docs/openapi.json
@@ -868,7 +868,7 @@
{
"lang": "JavaScript",
"source": "// To use the JavaScript SDK, install the package:\n// npm i mem0ai\n\nimport MemoryClient from 'mem0ai';\nconst client = new MemoryClient({ apiKey: \"your-api-key\" });\n\n// Retrieve memories for a specific user\nclient.getAll({ user_id: \"<user_id>\" })\n .then(result => console.log(result))\n .catch(error => console.error(error));"
- },
+ },
{
"lang": "cURL",
"source": "curl --location --request GET 'https://api.mem0.ai/v1/memories/' \\\n--header 'Authorization: Token <api-key>'"
@@ -4479,6 +4479,12 @@
"default": false,
"description": "Whether to rerank the memories."
},
+ "keyword_search": {
+ "title": "Keyword search",
+ "type": "boolean",
+ "default": false,
+ "description": "Whether to search for memories based on keywords."
+ },
"output_format": {
"title": "Output format",
"type": "string",
@@ -4592,18 +4598,24 @@
"default": false,
"description": "Whether to rerank the memories."
},
+ "keyword_search": {
+ "title": "Keyword search",
+ "type": "boolean",
+ "default": false,
+ "description": "Whether to search for memories based on keywords."
+ },
+ "filter_memories": {
+ "title": "Filter memories",
+ "type": "boolean",
+ "default": false,
+ "description": "Whether to filter the memories."
+ },
"threshold": {
"title": "Threshold",
"type": "number",
"default": 0.3,
"description": "The minimum similarity threshold for returned results."
},
- "smart_search": {
- "title": "Smart Search",
- "type": "boolean",
- "default": false,
- "description": "Whether to enable smart search functionality."
- },
"org_name": {
"title": "Organization Name",
"type": "string",