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.

TS SDK - filter memories param (#2971)

Saket Aryan888ee766c526
diff --git a/docs/changelog.mdx b/docs/changelog.mdx
index 15d26d3be..2858b43b1 100644
--- a/docs/changelog.mdx
+++ b/docs/changelog.mdx
@@ -288,6 +288,11 @@ mode: "wide"
<Tab title="TypeScript">
+<Update label="2025-06-17" description="v2.1.31">
+**Improvement :**
+- **Client:** Added param `filter_memories`.
+</Update>
+
<Update label="2025-06-06" description="v2.1.30">
**New Features:**
- **OSS:** Added Cloudflare support
diff --git a/mem0-ts/package.json b/mem0-ts/package.json
index f6d045bbe..68c8172ba 100644
--- a/mem0-ts/package.json
+++ b/mem0-ts/package.json
@@ -1,6 +1,6 @@
{
"name": "mem0ai",
- "version": "2.1.30",
+ "version": "2.1.31",
"description": "The Memory Layer For Your AI Apps",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
diff --git a/mem0-ts/src/client/mem0.types.ts b/mem0-ts/src/client/mem0.types.ts
index 7b448cfdf..bd1e9d911 100644
--- a/mem0-ts/src/client/mem0.types.ts
+++ b/mem0-ts/src/client/mem0.types.ts
@@ -24,6 +24,7 @@ export interface MemoryOptions {
timestamp?: number;
output_format?: string | OutputFormat;
async_mode?: boolean;
+ filter_memories?: boolean;
}
export interface ProjectOptions {