Add structured_data_schema to MemoryOptions interface (#3125)
This commit is contained in:
@@ -409,6 +409,11 @@ mode: "wide"
|
|||||||
|
|
||||||
<Tab title="TypeScript">
|
<Tab title="TypeScript">
|
||||||
|
|
||||||
|
<Update label="2025-07-08" description="v2.1.36">
|
||||||
|
**New Features:**
|
||||||
|
- **Client:** Added `structured_data_schema` param to `add` method.
|
||||||
|
</Update>
|
||||||
|
|
||||||
<Update label="2025-07-08" description="v2.1.35">
|
<Update label="2025-07-08" description="v2.1.35">
|
||||||
**New Features:**
|
**New Features:**
|
||||||
- **Client:** Added `createMemoryExport` and `getMemoryExport` methods.
|
- **Client:** Added `createMemoryExport` and `getMemoryExport` methods.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "mem0ai",
|
"name": "mem0ai",
|
||||||
"version": "2.1.35",
|
"version": "2.1.36",
|
||||||
"description": "The Memory Layer For Your AI Apps",
|
"description": "The Memory Layer For Your AI Apps",
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"module": "./dist/index.mjs",
|
"module": "./dist/index.mjs",
|
||||||
|
|||||||
@@ -31,6 +31,7 @@ export interface MemoryOptions {
|
|||||||
async_mode?: boolean;
|
async_mode?: boolean;
|
||||||
filter_memories?: boolean;
|
filter_memories?: boolean;
|
||||||
immutable?: boolean;
|
immutable?: boolean;
|
||||||
|
structured_data_schema?: Record<string, any>;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProjectOptions {
|
export interface ProjectOptions {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
// @ts-nocheck
|
// @ts-nocheck
|
||||||
import type { TelemetryClient, TelemetryOptions } from "./telemetry.types";
|
import type { TelemetryClient, TelemetryOptions } from "./telemetry.types";
|
||||||
|
|
||||||
let version = "2.1.35";
|
let version = "2.1.36";
|
||||||
|
|
||||||
// Safely check for process.env in different environments
|
// Safely check for process.env in different environments
|
||||||
let MEM0_TELEMETRY = true;
|
let MEM0_TELEMETRY = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user